]> git.friedersdorff.com Git - max/tmk_keyboard.git/log
max/tmk_keyboard.git
3 years agoMake a few more modifications to layout
Maximilian Friedersdorff [Mon, 12 Apr 2021 12:10:38 +0000 (13:10 +0100)]
Make a few more modifications to layout

3 years agoMove arrow keys over wasd
Maximilian Friedersdorff [Sun, 11 Apr 2021 10:01:40 +0000 (11:01 +0100)]
Move arrow keys over wasd

3 years agoAdd my keymap
Maximilian Friedersdorff [Sun, 11 Apr 2021 09:57:55 +0000 (10:57 +0100)]
Add my keymap

3 years agoMerge remote-tracking branch 'tmk/master'
Mark Sikora [Tue, 23 Mar 2021 17:19:56 +0000 (13:19 -0400)]
Merge remote-tracking branch 'tmk/master'

3 years agoadb_usb: Fix Power key mapping for Windows
tmk [Mon, 8 Feb 2021 06:32:11 +0000 (15:32 +0900)]
adb_usb: Fix Power key mapping for Windows

3 years agocore: Fix is_tap_key() #673
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.

3 years agoadb_usb: Fix for swap issue of LALT and LGUI
tmk [Thu, 28 Jan 2021 04:30:19 +0000 (13:30 +0900)]
adb_usb: Fix for swap issue of LALT and LGUI

3 years agoEnglish correction (#668)
Oliver Sandli [Sat, 30 Jan 2021 01:37:05 +0000 (19:37 -0600)]
English correction (#668)

See #667

3 years agocore: Update comments in keycode.h
tmk [Sun, 24 Jan 2021 06:44:03 +0000 (15:44 +0900)]
core: Update comments in keycode.h

3 years agoadb_usb: Update prebuilt firmware files
tmk [Sun, 24 Jan 2021 06:36:11 +0000 (15:36 +0900)]
adb_usb: Update prebuilt firmware files

3 years agoadb_usb: Use EQL for keypad = instead of PEQL
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

3 years agopc98_usb Update README and prebuilt firmware files
tmk [Sun, 17 Jan 2021 06:59:37 +0000 (15:59 +0900)]
pc98_usb Update README and prebuilt firmware files

3 years agopc98_usb: Add RDY pulse in response receive #666
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

3 years agopc98_usb: Add keyboard identify support
tmk [Sat, 16 Jan 2021 06:29:59 +0000 (15:29 +0900)]
pc98_usb: Add keyboard identify support

3 years agopc98_usb: Add debug prints
tmk [Sat, 16 Jan 2021 05:14:48 +0000 (14:14 +0900)]
pc98_usb: Add debug prints

3 years agoadb_usb: Add Apple ISO key support
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.

3 years agoadb_usb: Add scan code print
tmk [Mon, 4 Jan 2021 06:53:21 +0000 (15:53 +0900)]
adb_usb: Add scan code print

3 years agousb_usb: Update prebuilt firmware files
tmk [Thu, 24 Dec 2020 14:22:55 +0000 (23:22 +0900)]
usb_usb: Update prebuilt firmware files

3 years agousb_usb: Update USB_Host_Shield_2.0
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

3 years agoibmpc_usb: Fix comment of scan code mapping
tmk [Mon, 21 Dec 2020 06:35:44 +0000 (15:35 +0900)]
ibmpc_usb: Fix comment of scan code mapping

3 years agopc98_usb: Add prebuilt firmware files
tmk [Wed, 9 Dec 2020 04:16:03 +0000 (13:16 +0900)]
pc98_usb: Add prebuilt firmware files

4 years agoibmpc_usb: Update prebuilt firmware files
tmk [Sun, 22 Nov 2020 13:01:42 +0000 (22:01 +0900)]
ibmpc_usb: Update prebuilt firmware files

4 years agoibmpc_usb: Add info to debug print
tmk [Mon, 16 Nov 2020 02:32:53 +0000 (11:32 +0900)]
ibmpc_usb: Add info to debug print

4 years agoibmpc: Add adhoc fix for Z-150 AT send
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.

4 years agoibmpc_usb: Add Z-150 AT support
tmk [Mon, 16 Nov 2020 02:32:08 +0000 (11:32 +0900)]
ibmpc_usb: Add Z-150 AT support

4 years agoxt_usb: Remove prebuilt firmware file
tmk [Sat, 21 Nov 2020 19:32:23 +0000 (04:32 +0900)]
xt_usb: Remove prebuilt firmware file

4 years agoibmpc_usb: Update prebuilt firmware files
tmk [Sat, 21 Nov 2020 19:27:39 +0000 (04:27 +0900)]
ibmpc_usb: Update prebuilt firmware files

4 years agoxt_usb: Fix Pause of Code Set1(XT)
tmk [Tue, 17 Nov 2020 04:09:47 +0000 (13:09 +0900)]
xt_usb: Fix Pause of Code Set1(XT)

4 years agoibmpc_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

4 years agoMerge remote-tracking branch 'tmk/master'
Mark Sikora [Sun, 15 Nov 2020 20:42:11 +0000 (15:42 -0500)]
Merge remote-tracking branch 'tmk/master'

4 years agousb_usb: Update prebuilt firmware files
tmk [Sat, 7 Nov 2020 09:12:02 +0000 (18:12 +0900)]
usb_usb: Update prebuilt firmware files

4 years agocore: Fix TAP_KEY(CapsLock) for MacOS #659
tmk [Sat, 7 Nov 2020 05:59:16 +0000 (14:59 +0900)]
core: Fix TAP_KEY(CapsLock) for MacOS #659

4 years agocore: Clean up code of Locking key support
tmk [Sat, 7 Nov 2020 07:39:15 +0000 (16:39 +0900)]
core: Clean up code of Locking key support

4 years agousb_usb: Add Mechanical Locking key support
tmk [Sat, 7 Nov 2020 08:16:20 +0000 (17:16 +0900)]
usb_usb: Add Mechanical Locking key support

4 years agousb_usb: Update prebuilt firmware files
tmk [Thu, 5 Nov 2020 15:42:09 +0000 (00:42 +0900)]
usb_usb: Update prebuilt firmware files

4 years agousb_hid: Update and fix USB Host Shield lib
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

4 years agousb_usb: Update Makefile.debug
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

4 years agousb_hid: Update arduino cores to 1.8.13
tmk [Mon, 26 Oct 2020 18:47:40 +0000 (03:47 +0900)]
usb_hid: Update arduino cores to 1.8.13

4 years agousb_hid: Delete arduino cores 1.0.1
tmk [Mon, 26 Oct 2020 18:45:34 +0000 (03:45 +0900)]
usb_hid: Delete arduino cores 1.0.1

4 years agoxt_usb: Fix comment of scancode
tmk [Tue, 12 Nov 2019 02:28:49 +0000 (11:28 +0900)]
xt_usb: Fix comment of scancode

4 years agoibmpc: Fix XT reset comment and add inhibit_xt()
tmk [Mon, 26 Oct 2020 17:33:33 +0000 (02:33 +0900)]
ibmpc: Fix XT reset comment and add inhibit_xt()

4 years agoxt_usb: Fix XT soft reset
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

4 years agoMerge remote-tracking branch 'tmk/master'
Mark Sikora [Wed, 5 Aug 2020 04:53:13 +0000 (00:53 -0400)]
Merge remote-tracking branch 'tmk/master'

4 years agovusb: Fix keyboard_protocol and keyboard_idle #547
tmk [Mon, 27 Jul 2020 01:02:38 +0000 (10:02 +0900)]
vusb: Fix keyboard_protocol and keyboard_idle #547

4 years agoMerge remote-tracking branch 'tmk/master'
Mark Sikora [Mon, 6 Jul 2020 17:09:25 +0000 (13:09 -0400)]
Merge remote-tracking branch 'tmk/master'

4 years agoibmpc_usb: Update prebuilt firmware files
tmk [Sun, 5 Jul 2020 03:56:43 +0000 (12:56 +0900)]
ibmpc_usb: Update prebuilt firmware files

4 years agoibmpc: Change timeout period: 1.0ms to 2.0ms
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.

4 years agoMerge remote-tracking branch 'tmk/master'
Mark Sikora [Mon, 8 Jun 2020 19:52:01 +0000 (15:52 -0400)]
Merge remote-tracking branch 'tmk/master'

4 years agoMerge remote-tracking branch 'origin/ibmpc_timer0isr_fix'
tmk [Wed, 3 Jun 2020 03:35:47 +0000 (12:35 +0900)]
Merge remote-tracking branch 'origin/ibmpc_timer0isr_fix'

4 years agocore: Fix matrix_print()
tmk [Mon, 1 Jun 2020 15:57:37 +0000 (00:57 +0900)]
core: Fix matrix_print()

4 years agocore: Add default impl for led_set()
tmk [Sat, 30 May 2020 06:19:20 +0000 (15:19 +0900)]
core: Add default impl for led_set()

4 years agoibmpc: Update prebuilt firmware files
tmk [Fri, 22 May 2020 04:15:51 +0000 (13:15 +0900)]
ibmpc: Update prebuilt firmware files

4 years agocore: Make TIMER0 ISR noblock
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.

4 years agoibmpc: Add Z-150 AT protocol recognition
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

4 years agoibmpc: Fix 'Ack' check of sending data
tmk [Fri, 8 May 2020 12:32:41 +0000 (21:32 +0900)]
ibmpc: Fix 'Ack' check of sending data

4 years agoibmpc: Fix AT 'request to send' signaling
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|

4 years agoibmpc_usb: Add 'protocol change detection'
tmk [Tue, 12 May 2020 12:59:02 +0000 (21:59 +0900)]
ibmpc_usb: Add 'protocol change detection'

for better keybaord hotswap support

4 years agoibmpc_usb: Fix scan code set change detection
tmk [Tue, 12 May 2020 10:48:09 +0000 (19:48 +0900)]
ibmpc_usb: Fix scan code set change detection

4 years agoibmpc_usb: Update debug prints
tmk [Tue, 12 May 2020 09:57:57 +0000 (18:57 +0900)]
ibmpc_usb: Update debug prints

4 years agoibmpc_usb: Add AT_RESET with reset command 'FF'
tmk [Tue, 12 May 2020 09:56:24 +0000 (18:56 +0900)]
ibmpc_usb: Add AT_RESET with reset command 'FF'

4 years agoibmpc: Fix ibmpc_host_isr_clear()
tmk [Tue, 12 May 2020 09:51:39 +0000 (18:51 +0900)]
ibmpc: Fix ibmpc_host_isr_clear()

4 years agoibmpc: Add debug code for isr_state
tmk [Tue, 12 May 2020 09:50:21 +0000 (18:50 +0900)]
ibmpc: Add debug code for isr_state

4 years agoibmpc: Fix buffer full check
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.

4 years agoibmpc: Fix Timeout error
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.

4 years agoibmpc_usb: Fix led_set for XT keyobard
tmk [Tue, 12 May 2020 02:01:33 +0000 (11:01 +0900)]
ibmpc_usb: Fix led_set for XT keyobard

4 years agohhkb: Add keys for Display Brightness Control
tmk [Mon, 11 May 2020 12:59:33 +0000 (21:59 +0900)]
hhkb: Add keys for Display Brightness Control

4 years agocore: Add HID usage for Display Brightness Control
tmk [Mon, 11 May 2020 12:51:41 +0000 (21:51 +0900)]
core: Add HID usage for Display Brightness Control

4 years agoibmpc_usb: Update prebuilt firmware files
tmk [Mon, 11 May 2020 08:15:22 +0000 (17:15 +0900)]
ibmpc_usb: Update prebuilt firmware files

4 years agoibmpc_usb: Remove invalid code check in Code Set 1
tmk [Sun, 10 May 2020 15:45:32 +0000 (00:45 +0900)]
ibmpc_usb: Remove invalid code check in Code Set 1

4 years agoibmpc_usb: Update Overrun and buffer full handling(00, FF)
tmk [Sun, 10 May 2020 15:04:36 +0000 (00:04 +0900)]
ibmpc_usb: Update Overrun and buffer full handling(00, FF)

4 years agoibmpc: Update ERR_FF, ERR_FULL handling
tmk [Sun, 10 May 2020 12:59:16 +0000 (21:59 +0900)]
ibmpc: Update ERR_FF, ERR_FULL handling

4 years agoibmpc_usb: Fix led_set
tmk [Sun, 10 May 2020 03:07:17 +0000 (12:07 +0900)]
ibmpc_usb: Fix led_set

4 years agoibmpc_usb: Add protocol and isr_debug check
tmk [Mon, 11 May 2020 04:24:31 +0000 (13:24 +0900)]
ibmpc_usb: Add protocol and isr_debug check

4 years agoibmpc: Add ibmpc_isr_debug to see isr_state
tmk [Mon, 11 May 2020 04:22:06 +0000 (13:22 +0900)]
ibmpc: Add ibmpc_isr_debug to see isr_state

4 years agoibmpc: Add handling for erroneous start bit XT(IBM)
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.

4 years agoMerge branch 'interrupt_control_endpoint_fix'
tmk [Fri, 8 May 2020 13:47:29 +0000 (22:47 +0900)]
Merge branch 'interrupt_control_endpoint_fix'

4 years agoibm4704: Use INTERRUPT_CONTROL_ENDPOINT to debug prints
tmk [Sun, 29 Mar 2020 13:15:29 +0000 (22:15 +0900)]
ibm4704: Use INTERRUPT_CONTROL_ENDPOINT to debug prints

4 years agousb_usb: Remove hook_usb_startup_wait_loop
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.

4 years agoRemove INTERRUPT_CONTROL_ENDPOINT from converters
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.

4 years agolufa: Fix comment on INTERRUPT_CONTROL_ENDPOINT
tmk [Sat, 28 Mar 2020 12:55:20 +0000 (21:55 +0900)]
lufa: Fix comment on INTERRUPT_CONTROL_ENDPOINT

4 years agocore: ibmpc: Check response of set indicator command
tmk [Fri, 8 May 2020 12:30:41 +0000 (21:30 +0900)]
core: ibmpc: Check response of set indicator command

4 years agocore: ibmpc: Add comments on stop bit of Z-150 AT
tmk [Fri, 8 May 2020 12:31:50 +0000 (21:31 +0900)]
core: ibmpc: Add comments on stop bit of Z-150 AT

4 years agoibmpc_usb: Fix Code Set 2 for Z-150 SysRq
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.

4 years agoibmpc_usb: Fix Makefile
tmk [Wed, 6 May 2020 06:59:49 +0000 (15:59 +0900)]
ibmpc_usb: Fix Makefile

4 years agoibmpc_usb: Add keyboard id AB85, BFB0
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

4 years agocore: Add 'dude' makefile target for avrdude
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

4 years agoMerge remote-tracking branch 'tmk/master'
Mark Sikora [Mon, 4 May 2020 00:55:11 +0000 (20:55 -0400)]
Merge remote-tracking branch 'tmk/master'

4 years agoibmpc_usb: Update firmware files again
tmk [Tue, 28 Apr 2020 03:29:07 +0000 (12:29 +0900)]
ibmpc_usb: Update firmware files again

4 years agoibmpc_usb: Update prebuilt firmware files
tmk [Tue, 28 Apr 2020 03:20:44 +0000 (12:20 +0900)]
ibmpc_usb: Update prebuilt firmware files

4 years agoibmpc_usb: Add some comments
tmk [Tue, 28 Apr 2020 03:14:47 +0000 (12:14 +0900)]
ibmpc_usb: Add some comments

4 years agoibmpc_usb: Remove G80-2551 support from Code Set 2
tmk [Tue, 28 Apr 2020 03:07:19 +0000 (12:07 +0900)]
ibmpc_usb: Remove G80-2551 support from Code Set 2

4 years agoibmpc_usb: Add G80-2551 support in Code Set 3
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

4 years agoibmpc_usb: Add codes in Set 3
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

4 years agoibmpc_usb: Update prebuilt firmware hex files
tmk [Sun, 26 Apr 2020 14:35:59 +0000 (23:35 +0900)]
ibmpc_usb: Update prebuilt firmware hex files

4 years agoibmpc_usb: Add support for G80-2551
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

4 years agoibmpc_usb: Change key mapping for Code Set 3
tmk [Sun, 26 Apr 2020 06:34:03 +0000 (15:34 +0900)]
ibmpc_usb: Change key mapping for Code Set 3

4 years agoFix TIMER_DIFF #646
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

4 years agosun_usb: Add prebuilt firmware files
tmk [Thu, 9 Apr 2020 04:57:48 +0000 (13:57 +0900)]
sun_usb: Add prebuilt firmware files

4 years agosun_usb: Add Makefile for ATmega32U4
tmk [Thu, 9 Apr 2020 04:50:55 +0000 (13:50 +0900)]
sun_usb: Add Makefile for ATmega32U4

4 years agosun_usb: Update README and rename to .md
tmk [Wed, 8 Apr 2020 08:48:20 +0000 (17:48 +0900)]
sun_usb: Update README and rename to .md