keybrd library is an open source library for creating custom-keyboard firmware.
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Tento repozitář je archivovaný. Můžete prohlížet soubory, klonovat, ale nemůžete nahrávat a vytvářet nové úkoly a požadavky na natažení.
12345678910111213141516171819 |
- #ifndef KEY_LAYEREDKEYS_H
- #define KEY_LAYEREDKEYS_H
- #include <Arduino.h>
- #include <inttypes.h>
- #include "LayerStateInterface.h"
- #include "Key.h"
- #include "Key_LayeredKeysBase.h"
-
- /* Most of the Key_LayeredKeys functionality is in Key_LayeredKeysBase.
- */
- class Key_LayeredKeys : public Key_LayeredKeysBase
- {
- private:
- static LayerStateInterface& refLayerState;
- public:
- Key_LayeredKeys(Key* const ptrsKeys[]) : Key_LayeredKeysBase(ptrsKeys) {}
- virtual uint8_t getActiveLayer(); //get active layer from refLayerState
- };
- #endif
|