|
|
@ -31,16 +31,6 @@ class GeminiPR : public kaleidoscope::Plugin {
|
|
|
|
|
|
|
|
|
|
|
|
EventHandlerResult onKeyswitchEvent(Key &mapped_key, byte row, byte col, uint8_t keyState);
|
|
|
|
EventHandlerResult onKeyswitchEvent(Key &mapped_key, byte row, byte col, uint8_t keyState);
|
|
|
|
|
|
|
|
|
|
|
|
#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API
|
|
|
|
|
|
|
|
kaleidoscope::EventHandlerResult onSetup() {
|
|
|
|
|
|
|
|
return kaleidoscope::EventHandlerResult::OK;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
void begin();
|
|
|
|
|
|
|
|
static Key legacyEventHandler(Key mapped_key, byte row, byte col, uint8_t key_state);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
static uint8_t keys_held_;
|
|
|
|
static uint8_t keys_held_;
|
|
|
|
static uint8_t state_[6];
|
|
|
|
static uint8_t state_[6];
|
|
|
|