]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
xt_usb: Fix Pause of Code Set1(XT)
authortmk <hasu@tmk-kbd.com>
Tue, 17 Nov 2020 04:09:47 +0000 (13:09 +0900)
committertmk <hasu@tmk-kbd.com>
Sat, 21 Nov 2020 19:21:16 +0000 (04:21 +0900)
converter/xt_usb/matrix.c

index 1123b11f24d9e4ff93d82bfabeae88e28afba33e..e838141fe5a1c7e71ab3c24b9e50174251e3071e 100644 (file)
@@ -144,6 +144,7 @@ uint8_t matrix_scan(void)
             switch (code) {
                 case 0x45:
                     matrix_make(0x55);
+                    state = INIT;
                     break;
                 default:
                     state = INIT;
@@ -152,8 +153,9 @@ uint8_t matrix_scan(void)
             break;
         case E1_9D:
             switch (code) {
-                case 0x45:
+                case 0xC5:
                     matrix_break(0x55);
+                    state = INIT;
                     break;
                 default:
                     state = INIT;