FIX: send last report when idle timeouts. (pjrc)
This commit is contained in:
parent
1a7c3585ed
commit
cec2549505
9 changed files with 23 additions and 9 deletions
2
adb_usb/Makefile
Normal file → Executable file
2
adb_usb/Makefile
Normal file → Executable file
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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) \
|
||||
)
|
||||
|
||||
|
||||
|
|
2
adb_usb/matrix.c
Normal file → Executable file
2
adb_usb/matrix.c
Normal file → Executable file
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue