summaryrefslogtreecommitdiff
path: root/keymap.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-09-16 21:05:15 +0900
committertmk <nobody@nowhere>2010-09-16 21:05:15 +0900
commitf777960c7255b469f3daaec89b9808844f13bb88 (patch)
treef25da595aa030b9556d5a5106ac34f68bb9cadc3 /keymap.h
parent82309deefc21f66d92df08b8eecae8466939e04d (diff)
simple keymap layers.
Diffstat (limited to 'keymap.h')
-rw-r--r--keymap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keymap.h b/keymap.h
index 7a84ea31e6..a85b626c65 100644
--- a/keymap.h
+++ b/keymap.h
@@ -4,7 +4,8 @@
#include <stdint.h>
#include "usbkeycodes.h"
-uint8_t get_keycode(uint8_t row, uint8_t col);
+int get_layer(void);
+uint8_t get_keycode(int layer, uint8_t row, uint8_t col);
#define MATRIX_ROWS 9
#define MATRIX_COLS 8