]> git.friedersdorff.com Git - max/tmk_keyboard.git/log
max/tmk_keyboard.git
4 years agoibmpc_usb: Update firmware binary
tmk [Mon, 2 Mar 2020 05:32:51 +0000 (14:32 +0900)]
ibmpc_usb: Update firmware binary

4 years agoibmpc_usb: Change keymap for application key
tmk [Mon, 2 Mar 2020 05:21:54 +0000 (14:21 +0900)]
ibmpc_usb: Change keymap for application key

4 years agoibmpc: Fix debug print
tmk [Mon, 2 Mar 2020 05:11:16 +0000 (14:11 +0900)]
ibmpc: Fix debug print

4 years agoibmpc_usb: Check overrun error for CS2 and CS3
tmk [Mon, 2 Mar 2020 05:10:27 +0000 (14:10 +0900)]
ibmpc_usb: Check overrun error for CS2 and CS3

4 years agoibmpc_usb: Check invalid code for CS1
tmk [Mon, 2 Mar 2020 03:23:15 +0000 (12:23 +0900)]
ibmpc_usb: Check invalid code for CS1

4 years agoibmpc: Protocol detection between AT and XT
tmk [Mon, 2 Mar 2020 02:02:48 +0000 (11:02 +0900)]
ibmpc: Protocol detection between AT and XT

4 years agoibmpc: Check buffer full and error code FF
tmk [Sun, 1 Mar 2020 16:48:11 +0000 (01:48 +0900)]
ibmpc: Check buffer full and error code FF

4 years agoibmpc: Fix comments
tmk [Sun, 1 Mar 2020 16:21:04 +0000 (01:21 +0900)]
ibmpc: Fix comments

4 years agoibmpc: Add timeout check
tmk [Sun, 1 Mar 2020 15:14:09 +0000 (00:14 +0900)]
ibmpc: Add timeout check

4 years agoibmpc_usb: Wait BAT(AA) code forever
tmk [Sun, 1 Mar 2020 14:33:29 +0000 (23:33 +0900)]
ibmpc_usb: Wait BAT(AA) code forever

4 years agoibmpc_usb: Error recovery with invalid scan code
tmk [Sun, 1 Mar 2020 14:23:55 +0000 (23:23 +0900)]
ibmpc_usb: Error recovery with invalid scan code

4 years agoibmpc: Refactor code
tmk [Fri, 24 Jan 2020 14:19:18 +0000 (23:19 +0900)]
ibmpc: Refactor code

4 years agoibmpc: Fix debug print and wait time
tmk [Fri, 24 Jan 2020 13:39:58 +0000 (22:39 +0900)]
ibmpc: Fix debug print and wait time

4 years agoibmpc_usb: Fix init code not to block main loop
tmk [Fri, 24 Jan 2020 13:26:30 +0000 (22:26 +0900)]
ibmpc_usb: Fix init code not to block main loop

blocking loop prevents console output at startup

4 years agoibmpc: Add two-byte buffer for data received
tmk [Thu, 23 Jan 2020 18:20:14 +0000 (03:20 +0900)]
ibmpc: Add two-byte buffer for data received

4 years agoibmpc: Fix stop bit check code in ISR
tmk [Thu, 23 Jan 2020 15:44:27 +0000 (00:44 +0900)]
ibmpc: Fix stop bit check code in ISR

removing function call makes prologue/epilogue shorter

4 years agoibmpc_usb: Fix hard reset code
tmk [Thu, 23 Jan 2020 14:40:04 +0000 (23:40 +0900)]
ibmpc_usb: Fix hard reset code

4 years agoibmpc: Change ISR code
tmk [Thu, 23 Jan 2020 14:36:52 +0000 (23:36 +0900)]
ibmpc: Change ISR code

It reads data line within 3us

4 years agoibm_usb: Fix interrupt enable macro
tmk [Thu, 23 Jan 2020 08:10:23 +0000 (17:10 +0900)]
ibm_usb: Fix interrupt enable macro

clear interrupt flag before enabling to ditch unwanted interrupt

4 years agoibmpc_usb: Fix keyboard initialize
tmk [Wed, 22 Jan 2020 05:54:33 +0000 (14:54 +0900)]
ibmpc_usb: Fix keyboard initialize

4 years agoibmpc: Add ibmpc_host_clear_isr
tmk [Wed, 22 Jan 2020 05:52:01 +0000 (14:52 +0900)]
ibmpc: Add ibmpc_host_clear_isr

4 years agoibmpc: Add intruppt disable and enable function
tmk [Fri, 17 Jan 2020 13:34:44 +0000 (22:34 +0900)]
ibmpc: Add intruppt disable and enable function

4 years agoibmpc_usb: Fix Disable/Enable keyboard
tmk [Fri, 17 Jan 2020 04:41:14 +0000 (13:41 +0900)]
ibmpc_usb: Fix Disable/Enable keyboard

- Return without enabling with F4 for 84-key AT wrongly before this fix
- disable/enable doesn't seems to be needed

4 years agoibmpc: Fix how to initialize keyboard
tmk [Wed, 8 Jan 2020 06:00:44 +0000 (15:00 +0900)]
ibmpc: Fix how to initialize keyboard

4 years agoibmpc: Fix error handling for keyobard hotswap
tmk [Tue, 7 Jan 2020 02:31:03 +0000 (11:31 +0900)]
ibmpc: Fix error handling for keyobard hotswap

4 years agoibmpc: Fix START case in ISR
tmk [Sat, 11 Jan 2020 08:16:00 +0000 (17:16 +0900)]
ibmpc: Fix START case in ISR

4 years agoibmpc: Read data line earlier in ISR as possible
tmk [Sat, 11 Jan 2020 07:32:46 +0000 (16:32 +0900)]
ibmpc: Read data line earlier in ISR as possible

4 years agoadb_usb: Update prebuilt firmware
tmk [Thu, 13 Feb 2020 00:04:44 +0000 (09:04 +0900)]
adb_usb: Update prebuilt firmware

4 years agoadb_usb: Fix start up delay for AEK/AEKII
tmk [Wed, 12 Feb 2020 23:42:37 +0000 (08:42 +0900)]
adb_usb: Fix start up delay for AEK/AEKII

Without proper delay keyboard the converter starts talking too early
before keyboard wakes up. ISO recognition and enabling Extention protocol
would be failed in the result.
https://github.com/tmk/tmk_keyboard/issues/640#issuecomment-585411393
200ms is enough for AEKs but 1000ms is used here for safety.

4 years agolufa: Rename LUFA_DEBUG to TMK_LUFA_DEBUG
tmk [Sun, 9 Feb 2020 12:17:52 +0000 (21:17 +0900)]
lufa: Rename LUFA_DEBUG to TMK_LUFA_DEBUG

4 years agolufa: Update makefile for new LUFA
tmk [Sat, 8 Feb 2020 10:54:58 +0000 (19:54 +0900)]
lufa: Update makefile for new LUFA

4 years agolufa: Use the latest LUFA library on github
tmk [Sat, 8 Feb 2020 11:31:38 +0000 (20:31 +0900)]
lufa: Use the latest LUFA library on github

4 years agolufa: Remove old LUFA directory
tmk [Sat, 8 Feb 2020 14:02:42 +0000 (23:02 +0900)]
lufa: Remove old LUFA directory

4 years agolufa: Fix console_putc
tmk [Fri, 7 Feb 2020 06:25:57 +0000 (15:25 +0900)]
lufa: Fix console_putc

buffering before host and hid_listen become ready

4 years agoadb_usb: Fix mouse init and debug print
tmk [Tue, 4 Feb 2020 05:52:00 +0000 (14:52 +0900)]
adb_usb: Fix mouse init and debug print

4 years agousb_usb: Fix unimap translation for Power
tmk [Mon, 3 Feb 2020 02:58:01 +0000 (11:58 +0900)]
usb_usb: Fix unimap translation for Power

4 years agocore: Fix unimap translation range
tmk [Mon, 3 Feb 2020 03:36:26 +0000 (12:36 +0900)]
core: Fix unimap translation range

4 years agoalps64: Update prebuilt firmware
tmk [Sat, 28 Dec 2019 13:57:22 +0000 (22:57 +0900)]
alps64: Update prebuilt firmware

4 years agoalps64: Fix for delay time for matrix scan
tmk [Sat, 28 Dec 2019 13:39:54 +0000 (22:39 +0900)]
alps64: Fix for delay time for matrix scan

Delay less than 20us can cause false key detection in some situations.
With week internal pull-up takes time to charge stray capacitance of
trace between ground fill(and fingers), perhaps?

In particular, when testing Alps64 PCB without diodes tweezer is used
to close a key and this makes trace longer, more capacitance in result.

4 years agoibmpc_usb: Add prebuilt firmware files
tmk [Thu, 5 Dec 2019 00:07:14 +0000 (09:07 +0900)]
ibmpc_usb: Add prebuilt firmware files

4 years agoibmpc_usb: Fix Makefiles
tmk [Wed, 4 Dec 2019 23:57:41 +0000 (08:57 +0900)]
ibmpc_usb: Fix Makefiles

4 years agoibmpc_usb: Add support for AT90USB1286
tmk [Wed, 4 Dec 2019 05:54:20 +0000 (14:54 +0900)]
ibmpc_usb: Add support for AT90USB1286

4 years agocore: Fix bootloader for 128KB flash
tmk [Wed, 4 Dec 2019 06:02:28 +0000 (15:02 +0900)]
core: Fix bootloader for 128KB flash

Got warning on bootloader address calculation when MCU has 128KB flash

4 years agocore: Fix ldscript for AT90USB to support unimap
tmk [Wed, 4 Dec 2019 06:05:55 +0000 (15:05 +0900)]
core: Fix ldscript for AT90USB to support unimap

4 years agocore: Add ldscript for AT90USB to support unimap
tmk [Wed, 4 Dec 2019 05:29:49 +0000 (14:29 +0900)]
core: Add ldscript for AT90USB to support unimap

4 years agoibmpc_usb: Add IBM PC Keyobard converter
tmk [Wed, 4 Dec 2019 02:35:48 +0000 (11:35 +0900)]
ibmpc_usb: Add IBM PC Keyobard converter

4 years agocore: Add IBM PC Keyboard protocol support
tmk [Wed, 4 Dec 2019 02:34:05 +0000 (11:34 +0900)]
core: Add IBM PC Keyboard protocol support

5 years agoterminal_usb: Add note for pull-up resistors
tmk [Tue, 12 Nov 2019 06:49:23 +0000 (15:49 +0900)]
terminal_usb: Add note for pull-up resistors

5 years agoterminal_usb: Change keymap for hidden keys
tmk [Tue, 12 Nov 2019 06:41:19 +0000 (15:41 +0900)]
terminal_usb: Change keymap for hidden keys

5 years agocore: Add short name for keycode KP_00 and KP_000
tmk [Tue, 12 Nov 2019 06:37:23 +0000 (15:37 +0900)]
core: Add short name for keycode KP_00 and KP_000

5 years agoAdding support for the IBM 102 Terminal Keyboard ( #1386304 ) (#634)
leragequit [Tue, 12 Nov 2019 04:02:01 +0000 (05:02 +0100)]
Adding support for the IBM 102 Terminal Keyboard ( #1386304 ) (#634)

Adding support for the IBM 102 Terminal Keyboard ( #1386304 )
The 1386304 has a slightly different matrix than the 122/101 terminal keyboard.

5 years agoalps64: Update firmware binary
tmk [Tue, 12 Nov 2019 03:39:32 +0000 (12:39 +0900)]
alps64: Update firmware binary

5 years agogh60: Change debouncing using timer count
tmk [Tue, 12 Nov 2019 03:36:49 +0000 (12:36 +0900)]
gh60: Change debouncing using timer count

5 years agoalps64: Change debouncing using timer count
tmk [Thu, 3 Oct 2019 04:41:48 +0000 (13:41 +0900)]
alps64: Change debouncing using timer count

5 years agofc980c: Update firmware binary
tmk [Tue, 1 Oct 2019 05:18:06 +0000 (14:18 +0900)]
fc980c: Update firmware binary

5 years agofc980c: Fix initial state of LED
tmk [Tue, 1 Oct 2019 05:16:44 +0000 (14:16 +0900)]
fc980c: Fix initial state of LED

5 years agousb_usb: Fix markdown notation in README
tmk [Wed, 18 Sep 2019 07:51:44 +0000 (16:51 +0900)]
usb_usb: Fix markdown notation in README

5 years agousb_usb: Update firmware file
tmk [Wed, 18 Sep 2019 07:09:10 +0000 (16:09 +0900)]
usb_usb: Update firmware file

5 years agousb_usb: Add BTLD unimap to start bootloader
tmk [Wed, 18 Sep 2019 06:42:47 +0000 (15:42 +0900)]
usb_usb: Add BTLD unimap to start bootloader

Press App(Menu) + Pause key to start bootloader

5 years agousb_usb: Enable NO_DEBUG build option
tmk [Wed, 18 Sep 2019 06:41:24 +0000 (15:41 +0900)]
usb_usb: Enable NO_DEBUG build option

to save flash memory space

5 years agousb_usb: Clean print for debug
tmk [Wed, 18 Sep 2019 06:29:38 +0000 (15:29 +0900)]
usb_usb: Clean print for debug

5 years agocore: Add NO_PRINT and NO_DEBUG build option
tmk [Wed, 18 Sep 2019 06:09:02 +0000 (15:09 +0900)]
core: Add NO_PRINT and NO_DEBUG build option

Lines below in Makefile disable print and debug functions respectively.
    NO_PRINT = yes
    NO_DEBUG = yes

5 years agocore: Remove unneeded code in bootloader_jump
tmk [Wed, 18 Sep 2019 05:14:25 +0000 (14:14 +0900)]
core: Remove unneeded code in bootloader_jump

5 years agocore: Add AC_BTLD to actionmap and unimap
tmk [Tue, 17 Sep 2019 11:55:35 +0000 (20:55 +0900)]
core: Add AC_BTLD to actionmap and unimap

Now that it can jump to bootloader with AC_BTLD

5 years agocore: Read bootloader size from AVR fuse bits
tmk [Tue, 17 Sep 2019 07:19:52 +0000 (16:19 +0900)]
core: Read bootloader size from AVR fuse bits

This makes defining BOOTLOADER_SIZE macro optional.

5 years agocore: Fix comment and remove unused code
tmk [Mon, 16 Sep 2019 09:42:50 +0000 (18:42 +0900)]
core: Fix comment and remove unused code

5 years agocore: Add bootkey of Caterina bootloader
tmk [Mon, 16 Sep 2019 08:49:38 +0000 (17:49 +0900)]
core: Add bootkey of Caterina bootloader

The bootkey set in bootloader_jump() works with Pro Micro and Leonardo.
This fix doesn't seem to prevent other bootloaders, however, it can be
disabled by defining NO_BOOTLOADER_CATERINA_BOOTKEY.

5 years agops2_usb: Add Makefile.32u4
tmk [Mon, 9 Sep 2019 22:54:36 +0000 (07:54 +0900)]
ps2_usb: Add Makefile.32u4

5 years agops2_usb: Update README
tmk [Mon, 9 Sep 2019 03:10:15 +0000 (12:10 +0900)]
ps2_usb: Update README

5 years agops2_usb: Make build files clean
tmk [Mon, 9 Sep 2019 02:50:11 +0000 (11:50 +0900)]
ps2_usb: Make build files clean

5 years agopc98_usb: Fix scan code description
tmk [Wed, 4 Sep 2019 15:20:32 +0000 (00:20 +0900)]
pc98_usb: Fix scan code description

5 years agopc98_usb: Fix STOP as magic key
tmk [Wed, 4 Sep 2019 15:01:07 +0000 (00:01 +0900)]
pc98_usb: Fix STOP as magic key

5 years agopc98_usb: Fix debug print codes
tmk [Wed, 4 Sep 2019 14:43:29 +0000 (23:43 +0900)]
pc98_usb: Fix debug print codes

5 years agopc98_usb: Change LUFA build option for #627
tmk [Wed, 4 Sep 2019 14:41:22 +0000 (23:41 +0900)]
pc98_usb: Change LUFA build option for #627

5 years agoAdd PC-8801 Keyboard support. (#620)
Haruka Inoue [Tue, 23 Jul 2019 01:14:59 +0000 (10:14 +0900)]
Add PC-8801 Keyboard support. (#620)

* Add PC-8801 Keyboard support.

* Add PC-8801 Keyboard support.

* Add PC-8801 Keyboard support.

5 years agoibm4704_usb: Update document
tmk [Fri, 12 Jul 2019 18:02:38 +0000 (03:02 +0900)]
ibm4704_usb: Update document

5 years agocore: Fix ibm4704_send() wait for clock to start
tmk [Fri, 12 Jul 2019 07:08:05 +0000 (16:08 +0900)]
core: Fix ibm4704_send() wait for clock to start

5 years agoadb_usb: Update README
tmk [Mon, 24 Jun 2019 07:57:22 +0000 (16:57 +0900)]
adb_usb: Update README

5 years agoadb_usb: Fix for Macally ADB keyboard
tmk [Mon, 24 Jun 2019 07:11:36 +0000 (16:11 +0900)]
adb_usb: Fix for Macally ADB keyboard

- The odd keyboard sends key0 and key1 inversely for no reason.
  https://deskthority.net/workshop-f7/macally-mk96-t20116.html

5 years agoadb_usb: Update binary firmware
tmk [Sun, 23 Jun 2019 06:38:06 +0000 (15:38 +0900)]
adb_usb: Update binary firmware

5 years agoMerge branch 'adb_extended_mouse'
tmk [Sun, 23 Jun 2019 06:20:06 +0000 (15:20 +0900)]
Merge branch 'adb_extended_mouse'

5 years agoadb_usb: Change Unimap for ADB keyboard
tmk [Fri, 21 Jun 2019 23:35:57 +0000 (08:35 +0900)]
adb_usb: Change Unimap for ADB keyboard

5 years agoadb_usb: Remove unnecessary waits
tmk [Sun, 23 Jun 2019 05:55:09 +0000 (14:55 +0900)]
adb_usb: Remove unnecessary waits

5 years agoadb_usb: Clean repository
tmk [Fri, 21 Jun 2019 05:40:09 +0000 (14:40 +0900)]
adb_usb: Clean repository

5 years agoadb_usb: Fix mouse_init
tmk [Sun, 23 Jun 2019 04:31:54 +0000 (13:31 +0900)]
adb_usb: Fix mouse_init

5 years agoadb_usb: Change mouse acceleration according to cpi
tmk [Sat, 22 Jun 2019 02:00:08 +0000 (11:00 +0900)]
adb_usb: Change mouse acceleration according to cpi

5 years agocore:adb_usb: Add Extended Mouse Protocol support #274
tmk [Fri, 21 Jun 2019 04:03:49 +0000 (13:03 +0900)]
core:adb_usb: Add Extended Mouse Protocol support #274

Also add Kensington Turbo Mouse 5 specific initialization

5 years agoalps64: Update unimap firmware binary
tmk [Thu, 30 May 2019 02:12:06 +0000 (11:12 +0900)]
alps64: Update unimap firmware binary

5 years agoalps64: Change keymap for PCB check
tmk [Thu, 30 May 2019 02:06:13 +0000 (11:06 +0900)]
alps64: Change keymap for PCB check

5 years agocore: Add hook_process_action()
tmk [Wed, 29 May 2019 05:08:03 +0000 (14:08 +0900)]
core: Add hook_process_action()

5 years agousb_usb: Update unimap firmware binary
tmk [Wed, 29 May 2019 14:45:35 +0000 (23:45 +0900)]
usb_usb: Update unimap firmware binary

5 years agolufa: Print TMK version to console
tmk [Wed, 29 May 2019 14:40:35 +0000 (23:40 +0900)]
lufa: Print TMK version to console

5 years agousb_usb: Handle Rollover error
tmk [Fri, 10 May 2019 01:37:19 +0000 (10:37 +0900)]
usb_usb: Handle Rollover error

How keyobards report Rollover error:
Cherry: 0101010101010101 https://geekhack.org/index.php?topic=69169.msg2638223#msg2638223
Apple:  0000010101010101 https://geekhack.org/index.php?topic=69169.msg2760969#msg2760969

5 years agoMerge branch 'usb_usb_init_fix'
tmk [Wed, 29 May 2019 06:11:40 +0000 (15:11 +0900)]
Merge branch 'usb_usb_init_fix'

5 years agousb_usb: Override startup and suspend hook
tmk [Wed, 8 May 2019 02:48:47 +0000 (11:48 +0900)]
usb_usb: Override startup and suspend hook

5 years agocore: Add hook_usb_startup_wait_loop
tmk [Wed, 8 May 2019 02:44:56 +0000 (11:44 +0900)]
core: Add hook_usb_startup_wait_loop

5 years agousb_usb: Add options for disabling blocking loops
tmk [Tue, 7 May 2019 03:01:59 +0000 (12:01 +0900)]
usb_usb: Add options for disabling blocking loops

USB startup wait loop delays UHS2 Task() starting for a while
like 200-600ms and USB suspend loop blocks the Task() while power
saving like 15-17ms. These loops may cause keyboard enumeration
failure, perhaps. Not confirmed it yet though.

5 years agolufa: Startup and suspend loop can be disabled
tmk [Tue, 7 May 2019 02:09:25 +0000 (11:09 +0900)]
lufa: Startup and suspend loop can be disabled

Startup wait loop is originally intended to start keyboard task loop and
after console output endpoint becomes available. But now that console
output is buffered when it is not available and you don't have to wait
for it to be ready. You can disable the startup wait loop by defining
NO_WAIT_FOR_USB_CONFIGURED in config.h

Suspend loop is used for power saving by making tasks stop while
USB bus is under suspend status. But this may cause problem on some
devices like converter that must keep doing its task to retain
communication with keyboard. The suspend loop can block its task for
around 15-17ms. You can disable the suspend loop  by defining
NO_USB_SUSPEND_LOOP in config.h.

5 years agousb_usb: Add option for disabling suspend power down
tmk [Wed, 8 May 2019 03:53:15 +0000 (12:53 +0900)]
usb_usb: Add option for disabling suspend power down

5 years agousb_usb: Order of init prevents uneeded bus reset
tmk [Mon, 6 May 2019 03:15:37 +0000 (12:15 +0900)]
usb_usb: Order of init prevents uneeded bus reset

Device classes are registered to array of config driver pool and
tried in that order until proper class is found in configuration process.
If tried driver cannot handle device, bus reset is issued to the device.