summaryrefslogtreecommitdiff
path: root/key_process.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-10-19 01:03:27 +0900
committertmk <nobody@nowhere>2010-10-19 01:03:27 +0900
commit9d7979931e0037fc5ddc77a2cb895eb055501f34 (patch)
treebed7080ff4375c04beb0526d423a71c88a5e3873 /key_process.c
parent54b5bafaacf0d7863b7bdb84dd69cbc80db77956 (diff)
FIX: clear keyboard_keys.
NOT change layer when one more Fn keys pressed/other than Fn key pressed
Diffstat (limited to 'key_process.c')
-rw-r--r--key_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/key_process.c b/key_process.c
index 0bce91883e..4a9e81b756 100644
--- a/key_process.c
+++ b/key_process.c
@@ -58,7 +58,7 @@ void proc_matrix(void) {
}
keyboard_modifier_keys = 0;
- for (int i = 0; i < 3; i++) keyboard_keys[i] = KB_NO;
+ for (int i = 0; i < 6; i++) keyboard_keys[i] = KB_NO;
key_index = 0;
mouse_btn = 0;
mouse_x = 0;