From cec254950509038ca9c805e87feea9091d77d29f Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 10 Mar 2011 00:50:27 +0900 Subject: FIX: send last report when idle timeouts. (pjrc) --- adb_usb/Makefile | 2 +- adb_usb/config.h | 4 ++-- adb_usb/matrix.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 adb_usb/Makefile mode change 100644 => 100755 adb_usb/matrix.c (limited to 'adb_usb') diff --git a/adb_usb/Makefile b/adb_usb/Makefile old mode 100644 new mode 100755 index 61e43a72f..92b9ba1a9 --- 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 ea78dd9bd..adc76bd52 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 old mode 100644 new mode 100755 index 72515dce2..db202896f --- 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; -- cgit v1.2.3-24-g4f1b