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_LayeredKeys.cpp 227B

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