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_LayerHold.cpp 175B

1234567891011
  1. #include "Code_LayerHold.h"
  2. void Code_LayerHold::press()
  3. {
  4. refStateLayers.hold(layer);
  5. }
  6. void Code_LayerHold::release()
  7. {
  8. refStateLayers.unhold(layer);
  9. }