From be2204851a08a6359bb035d55daa72b9184cceba Mon Sep 17 00:00:00 2001 From: Florian Fleissner Date: Thu, 4 Apr 2019 12:26:49 +0200 Subject: [PATCH] Made type KeyAddr globally available Signed-off-by: Florian Fleissner --- src/kaleidoscope/Kaleidoscope.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kaleidoscope/Kaleidoscope.h b/src/kaleidoscope/Kaleidoscope.h index 4217aac7..24b311db 100644 --- a/src/kaleidoscope/Kaleidoscope.h +++ b/src/kaleidoscope/Kaleidoscope.h @@ -48,6 +48,8 @@ extern HARDWARE_IMPLEMENTATION KeyboardHardware; #define KEYMAP(...) { PER_KEY_DATA(XXX, __VA_ARGS__) } #endif +typedef HARDWARE_IMPLEMENTATION::KeyAddr KeyAddr; + #define ROWS (KeyboardHardware.matrix_rows) #define COLS (KeyboardHardware.matrix_columns) #define LED_COUNT (KeyboardHardware.led_count)