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.

Code_LayerHoldShift.cpp 248B

12345678910111213
  1. #include "Code_LayerHoldShift.h"
  2. void Code_LayerHoldShift::press()
  3. {
  4. refLayerState.hold(layerId);
  5. refCodeShift.press();
  6. }
  7. void Code_LayerHoldShift::release()
  8. {
  9. refLayerState.unhold(layerId);
  10. refCodeShift.release();
  11. }