]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
adb_usb: Add debug print for handler_id
authortmk <hasu@tmk-kbd.com>
Tue, 17 Apr 2018 01:55:29 +0000 (10:55 +0900)
committertmk <hasu@tmk-kbd.com>
Tue, 17 Apr 2018 01:55:29 +0000 (10:55 +0900)
converter/adb_usb/matrix.c

index 7b371c5bb535b650ae8dc5f373e6a5b5c4fa8c4b..966ccf5215f9c27a15777a7729af7587f43750ed 100644 (file)
@@ -76,6 +76,7 @@ void matrix_init(void)
         is_iso_layout = false;
         break;
     }
+    xprintf("hadler_id: %02X, is_iso_layout: %s\n", handler_id, (is_iso_layout ? "yes" : "no"));
 
     // Adjustable keyboard media keys: address=0x07 and handlerID=0x02
     has_media_keys = (0x02 == (adb_host_talk(ADB_ADDR_APPLIANCE, ADB_REG_3) & 0xff));