]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - keymap.h
add mouse function.
[tmk_firmware.git] / keymap.h
index bf6e47240428d119330fd95c4f420bbc81a4dd2f..6b95fb61f6e8595610cda068122153d50951b426 100644 (file)
--- a/keymap.h
+++ b/keymap.h
@@ -2,8 +2,12 @@
 #define KEYMAP_H 1
 
 #include <stdint.h>
-#include "usbkeycodes.h"
+#include "usb_keycodes.h"
 
-uint8_t get_keycode(uint8_t row, uint8_t col);
+int get_layer(void);
+uint8_t get_keycode(int layer, int row, int col);
+
+#define MATRIX_ROWS 9
+#define MATRIX_COLS 8
 
 #endif