Make the `updateKey` method public

It can be useful for other plugins that want to update the EEPROM
keymap.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/365/head
Gergely Nagy 8 years ago
parent b766ad6c4d
commit 0f3dddae98

@ -36,11 +36,12 @@ namespace KaleidoscopePlugins {
static bool focusKeymap (const char *command); static bool focusKeymap (const char *command);
static bool focusKeymapTransfer (const char *command); static bool focusKeymapTransfer (const char *command);
static void updateKey (uint16_t basePos, Key key);
private: private:
static uint16_t keymapBase; static uint16_t keymapBase;
static uint8_t maxLayers; static uint8_t maxLayers;
static void updateKey (uint16_t basePos, Key key);
static Key parseKey (void); static Key parseKey (void);
static void printKey (Key key); static void printKey (Key key);
}; };

Loading…
Cancel
Save