]> git.friedersdorff.com Git - max/tmk_keyboard.git/log
max/tmk_keyboard.git
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.

5 years agolufa:usb_usb: matrix_scan() is no longer needed
tmk [Sun, 5 May 2019 16:52:25 +0000 (01:52 +0900)]
lufa:usb_usb: matrix_scan() is no longer needed

This is due to SOF timing fix of USB_Host_Shield_2.0.
The matrix_scan() was needed for usb_usb converter to recognize FC660C at startup.

5 years agousb_hid: Change to USB_Host_Shield_2.0 of tmk repo
tmk [Mon, 6 May 2019 14:01:18 +0000 (23:01 +0900)]
usb_hid: Change to USB_Host_Shield_2.0 of tmk repo

- Fix SOF/Keep Alive start timing
- Disable bus detection during settling after attach
- Remove keyboard LED blinking at configuring

5 years agolufa: Fix for freeze at re/boot time problem
tmk [Fri, 29 Mar 2019 06:45:20 +0000 (15:45 +0900)]
lufa: Fix for freeze at re/boot time problem

Calling led_set() in ISR can cause the problem. With converter
especially, led_set() can take long time and USB can be stuck in the end.
USB-USB converter freezes occasionally when computer power up or reboot.
https://geekhack.org/index.php?topic=69169.msg2740179#msg2740179
This is also related to suspend/wakeup issue #386.

5 years agolufa: Fix Change debug print message
tmk [Mon, 6 May 2019 07:27:46 +0000 (16:27 +0900)]
lufa: Fix Change debug print message

5 years agocore: Avoid deadlock when uart.c is used in ISR
tmk [Thu, 2 May 2019 11:57:48 +0000 (20:57 +0900)]
core: Avoid deadlock when uart.c is used in ISR

5 years agolufa: Fix for UART debug print
tmk [Fri, 26 Apr 2019 00:17:50 +0000 (09:17 +0900)]
lufa: Fix for UART debug print

5 years agousb_usb: Add debug print for low level
tmk [Sun, 21 Apr 2019 00:19:22 +0000 (09:19 +0900)]
usb_usb: Add debug print for low level

5 years agolufa: This prevents resume when debug
tmk [Sun, 31 Mar 2019 05:42:19 +0000 (14:42 +0900)]
lufa: This prevents resume when debug

5 years agolufa: Add debug print support with UART
tmk [Tue, 26 Mar 2019 07:09:45 +0000 (16:09 +0900)]
lufa: Add debug print support with UART

5 years agocore: Fix uart.c for ATmega32U4
tmk [Fri, 22 Mar 2019 13:15:26 +0000 (22:15 +0900)]
core: Fix uart.c for ATmega32U4

5 years agoCorrect the comments of matrix ROW and COL. (#604)
You Xiaojie / 尤晓杰 [Mon, 18 Mar 2019 06:47:07 +0000 (14:47 +0800)]
Correct the comments of matrix ROW and COL. (#604)

according to the code:
static uint8_t matrix[MATRIX_ROWS];
#define ROW(code)      (code>>3)
#define COL(code) (code&0x07)
in converter/terminal_usb/matrix.c
ROW is decided by bits 7-4 of scancode
COL is decided by bits 2-0 of scancode

5 years agoRedefine GRV,CAPS,RALT and RCTL (#596)
You Xiaojie / 尤晓杰 [Sun, 17 Mar 2019 23:03:04 +0000 (07:03 +0800)]
Redefine GRV,CAPS,RALT and RCTL (#596)

5 years agoCorrect the comments of matrix ROW and COL. (#600)
You Xiaojie / 尤晓杰 [Sun, 17 Mar 2019 23:01:15 +0000 (07:01 +0800)]
Correct the comments of matrix ROW and COL. (#600)

according to the code:
static uint8_t matrix[MATRIX_ROWS];
#define ROW(code)      (code>>3)
#define COL(code)      (code&0x07)
in converter/ps2_usb/matrix.c
ROW is decided by bits 7~4 of scancode
COL is decided by bits 2~0 of scancode

5 years agoCorrect typo for linux "showkey" command (#603)
You Xiaojie / 尤晓杰 [Sun, 17 Mar 2019 22:55:40 +0000 (06:55 +0800)]
Correct typo for linux "showkey" command (#603)

5 years ago Correct two errors of keycode.txt (#594)
You Xiaojie / 尤晓杰 [Tue, 12 Mar 2019 23:37:46 +0000 (07:37 +0800)]
 Correct two errors of keycode.txt (#594)

5 years agoterminal_usb: Fix pin configuration in README
tmk [Sun, 10 Mar 2019 13:48:21 +0000 (22:48 +0900)]
terminal_usb: Fix pin configuration in README

5 years agocore: System control key descriptor fix #435
tmk [Fri, 25 Jan 2019 23:42:20 +0000 (08:42 +0900)]
core: System control key descriptor fix #435

https://github.com/qmk/qmk_firmware/pull/963

6 years agousb_usb: Update README and firmware hex file
tmk [Mon, 12 Nov 2018 01:51:41 +0000 (10:51 +0900)]
usb_usb: Update README and firmware hex file

6 years agomake some change to complie stm32_f103_onekey with new version of Chibios (#583)
rxy0424 [Tue, 6 Nov 2018 23:08:08 +0000 (07:08 +0800)]
make some change to complie stm32_f103_onekey with new version of Chibios (#583)

6 years agousb_usb: usb_hid: Change for USB_Host_Shield_2.0
tmk [Tue, 30 Oct 2018 06:50:51 +0000 (15:50 +0900)]
usb_usb: usb_hid: Change for USB_Host_Shield_2.0

6 years agousb_hid: Add USB_Host_Shield_2.0 submodule
tmk [Tue, 30 Oct 2018 08:58:09 +0000 (17:58 +0900)]
usb_hid: Add USB_Host_Shield_2.0 submodule

6 years agousb_hid: Remove USB_Host_Shield_2.0
tmk [Tue, 30 Oct 2018 08:25:20 +0000 (17:25 +0900)]
usb_hid: Remove USB_Host_Shield_2.0

6 years agolufa: usb-usb: Use LUFA startup instead of cusotom
tmk [Sun, 28 Oct 2018 04:43:59 +0000 (13:43 +0900)]
lufa: usb-usb: Use LUFA startup instead of cusotom

- Change keyboard_init() timing and matrix_scan() is called in USB
  startup wait loop for FC660C
- FC660C startup seems to be faster and it doesn't work without this fix
  when plugin the keyboard and converter at same time

6 years agoFix header guard in tmk_core/common/command.h (#581)
Konstantin Đorđević [Wed, 31 Oct 2018 00:34:01 +0000 (01:34 +0100)]
Fix header guard in tmk_core/common/command.h (#581)

6 years agocore: Update console startup for hid_listen
tmk [Mon, 15 Oct 2018 15:40:14 +0000 (00:40 +0900)]
core: Update console startup for hid_listen

6 years agopc98_usb: Add Makefile.32u4
tmk [Mon, 15 Oct 2018 15:38:39 +0000 (00:38 +0900)]
pc98_usb: Add Makefile.32u4

6 years agopc98_usb: Fix RDY line and startup for PC-9801V
tmk [Mon, 15 Oct 2018 12:37:52 +0000 (21:37 +0900)]
pc98_usb: Fix RDY line and startup for PC-9801V

6 years agoxt_usb: Fix */PrtSc key issue #552
tmk [Sat, 6 Oct 2018 13:35:57 +0000 (22:35 +0900)]
xt_usb: Fix */PrtSc key issue #552

6 years agoxt_usb: Update binary
tmk [Sun, 23 Sep 2018 04:56:28 +0000 (13:56 +0900)]
xt_usb: Update binary

6 years agoMerge branch 'console_ringbuf_fix'
tmk [Sun, 23 Sep 2018 04:53:20 +0000 (13:53 +0900)]
Merge branch 'console_ringbuf_fix'

6 years agoxt_usb: Fix scan code print for debug
tmk [Sun, 23 Sep 2018 03:09:39 +0000 (12:09 +0900)]
xt_usb: Fix scan code print for debug

6 years agoxt_usb: Change ring buffer and control Data line
tmk [Mon, 10 Sep 2018 16:11:06 +0000 (01:11 +0900)]
xt_usb: Change ring buffer and control Data line

6 years agocore: lufa: Fix wait for console startup
tmk [Sun, 23 Sep 2018 02:40:06 +0000 (11:40 +0900)]
core: lufa: Fix wait for console startup

6 years agocore: lufa: Fix timeout of send_keyboard
tmk [Thu, 20 Sep 2018 13:14:03 +0000 (22:14 +0900)]
core: lufa: Fix timeout of send_keyboard

Change 128*40us(5.12ms) to 128*80us(10.24ms) for 6KRO