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

6 years agotmk_core: Now expects dfu-programmer 0.7 or later
tmk [Thu, 17 May 2018 23:34:39 +0000 (08:34 +0900)]
tmk_core: Now expects dfu-programmer 0.7 or later

6 years agousb_usb: Update README
Jun Wako [Wed, 16 May 2018 00:45:49 +0000 (09:45 +0900)]
usb_usb: Update README

6 years agoxt_usb: Fix for reserved codes
tmk [Fri, 11 May 2018 20:20:15 +0000 (05:20 +0900)]
xt_usb: Fix for reserved codes

6 years agoibm4704_usb: Add support 50-key on unimap editor
tmk [Fri, 27 Apr 2018 07:39:20 +0000 (16:39 +0900)]
ibm4704_usb: Add support 50-key on unimap editor

6 years agofc980c: Update binary file
tmk [Fri, 27 Apr 2018 02:32:37 +0000 (11:32 +0900)]
fc980c: Update binary file

6 years agofc980: Decrease scan wait and disable debug print
tmk [Fri, 27 Apr 2018 01:44:33 +0000 (10:44 +0900)]
fc980: Decrease scan wait and disable debug print

to avoid droping key in fast input

6 years agoxt_usb: Update README
tmk [Tue, 24 Apr 2018 17:57:29 +0000 (02:57 +0900)]
xt_usb: Update README

6 years agoMerge branch 'xt_keymap_clean'
tmk [Tue, 24 Apr 2018 17:42:37 +0000 (02:42 +0900)]
Merge branch 'xt_keymap_clean'

6 years agoxt_usb: Update binary
tmk [Tue, 24 Apr 2018 17:33:03 +0000 (02:33 +0900)]
xt_usb: Update binary

6 years agoxt_usb: Add unimap
tmk [Tue, 24 Apr 2018 17:21:32 +0000 (02:21 +0900)]
xt_usb: Add unimap

6 years agoxt_usb: Clean keymap and change scancode matrix
tmk [Mon, 23 Apr 2018 07:48:02 +0000 (16:48 +0900)]
xt_usb: Clean keymap and change scancode matrix

6 years agoMerge branch 'xt_rev2'
tmk [Tue, 17 Apr 2018 01:56:55 +0000 (10:56 +0900)]
Merge branch 'xt_rev2'

6 years agoadb_usb: Add debug print for handler_id
tmk [Tue, 17 Apr 2018 01:55:29 +0000 (10:55 +0900)]
adb_usb: Add debug print for handler_id

6 years agohhkb: Measurement of overall power draw
tmk [Mon, 26 Mar 2018 03:13:02 +0000 (12:13 +0900)]
hhkb: Measurement of overall power draw

6 years agoAdd a full example of a tenkeyless using the teensy 3.2 (#543)
Alejandro Carlos [Fri, 30 Mar 2018 23:30:38 +0000 (16:30 -0700)]
Add a full example of a tenkeyless using the teensy 3.2 (#543)

6 years agoImprove ASCII representation of 122 (#544)
Hunter King [Fri, 30 Mar 2018 23:28:25 +0000 (19:28 -0400)]
Improve ASCII representation of 122 (#544)

* improve ASCII representation of 122

* fix oops

6 years agohhkb: Fix for USB NKRO for RN42
tmk [Fri, 16 Mar 2018 08:52:03 +0000 (17:52 +0900)]
hhkb: Fix for USB NKRO for RN42

6 years agoxt_usb: Fix binary file names
tmk [Thu, 15 Mar 2018 01:44:13 +0000 (10:44 +0900)]
xt_usb: Fix binary file names

6 years agoxt_usb: update binaries
tmk [Wed, 14 Mar 2018 22:02:11 +0000 (07:02 +0900)]
xt_usb: update binaries

6 years agoxt_usb: Add firmware hex files
tmk [Wed, 14 Mar 2018 21:49:17 +0000 (06:49 +0900)]
xt_usb: Add firmware hex files

6 years agoxt_usb: Replace function with macro
tmk [Fri, 2 Mar 2018 06:06:38 +0000 (15:06 +0900)]
xt_usb: Replace function with macro

6 years agoxt_usb: Remove xt_io.h
tmk [Fri, 2 Mar 2018 05:40:21 +0000 (14:40 +0900)]
xt_usb: Remove xt_io.h

6 years agoxt_usb: Fix warning on switch-case
tmk [Fri, 2 Mar 2018 05:09:09 +0000 (14:09 +0900)]
xt_usb: Fix warning on switch-case

6 years agoxt_usb: Replace functions with macros
tmk [Fri, 2 Mar 2018 04:56:46 +0000 (13:56 +0900)]
xt_usb: Replace functions  with macros

6 years agoxt_usb: Comment out clock check for PCINT
tmk [Fri, 2 Mar 2018 00:28:03 +0000 (09:28 +0900)]
xt_usb: Comment out clock check for PCINT

6 years agoxt_usb: Change debug print
tmk [Fri, 2 Mar 2018 00:25:52 +0000 (09:25 +0900)]
xt_usb: Change debug print

6 years agoxt_usb: Read data earlier as possible in ISR
tmk [Thu, 1 Mar 2018 17:31:44 +0000 (02:31 +0900)]
xt_usb: Read data earlier as possible in ISR

6 years agoxt_usb: Clear flag before enabling interrupt
tmk [Thu, 1 Mar 2018 17:29:46 +0000 (02:29 +0900)]
xt_usb: Clear flag before enabling interrupt

6 years agoxt_usb: read data on falling edge soft/hard reset
tmk [Wed, 28 Feb 2018 06:48:06 +0000 (15:48 +0900)]
xt_usb: read data on falling edge soft/hard reset

See https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-XT-Keyboard-Protocol
- read data on falling edge of clock
- add soft reset and hard reset

6 years agoMerge branch 'usb_usb_korean'
tmk [Sat, 3 Mar 2018 07:27:17 +0000 (16:27 +0900)]
Merge branch 'usb_usb_korean'

6 years agousb_usb: Fix code format
tmk [Fri, 23 Feb 2018 07:23:01 +0000 (16:23 +0900)]
usb_usb: Fix code format

6 years agousb_usb: Support Brazilian specific key in unimap
tmk [Fri, 16 Feb 2018 03:17:45 +0000 (12:17 +0900)]
usb_usb: Support Brazilian specific key in unimap

Keymap comma(KP_COMMA: 0x85)

6 years agousb_usb: Support Korean specific keys in unimap
tmk [Fri, 16 Feb 2018 02:39:17 +0000 (11:39 +0900)]
usb_usb: Support Korean specific keys in unimap

HAEN(LANG1: 0x90) and HANJ(LANG2: 0x91) keys are recognized as HENK and MHEN in unimap.

6 years agocore: lufa: Add delay for console startup
tmk [Thu, 1 Mar 2018 03:36:21 +0000 (12:36 +0900)]
core: lufa: Add delay for console startup

6 years agohhkb: Update README and remove makefiles
tmk [Thu, 1 Feb 2018 05:56:25 +0000 (14:56 +0900)]
hhkb: Update README and remove makefiles

6 years agocore: Add utility macros in action_macro.h (#532)
Øystein Bech Gadmar [Sun, 28 Jan 2018 23:10:35 +0000 (00:10 +0100)]
core: Add utility macros in action_macro.h (#532)

6 years agocore: Add utility type_code() in aciton.h #528
tmk [Sun, 28 Jan 2018 07:17:20 +0000 (16:17 +0900)]
core: Add utility type_code() in aciton.h #528

6 years agocore: Typo (mantrix -> matrix)
alex-ong [Fri, 26 Jan 2018 07:18:55 +0000 (18:18 +1100)]
core: Typo (mantrix -> matrix)