keybrd library is an open source library for creating custom-keyboard firmware.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

Key_LayeredKeysBase.cpp 225B

12345678910111213
  1. #include "Key_LayeredKeysBase.h"
  2. void Key_LayeredKeysBase::press()
  3. {
  4. layerId = getActiveLayer();
  5. ptrsKeys[layerId]->press();
  6. }
  7. void Key_LayeredKeysBase::release()
  8. {
  9. ptrsKeys[layerId]->release();
  10. }