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.
Kaleidoscope/src/Kaleidoscope-NumPad.h

30 lines
586 B

#pragma once
#include "Kaleidoscope-LEDControl.h"
#include "Kaleidoscope-Macros.h"
#include "LEDUtils.h"
class NumPad_ : public kaleidoscope::Plugin {
public:
7 years ago
NumPad_(void) {}
static uint8_t numPadLayer;
static cRGB color;
kaleidoscope::EventHandlerResult onSetup(void);
kaleidoscope::EventHandlerResult afterEachCycle();
#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API
protected:
void begin();
static void legacyLoopHook(bool is_post_clear);
#endif
private:
static byte row, col;
static bool cleanupDone;
static bool originalNumLockState;
};
7 years ago
extern NumPad_ NumPad;