From 9d7979931e0037fc5ddc77a2cb895eb055501f34 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 19 Oct 2010 01:03:27 +0900 Subject: FIX: clear keyboard_keys. NOT change layer when one more Fn keys pressed/other than Fn key pressed --- hhkb/keymap.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'hhkb/keymap.c') diff --git a/hhkb/keymap.c b/hhkb/keymap.c index d7e6bbe3be..572f530b93 100644 --- a/hhkb/keymap.c +++ b/hhkb/keymap.c @@ -152,12 +152,17 @@ int get_layer(void) { for (int col = 0; col < MATRIX_ROWS; col++) { if (matrix[row] & 1<