From 9d7979931e0037fc5ddc77a2cb895eb055501f34 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 19 Oct 2010 01:03:27 +0900 Subject: [PATCH] FIX: clear keyboard_keys. NOT change layer when one more Fn keys pressed/other than Fn key pressed --- hhkb/keymap.c | 13 +++++++++---- key_process.c | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/hhkb/keymap.c b/hhkb/keymap.c index d7e6bbe3..572f530b 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<