diff options
author | Florian Fleissner <florian.fleissner@inpartik.de> | 2019-11-12 18:15:37 +0100 |
---|---|---|
committer | Florian Fleissner <florian.fleissner@inpartik.de> | 2019-11-12 18:15:37 +0100 |
commit | 25d21b6386144e499ed3aba86e80d263e49e3784 (patch) | |
tree | e928eb7895b4e632ca566ccbc132a3a6e7a989ea | |
parent | 4299824b114a001fd74ae790669ff0d39563d62d (diff) | |
download | Model01-Firmware-25d21b6386144e499ed3aba86e80d263e49e3784.tar.gz Model01-Firmware-25d21b6386144e499ed3aba86e80d263e49e3784.zip |
Adapted the sketch to changes in the Key API
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
-rw-r--r-- | Model01-Firmware.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index f30171d..32623c3 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -305,7 +305,7 @@ static void anyKeyMacro(uint8_t keyState) { static Key lastKey; bool toggledOn = false; if (keyToggledOn(keyState)) { - lastKey.keyCode = Key_A.keyCode + (uint8_t)(millis() % 36); + lastKey.setKeyCode(Key_A.getKeyCode() + (uint8_t)(millis() % 36)); toggledOn = true; } |