aboutsummaryrefslogtreecommitdiffstats
path: root/common/keyboard.h
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2012-12-16 02:32:07 +0900
committerGravatar tmk <nobody@nowhere>2012-12-16 02:32:07 +0900
commit8a709c2750eab09ec0f83450410a13640931d48e (patch)
tree224bcea716521704d63993ed54917152a6bf046e /common/keyboard.h
parent77f157943f4e083fb9f1eaa0a55078b128842458 (diff)
downloadqmk_firmware-8a709c2750eab09ec0f83450410a13640931d48e.tar.gz
Add initial fix for new keymap.
Diffstat (limited to 'common/keyboard.h')
-rw-r--r--common/keyboard.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/keyboard.h b/common/keyboard.h
index 2353805e1..37df6a4de 100644
--- a/common/keyboard.h
+++ b/common/keyboard.h
@@ -29,10 +29,10 @@ extern "C" {
typedef struct {
uint8_t row;
uint8_t col;
-} key_t;
+} keypos_t;
typedef struct {
- key_t key;
+ keypos_t key;
bool pressed;
} keyevent_t;
@@ -45,7 +45,6 @@ typedef struct {
#define KEYEQ(keya, keyb) (keya.row == keyb.row && keya.col == keyb.col)
-
extern uint8_t current_layer;
extern uint8_t default_layer;