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

6 years agocore: lufa: Fix console output and init sequence
tmk [Mon, 10 Sep 2018 00:05:21 +0000 (09:05 +0900)]
core: lufa: Fix console output and init sequence

console_putc:
Linux:      works very well in general
Windows:    also works very well and connection seems to be faster than Linux
Mac:        to be: confirmed

NOTE:       long session of matrix_print still blocks keyboard_task in main loop
            and prevents it from sending keyboard report.
            XT protocol buffer overflow occurs when slamng on keys

TODO:       check when print functions are called in ISR

6 years agocore: Add ring buffer file
tmk [Wed, 25 Jul 2018 09:53:38 +0000 (18:53 +0900)]
core: Add ring buffer file

6 years agoMerge branch 'pc98_update'
tmk [Sat, 8 Sep 2018 12:25:41 +0000 (21:25 +0900)]
Merge branch 'pc98_update'

6 years agopc98_usb: Update reset and LED control command
tmk [Sat, 8 Sep 2018 12:23:30 +0000 (21:23 +0900)]
pc98_usb: Update reset and LED control command

6 years agopc98_usb: Remove keymap.c of rakuraku support
tmk [Sat, 8 Sep 2018 00:35:24 +0000 (09:35 +0900)]
pc98_usb: Remove keymap.c of rakuraku support

6 years agopc98_usb: Add ATMega32u4 support
tmk [Sat, 8 Sep 2018 00:34:50 +0000 (09:34 +0900)]
pc98_usb: Add ATMega32u4 support

6 years agopc98_usb: Fix pin configuration in README
tmk [Sat, 18 Aug 2018 23:39:41 +0000 (08:39 +0900)]
pc98_usb: Fix pin configuration in README

6 years agousb_usb: Update binary
tmk [Wed, 1 Aug 2018 13:39:41 +0000 (22:39 +0900)]
usb_usb: Update binary

6 years agousb_usb: Add Cheery 0101010101010101 bug fix
tmk [Sat, 14 Jul 2018 02:55:58 +0000 (11:55 +0900)]
usb_usb: Add Cheery 0101010101010101 bug fix

https://geekhack.org/index.php?topic=69169.msg2638223#msg2638223

6 years agopc98_usb: Update README
tmk [Mon, 23 Jul 2018 00:53:35 +0000 (09:53 +0900)]
pc98_usb: Update README

6 years agopc98_usb: unimap for RakuRaku keyboard
tmk [Sat, 21 Jul 2018 15:05:52 +0000 (00:05 +0900)]
pc98_usb: unimap for RakuRaku keyboard

6 years agopc98_usb: Add unimap for usual pc98 layout
tmk [Fri, 20 Jul 2018 23:48:10 +0000 (08:48 +0900)]
pc98_usb: Add unimap for usual pc98 layout

6 years agorule.mk: Add dfu-programmer version check again
tmk [Thu, 5 Jul 2018 14:18:56 +0000 (23:18 +0900)]
rule.mk: Add  dfu-programmer version check again

- ubuntu 18.04 still uses old 0.6.1

6 years agousb_usb: Fix startup block bug
tmk [Thu, 5 Jul 2018 10:20:33 +0000 (19:20 +0900)]
usb_usb: Fix startup block bug

- This bug occurs when sending LED out report before keyboard becomes ready
- Ckecking with isReady() before using SetReport() solves this
- Slow startup keyboard like TMK trrigers this bug and Linux shows following error just after plugin converter
    usb 3-1: device descriptor read/64, error -62

6 years agofc660c: Change keymap
tmk [Sat, 16 Jun 2018 05:45:36 +0000 (14:45 +0900)]
fc660c: Change keymap

6 years agopc98_usb: Update keymap
tmk [Sun, 10 Jun 2018 03:50:38 +0000 (12:50 +0900)]
pc98_usb: Update keymap

6 years agoMerge branch 'pc98_update'
tmk [Thu, 7 Jun 2018 13:22:04 +0000 (22:22 +0900)]
Merge branch 'pc98_update'

6 years agopc98_usb: Update README
tmk [Thu, 7 Jun 2018 08:29:13 +0000 (17:29 +0900)]
pc98_usb: Update README

6 years agopc98_usb: Update protocol commands
tmk [Sat, 2 Jun 2018 11:40:08 +0000 (20:40 +0900)]
pc98_usb: Update protocol commands

6 years agopc98_usb: Change keymap
tmk [Sat, 2 Jun 2018 11:39:01 +0000 (20:39 +0900)]
pc98_usb: Change keymap

6 years agopc98_usb: Configure for TMK Converter
tmk [Sat, 2 Jun 2018 11:37:34 +0000 (20:37 +0900)]
pc98_usb: Configure for TMK Converter

6 years agopc98_usb: LED control code is disabled by default
tmk [Sat, 2 Jun 2018 10:52:50 +0000 (19:52 +0900)]
pc98_usb: LED control code is disabled by default

6 years agoMerge branch 'EdmundsEcho-quick-start-readme'
tmk [Sat, 26 May 2018 11:54:31 +0000 (20:54 +0900)]
Merge branch 'EdmundsEcho-quick-start-readme'

6 years agohhkb: Update README
tmk [Sat, 26 May 2018 11:51:45 +0000 (20:51 +0900)]
hhkb: Update README

6 years agoMerge branch 'quick-start-readme' of https://github.com/EdmundsEcho/tmk_keyboard...
tmk [Sat, 26 May 2018 11:10:28 +0000 (20:10 +0900)]
Merge branch 'quick-start-readme' of https://github.com/EdmundsEcho/tmk_keyboard into EdmundsEcho-quick-start-readme

6 years agoupdated README for hhkb to include a Quick-start section
Edmund Cape [Mon, 21 May 2018 15:06:20 +0000 (11:06 -0400)]
updated README for hhkb to include a Quick-start section