]>
git.friedersdorff.com Git - max/tmk_keyboard.git/log
Mark Sikora [Tue, 23 Mar 2021 17:19:56 +0000 (13:19 -0400)]
Merge remote-tracking branch 'tmk/master'
tmk [Mon, 8 Feb 2021 06:32:11 +0000 (15:32 +0900)]
adb_usb: Fix Power key mapping for Windows
tmk [Mon, 8 Feb 2021 07:22:55 +0000 (16:22 +0900)]
core: Fix is_tap_key() #673
System and media control keys work well with
ACTION_MODS_TAP_KEY and ACTION_LAYER_TAP_KEY now.
tmk [Thu, 28 Jan 2021 04:30:19 +0000 (13:30 +0900)]
adb_usb: Fix for swap issue of LALT and LGUI
Oliver Sandli [Sat, 30 Jan 2021 01:37:05 +0000 (19:37 -0600)]
English correction (#668)
See #667
tmk [Sun, 24 Jan 2021 06:44:03 +0000 (15:44 +0900)]
core: Update comments in keycode.h
tmk [Sun, 24 Jan 2021 06:36:11 +0000 (15:36 +0900)]
adb_usb: Update prebuilt firmware files
tmk [Sun, 24 Jan 2021 06:28:17 +0000 (15:28 +0900)]
adb_usb: Use EQL for keypad = instead of PEQL
PEQL is not supported on Windows #238
tmk [Sun, 17 Jan 2021 06:59:37 +0000 (15:59 +0900)]
pc98_usb Update README and prebuilt firmware files
tmk [Sat, 16 Jan 2021 14:31:22 +0000 (23:31 +0900)]
pc98_usb: Add RDY pulse in response receive #666
RDY high pulse(>=37us) is required to allow keyboard to send next data.
https://archive.org/stream/PC9800TechnicalDataBookHARDWARE1993/PC-9800TechnicalDataBook_HARDWARE1993#page/n157
tmk [Sat, 16 Jan 2021 06:29:59 +0000 (15:29 +0900)]
pc98_usb: Add keyboard identify support
tmk [Sat, 16 Jan 2021 05:14:48 +0000 (14:14 +0900)]
pc98_usb: Add debug prints
tmk [Mon, 4 Jan 2021 13:00:08 +0000 (22:00 +0900)]
adb_usb: Add Apple ISO key support
Scan code 2A of Apple ISO is translated to 70 and mapped to NUHS.
And rewrite UNIMAP_ADB() based on ADB scan codes.
tmk [Mon, 4 Jan 2021 06:53:21 +0000 (15:53 +0900)]
adb_usb: Add scan code print
tmk [Thu, 24 Dec 2020 14:22:55 +0000 (23:22 +0900)]
usb_usb: Update prebuilt firmware files
tmk [Thu, 24 Dec 2020 14:19:36 +0000 (23:19 +0900)]
usb_usb: Update USB_Host_Shield_2.0
Fix for STALL at GET DESCRIPTOR(CONFIGURATION)
https://github.com/tmk/USB_Host_Shield_2.0/issues/4
tmk [Mon, 21 Dec 2020 06:35:44 +0000 (15:35 +0900)]
ibmpc_usb: Fix comment of scan code mapping
tmk [Wed, 9 Dec 2020 04:16:03 +0000 (13:16 +0900)]
pc98_usb: Add prebuilt firmware files
tmk [Sun, 22 Nov 2020 13:01:42 +0000 (22:01 +0900)]
ibmpc_usb: Update prebuilt firmware files
tmk [Mon, 16 Nov 2020 02:32:53 +0000 (11:32 +0900)]
ibmpc_usb: Add info to debug print
tmk [Mon, 16 Nov 2020 03:46:01 +0000 (12:46 +0900)]
ibmpc: Add adhoc fix for Z-150 AT send
This is not confirmed yet, test report is needed.
tmk [Mon, 16 Nov 2020 02:32:08 +0000 (11:32 +0900)]
ibmpc_usb: Add Z-150 AT support
tmk [Sat, 21 Nov 2020 19:32:23 +0000 (04:32 +0900)]
xt_usb: Remove prebuilt firmware file
tmk [Sat, 21 Nov 2020 19:27:39 +0000 (04:27 +0900)]
ibmpc_usb: Update prebuilt firmware files
tmk [Tue, 17 Nov 2020 04:09:47 +0000 (13:09 +0900)]
xt_usb: Fix Pause of Code Set1(XT)
tmk [Tue, 17 Nov 2020 03:55:10 +0000 (12:55 +0900)]
ibmpc_usb: Fix Pause of Code Set1(XT)
https://geekhack.org/index.php?topic=17458.msg2980704#msg2980704
Mark Sikora [Sun, 15 Nov 2020 20:42:11 +0000 (15:42 -0500)]
Merge remote-tracking branch 'tmk/master'
tmk [Sat, 7 Nov 2020 09:12:02 +0000 (18:12 +0900)]
usb_usb: Update prebuilt firmware files
tmk [Sat, 7 Nov 2020 05:59:16 +0000 (14:59 +0900)]
core: Fix TAP_KEY(CapsLock) for MacOS #659
tmk [Sat, 7 Nov 2020 07:39:15 +0000 (16:39 +0900)]
core: Clean up code of Locking key support
tmk [Sat, 7 Nov 2020 08:16:20 +0000 (17:16 +0900)]
usb_usb: Add Mechanical Locking key support
tmk [Thu, 5 Nov 2020 15:42:09 +0000 (00:42 +0900)]
usb_usb: Update prebuilt firmware files
tmk [Sat, 31 Oct 2020 10:29:33 +0000 (19:29 +0900)]
usb_hid: Update and fix USB Host Shield lib
- Fix TOGGLE Error
- Fix HUBPRE
- Update from upstream repo
tmk [Thu, 22 Oct 2020 13:10:30 +0000 (22:10 +0900)]
usb_usb: Update Makefile.debug
enable debug print on USB Host lib and disable on LUFA
tmk [Mon, 26 Oct 2020 18:47:40 +0000 (03:47 +0900)]
usb_hid: Update arduino cores to 1.8.13
tmk [Mon, 26 Oct 2020 18:45:34 +0000 (03:45 +0900)]
usb_hid: Delete arduino cores 1.0.1
tmk [Tue, 12 Nov 2019 02:28:49 +0000 (11:28 +0900)]
xt_usb: Fix comment of scancode
tmk [Mon, 26 Oct 2020 17:33:33 +0000 (02:33 +0900)]
ibmpc: Fix XT reset comment and add inhibit_xt()
tmk [Mon, 26 Oct 2020 17:15:42 +0000 (02:15 +0900)]
xt_usb: Fix XT soft reset
Data line should be hi while Clock line is low
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-XT-Keyboard-Protocol#keyboard-soft-reset
Mark Sikora [Wed, 5 Aug 2020 04:53:13 +0000 (00:53 -0400)]
Merge remote-tracking branch 'tmk/master'
tmk [Mon, 27 Jul 2020 01:02:38 +0000 (10:02 +0900)]
vusb: Fix keyboard_protocol and keyboard_idle #547
Mark Sikora [Mon, 6 Jul 2020 17:09:25 +0000 (13:09 -0400)]
Merge remote-tracking branch 'tmk/master'
tmk [Sun, 5 Jul 2020 03:56:43 +0000 (12:56 +0900)]
ibmpc_usb: Update prebuilt firmware files
tmk [Sun, 5 Jul 2020 03:40:16 +0000 (12:40 +0900)]
ibmpc: Change timeout period: 1.0ms to 2.0ms
Timeout error *could*(not always) detects when signal sequence takes beyond 1.0ms.
Now this gives 2.0ms window at least to read signal sequence.
Mark Sikora [Mon, 8 Jun 2020 19:52:01 +0000 (15:52 -0400)]
Merge remote-tracking branch 'tmk/master'
tmk [Wed, 3 Jun 2020 03:35:47 +0000 (12:35 +0900)]
Merge remote-tracking branch 'origin/ibmpc_timer0isr_fix'
tmk [Mon, 1 Jun 2020 15:57:37 +0000 (00:57 +0900)]
core: Fix matrix_print()
tmk [Sat, 30 May 2020 06:19:20 +0000 (15:19 +0900)]
core: Add default impl for led_set()
tmk [Fri, 22 May 2020 04:15:51 +0000 (13:15 +0900)]
ibmpc: Update prebuilt firmware files
tmk [Thu, 21 May 2020 06:41:34 +0000 (15:41 +0900)]
core: Make TIMER0 ISR noblock
The TIMER0 ISR takes 1.5us and can affect IBMPC protocol ISR.
Add ISR_NOBLOCK to allow interrupt during TIMER0 ISR.
tmk [Wed, 13 May 2020 14:34:42 +0000 (23:34 +0900)]
ibmpc: Add Z-150 AT protocol recognition
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#zenith-z-150-beige
tmk [Fri, 8 May 2020 12:32:41 +0000 (21:32 +0900)]
ibmpc: Fix 'Ack' check of sending data
tmk [Wed, 13 May 2020 13:32:14 +0000 (22:32 +0900)]
ibmpc: Fix AT 'request to send' signaling
Without this fix Realforce 101 PS/2 fails to receive 'set indicator'
command sometimes when pressing Caps Lock and some keys simultaneously.
before fix:
____ ______
clock \___/
________
data \_______
| 100|
after fix:
____ __
clock \________/
________
data \_______
| 100| 100|
tmk [Tue, 12 May 2020 12:59:02 +0000 (21:59 +0900)]
ibmpc_usb: Add 'protocol change detection'
for better keybaord hotswap support
tmk [Tue, 12 May 2020 10:48:09 +0000 (19:48 +0900)]
ibmpc_usb: Fix scan code set change detection
tmk [Tue, 12 May 2020 09:57:57 +0000 (18:57 +0900)]
ibmpc_usb: Update debug prints
tmk [Tue, 12 May 2020 09:56:24 +0000 (18:56 +0900)]
ibmpc_usb: Add AT_RESET with reset command 'FF'
tmk [Tue, 12 May 2020 09:51:39 +0000 (18:51 +0900)]
ibmpc: Fix ibmpc_host_isr_clear()
tmk [Tue, 12 May 2020 09:50:21 +0000 (18:50 +0900)]
ibmpc: Add debug code for isr_state
tmk [Tue, 12 May 2020 09:28:07 +0000 (18:28 +0900)]
ibmpc: Fix buffer full check
recv_data should appear to as 'sstt' when it is full with two data.
Both upper and lower byte should be checked.
tmk [Tue, 12 May 2020 09:21:40 +0000 (18:21 +0900)]
ibmpc: Fix Timeout error
Timeout error may be recoverable but may not in some situations.
For safety it is handled as a real error to start keyboard
recognition again.
tmk [Tue, 12 May 2020 02:01:33 +0000 (11:01 +0900)]
ibmpc_usb: Fix led_set for XT keyobard
tmk [Mon, 11 May 2020 12:59:33 +0000 (21:59 +0900)]
hhkb: Add keys for Display Brightness Control
tmk [Mon, 11 May 2020 12:51:41 +0000 (21:51 +0900)]
core: Add HID usage for Display Brightness Control
tmk [Mon, 11 May 2020 08:15:22 +0000 (17:15 +0900)]
ibmpc_usb: Update prebuilt firmware files
tmk [Sun, 10 May 2020 15:45:32 +0000 (00:45 +0900)]
ibmpc_usb: Remove invalid code check in Code Set 1
tmk [Sun, 10 May 2020 15:04:36 +0000 (00:04 +0900)]
ibmpc_usb: Update Overrun and buffer full handling(00, FF)
tmk [Sun, 10 May 2020 12:59:16 +0000 (21:59 +0900)]
ibmpc: Update ERR_FF, ERR_FULL handling
tmk [Sun, 10 May 2020 03:07:17 +0000 (12:07 +0900)]
ibmpc_usb: Fix led_set
tmk [Mon, 11 May 2020 04:24:31 +0000 (13:24 +0900)]
ibmpc_usb: Add protocol and isr_debug check
tmk [Mon, 11 May 2020 04:22:06 +0000 (13:22 +0900)]
ibmpc: Add ibmpc_isr_debug to see isr_state
tmk [Sun, 22 Mar 2020 04:08:57 +0000 (13:08 +0900)]
ibmpc: Add handling for erroneous start bit XT(IBM)
This is **not perferred** if it is evitable.
It allows to read start(0) as 1 wrongly at cost of 100us wait.
tmk [Fri, 8 May 2020 13:47:29 +0000 (22:47 +0900)]
Merge branch 'interrupt_control_endpoint_fix'
tmk [Sun, 29 Mar 2020 13:15:29 +0000 (22:15 +0900)]
ibm4704: Use INTERRUPT_CONTROL_ENDPOINT to debug prints
tmk [Sun, 29 Mar 2020 05:37:55 +0000 (14:37 +0900)]
usb_usb: Remove hook_usb_startup_wait_loop
matrix_scan in hook_usb_startup_wait_loop is not required for
FC660C since commit dd7b75: SOF timing fix of USB_Host_Shield_2.0.
Without INTERRUPT_CONTROL_ENDPOINT the matrix_scan blocks around 2300ms
and prevents getting USB configured. In the result console_putc
starts sending before hid_listen is ready and chars are lost.
console_is_ready delay value should be around 5000ms if matrix_scan
is needed in hook_usb_startup_wait_loop.
tmk [Sat, 28 Mar 2020 12:56:54 +0000 (21:56 +0900)]
Remove INTERRUPT_CONTROL_ENDPOINT from converters
The LUFA feature can prevent converter's ISR from handing signal instantly.
The interrupt can block a while for Standard Device Requests and 500-1000us
for keyboard LED report.
tmk [Sat, 28 Mar 2020 12:55:20 +0000 (21:55 +0900)]
lufa: Fix comment on INTERRUPT_CONTROL_ENDPOINT
tmk [Fri, 8 May 2020 12:30:41 +0000 (21:30 +0900)]
core: ibmpc: Check response of set indicator command
tmk [Fri, 8 May 2020 12:31:50 +0000 (21:31 +0900)]
core: ibmpc: Add comments on stop bit of Z-150 AT
tmk [Sat, 2 May 2020 06:46:16 +0000 (15:46 +0900)]
ibmpc_usb: Fix Code Set 2 for Z-150 SysRq
Zenith Z-150 AT sends scan code 0x7F for SysRq.
Accoding to i8042 translation table it maps both 0x7F and
0x84 into 0x54(Print Screen).
https://geekhack.org/index.php?topic=103648.msg2897404#msg2897404
Swap MUTE and PSCR in unimap_cs2.
tmk [Wed, 6 May 2020 06:59:49 +0000 (15:59 +0900)]
ibmpc_usb: Fix Makefile
tmk [Wed, 6 May 2020 06:54:52 +0000 (15:54 +0900)]
ibmpc_usb: Add keyboard id AB85, BFB0
Other 122-key Teminals and IBM RT
tmk [Wed, 6 May 2020 00:36:28 +0000 (09:36 +0900)]
core: Add 'dude' makefile target for avrdude
Run like `make dude DEV=/dev/ttyACM0` to program
Arduino such as Pro Micro and Leonardo
Mark Sikora [Mon, 4 May 2020 00:55:11 +0000 (20:55 -0400)]
Merge remote-tracking branch 'tmk/master'
tmk [Tue, 28 Apr 2020 03:29:07 +0000 (12:29 +0900)]
ibmpc_usb: Update firmware files again
tmk [Tue, 28 Apr 2020 03:20:44 +0000 (12:20 +0900)]
ibmpc_usb: Update prebuilt firmware files
tmk [Tue, 28 Apr 2020 03:14:47 +0000 (12:14 +0900)]
ibmpc_usb: Add some comments
tmk [Tue, 28 Apr 2020 03:07:19 +0000 (12:07 +0900)]
ibmpc_usb: Remove G80-2551 support from Code Set 2
tmk [Tue, 28 Apr 2020 02:59:20 +0000 (11:59 +0900)]
ibmpc_usb: Add G80-2551 support in Code Set 3
https://deskthority.net/wiki/Cherry_G80-2551
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#g80-2551-in-code-set-3
https://geekhack.org/index.php?topic=103648.msg2894921#msg2894921
tmk [Mon, 27 Apr 2020 09:44:34 +0000 (18:44 +0900)]
ibmpc_usb: Add codes in Set 3
GUI, Application, Henkan, Mehenkan, Kana used in PS/2 PC
keyboard when it is switched to Set 3
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#g80-3600-and-skidata2-de-in-code-set-3
tmk [Sun, 26 Apr 2020 14:35:59 +0000 (23:35 +0900)]
ibmpc_usb: Update prebuilt firmware hex files
tmk [Sat, 25 Apr 2020 02:10:19 +0000 (11:10 +0900)]
ibmpc_usb: Add support for G80-2551
Support for extra keys around cursor keys
https://deskthority.net/wiki/Cherry_G80-2551
https://geekhack.org/index.php?topic=103648.msg2893404#msg2893404
https://gist.github.com/tmk/
22cb8680ca8ef854630ecd1953268c5b
tmk [Sun, 26 Apr 2020 06:34:03 +0000 (15:34 +0900)]
ibmpc_usb: Change key mapping for Code Set 3
tmk [Tue, 14 Apr 2020 00:44:30 +0000 (09:44 +0900)]
Fix TIMER_DIFF #646
Merge branch 'timer_diff_fixes' of https://github.com/purdeaandrei/tmk_keyboard into purdeaandrei-timer_diff_fixes
tmk [Thu, 9 Apr 2020 04:57:48 +0000 (13:57 +0900)]
sun_usb: Add prebuilt firmware files
tmk [Thu, 9 Apr 2020 04:50:55 +0000 (13:50 +0900)]
sun_usb: Add Makefile for ATmega32U4
tmk [Wed, 8 Apr 2020 08:48:20 +0000 (17:48 +0900)]
sun_usb: Update README and rename to .md
tmk [Wed, 8 Apr 2020 05:53:10 +0000 (14:53 +0900)]
sun_usb: Add unimap support
Mark Sikora [Mon, 6 Apr 2020 15:21:23 +0000 (11:21 -0400)]
Merge remote-tracking branch 'tmk/master'
Purdea Andrei [Wed, 1 Apr 2020 04:46:18 +0000 (07:46 +0300)]
tmk_core/common/timer.h: Improve code generation for TIMER_DIFF* macros
Because of integer promotion the compiler is having a hard time generating
efficient code to calculate TIMER_DIFF* macros in some situations.
In the below example, the return value is "int", and this is causing the
trouble.
Example C code:
int __attribute__ ((noinline)) test(uint8_t current_timer, uint8_t start_timer)
{
return TIMER_DIFF_8(current_timer, start_timer);
}
BEFORE: (with -Os)
00004c40 <test>:
4c40: 28 2f mov r18, r24
4c42: 30 e0 ldi r19, 0x00 ; 0
4c44: 46 2f mov r20, r22
4c46: 50 e0 ldi r21, 0x00 ; 0
4c48: 86 17 cp r24, r22
4c4a: 20 f0 brcs .+8 ; 0x4c54 <test+0x14>
4c4c: c9 01 movw r24, r18
4c4e: 84 1b sub r24, r20
4c50: 95 0b sbc r25, r21
4c52: 08 95 ret
4c54: c9 01 movw r24, r18
4c56: 84 1b sub r24, r20
4c58: 95 0b sbc r25, r21
4c5a: 93 95 inc r25
4c5c: 08 95 ret
AFTER: (with -Os)
00004c40 <test>:
4c40: 86 1b sub r24, r22
4c42: 90 e0 ldi r25, 0x00 ; 0
4c44: 08 95 ret
Note: the example is showing -Os but improvements can be seen at all optimization levels,
including -O0. We never use -O0, but I tested it to make sure that no extra code is
generated in that case.