diff options
author | tmk <nobody@nowhere> | 2011-03-10 00:50:27 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-03-10 11:17:54 +0900 |
commit | cec254950509038ca9c805e87feea9091d77d29f (patch) | |
tree | c4f542b18dc080e32508aced1ee0ccce5cbf3a53 /adb_usb | |
parent | 1a7c3585ed9a68099e371b3180a404dd5d08ce1a (diff) |
FIX: send last report when idle timeouts. (pjrc)
Diffstat (limited to 'adb_usb')
-rwxr-xr-x[-rw-r--r--] | adb_usb/Makefile | 2 | ||||
-rw-r--r-- | adb_usb/config.h | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | adb_usb/matrix.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/adb_usb/Makefile b/adb_usb/Makefile index 61e43a72fd..92b9ba1a93 100644..100755 --- a/adb_usb/Makefile +++ b/adb_usb/Makefile @@ -44,7 +44,7 @@ USB_EXTRA_ENABLE = yes # Enhanced feature for Windows(Audio control and System c #---------------- Programming Options -------------------------- -PROGRAM_CMD = teensy_loader_cli.exe -mmcu=$(MCU) -w -v $(TARGET).hex +PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex diff --git a/adb_usb/config.h b/adb_usb/config.h index ea78dd9bdb..adc76bd522 100644 --- a/adb_usb/config.h +++ b/adb_usb/config.h @@ -17,8 +17,8 @@ /* key combination for command */ #define IS_COMMAND() ( \ - keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \ - keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \ + keyboard_report->mods == (BIT_LSHIFT | BIT_LCTRL | BIT_LALT | BIT_LGUI) || \ + keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) \ ) diff --git a/adb_usb/matrix.c b/adb_usb/matrix.c index 72515dce23..db202896f5 100644..100755 --- a/adb_usb/matrix.c +++ b/adb_usb/matrix.c @@ -87,7 +87,7 @@ uint8_t matrix_scan(void) _register_key(key1); } - if (debug_matrix && matrix_is_modified()) { + if (debug_enable) { print("adb_host_kbd_recv: "); phex16(codes); print("\n"); } return 1; |