keybrd library is an open source library for creating custom-keyboard firmware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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. }