Commit graph

417 commits

Author SHA1 Message Date
tmk
b5e5bfc0bd core: Add action code AC_STEJ 2024-03-19 19:51:41 +09:00
tmk
96f7be8642 core: Sort consumer usages 2024-03-19 19:50:52 +09:00
tmk
3a0bad28ce core: Change Consumer Page usage for EJCT key #774
Consumer Page usage: 0xCC -> 0xB8
`[K|A]C_EJCT` sends same usage as Apple Magic Keyboard Eject key does.
2024-03-19 16:14:33 +09:00
tmk
5ed16b1445 usb_hid: Fix for Unicomp Mini M #773
The keyboard sends 10 byte report, not 8.
2024-03-07 11:08:28 +09:00
tmk
5208d31657 m0110: Add Model ID code
Model ID cannot be used to discriminate between Int'l and US layout
https://github.com/tmk/tmk_keyboard/issues/771#issuecomment-1909402819
2024-01-27 23:55:49 +09:00
tmk
ed1da263a5 usb_hid: Update UHS2 for suspend and remote wakeup 2023-12-20 16:57:10 +09:00
tmk
5622cc7d6a Add tool/avr for EEPROM troubleshoot 2023-12-07 13:50:42 +09:00
tmk
856f5b3f88 core: Change bootmagic nkro 2023-11-27 02:31:35 +09:00
tmk
0c25c62a6d core: Fix bootmagic keymap_config for unimap 2023-11-27 02:15:05 +09:00
tmk
1cc716477b core: Fix bootmagic
- EEPROM_CLEAR wipes out eeprom with 0xFF now(avr)
- keymap config is not enabled during bootmagic
- wait until all key is released after bootmagic
- add eeconfig_debug() to command.c
2023-11-26 22:10:34 +09:00
tmk
66da6f4d64 core: Fix bootmagic for NKRO 2023-11-26 14:37:05 +09:00
tmk
b072fb26de news: Remove news.c and use serial_uart.c instead 2023-11-07 23:25:11 +09:00
tmk
b7188acd4f news: Add LED support 2023-11-07 22:39:00 +09:00
tmk
50347c692b core: mouse debug print 2023-10-31 12:45:24 +09:00
tmk
294403ffbf core: Make console buffer smaller for atmega32u2
memory shortage can happen when enabling all features
2023-10-31 12:45:24 +09:00
tmk
909b37d641 archimedes: Fix serial timing 2023-10-31 12:45:24 +09:00
tmk
d5f61007bc core: Add print-* target to rules.mk 2023-07-17 12:04:03 +09:00
tmk
61fc65141c usb_hid: Update UHS2 2023-07-17 11:28:10 +09:00
tmk
002537b8ea core: Add mousekey support to ACTION_KEY() #675
ACT_MOUSEKEY can be removed but kept for backward compatibility.
Mousekeys work with ACTION_KEY(), ACTION_MODS_KEY(), ACTION_MODS_TAP_KEY() now.
But not completely with ACTION_LAYER_TAP_KEY(),
layer_param_bit_op { OP_TAP_TOGGLE, OP_ON_OFF, OP_OFF_ON, OP_SET_CLEAR }
overlaps with mousekeys KC_MS_* paritally(F0-F3).
2023-07-08 12:57:35 +09:00
tmk
d9c100ecf7 lufa: Fix keyboard protocol on bus reset #763
Keyboard can be set as Boot protocol by BIOS/UEFI/GRUB
then bus reset occurs before OS boots up.
OS(at least Windows10,11/Ubuntu23.04) expects device works
on Report protocol. Note that OS does not send SetProtocol(Report) here.

Device state should be initialized properly on bus reset.

https://github.com/tmk/tmk_keyboard/issues/763
2023-07-05 22:32:07 +09:00
tmk
db4268bfa1 Merge branch 'ibmpc_f500_support' 2023-06-16 10:42:26 +09:00
tmk
87da14b12f core: Fix for KEYMAP_SECTION_ENABLE
It is required when UNIMAP_ENABLE is defined
2023-06-13 14:13:55 +09:00
tmk
b2edf39094 ibmpc: Remove unused error code 2023-06-10 18:15:45 +09:00
tmk
46a060cd88 core: Include action_layer.h 2023-03-22 23:11:43 +09:00
tmk
0090098141 lufa: Fix system/consumer report in Boot mouse
Cannot send system/consumer report while mouse is set
in boot protocol. Mouse, system and consumer report shares
one interface using different report IDs. In boot protocol
only mouse can report without report ID. If a report ID is
sent while in boot protocol it will be recognized as mosue
button state incorrectly by host.

A user reported that Mac ejects disc drive at startup when
using NeXT converter. Keeping mouse button pressed while
bootup forces Mac to eject disc.
2023-03-05 22:11:18 +09:00
tmk
45c7057b3b core: Fix BTLD action for tap key 2023-03-02 09:52:41 +09:00
tmk
e7aa03c8ab lufa: Fix debug messages 2023-02-27 13:12:20 +09:00
tmk
b3d2f64bb3 lufa: Fix condition for atmega32u2
the condition didn't work when variable MCU includes comment like:
    MCU ?= atmega32u2       # TMK converter
https://github.com/tmk/tmk_keyboard/issues/753

This affects RemoteWakeup on atmega32u2:
https://github.com/tmk/tmk_keyboard/issues/361
2023-02-26 22:35:09 +09:00
tmk
d51023bc8b ibmpc: Fix XT startup fail #751
SIEMENS_PCD_SUPPORT #747 code should be applied only for AT.
The code inhibits AT keyboard from sending by pulling clock line
down, this made XT keyboard support messed.
2023-02-17 09:12:57 +09:00
tmk
1852af2d76 usb_hid: Ducky One 2 Mini support #697 2023-02-01 09:50:56 +09:00
tmk
2dd9483383 m0110: Attempt international layout support 2023-01-30 12:03:09 +09:00
tmk
dc039fdf1a usb_hid: Update UHS2 for Apple Magic Keyboard(A1644/A1843) 2023-01-24 08:23:25 +09:00
tmk
cdf4bfc3ae usb_usb: Fix for Apple Magic Keyboard(A1644/A1843)
The device has keyboard function at interface 1, not 0. #606
2023-01-22 18:05:10 +09:00
tmk
d3fdaceb51 usb_usb: Update USB_Host_Shield_2.0-tmk
- hidboot SET_PROTOCOL/SET_IDLE fix #738
- merge upstream
2022-10-21 15:32:53 +09:00
tmk
52cdb909c9 ibmpc: siemens: Add inhibit after send/recv #747
SIEMENS PCD 2 Keyboard seems to require "inhibit" for a while after
sending and receiving session, for some reason.
A computer that can work with the keyboard adds "inhibit" after
communications, and this appears to be remedy for the keyboard.
https://github.com/tmk/tmk_keyboard/issues/747
2022-08-25 09:47:52 +09:00
tmk
4d32fbadb6 core: Increase buffer size for sotware serial
- serial_mouse can lost mouse data when enabling debug print
- TODO: serial_soft blocks in ISR for too long time
2022-06-03 23:35:23 +09:00
tmk
360872d269 core: Build option for LTO(Link Time Optimization)
This makes firmware size small but need to be tested more.
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options
https://github.com/arduino/Arduino/issues/660
https://github.com/arduino/ArduinoCore-avr/blob/master/platform.txt

* No `-fno-fat-lto-objects` is needed, it is the default.
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-ffat-lto-objects
* No `-fuse-linker-plugin` is needed, it is the default.
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fuse-linker-plugin
2022-05-31 13:30:44 +09:00
tmk
3531ea81af adb: Remove unused definitions 2022-05-30 17:20:07 +09:00
tmk
d8991ce621 adb: Add wait after listen and talk
to make clear between stop bit and next attention
2022-05-30 17:20:07 +09:00
tmk
894f6b2ae5 adb: Fix comment of SRQ(Service Request) 2022-05-30 17:20:07 +09:00
tmk
2dc680b760 usb_usb: Update USB_Host_Shield_2.0-tmk
- SET_PROTOCOL can fail on some devices #738
2022-05-05 14:25:53 +09:00
tmk
059a330a29 core: Add JPY to unimap position code 2022-04-25 22:37:52 +09:00
tmk
083a008b66 adb: Fix for set LED
ADB Manager documents p.5-28
> Register 2 contains sixteen bits; be sure to change only the three bits
> that represent the three LED lights.
https://developer.apple.com/library/archive/documentation/mac/pdf/Devices/ADB_Manager.pdf

iMate reads register2 before setting LED state for this.
https://github.com/tmk/tmk_keyboard/wiki/Apple-Desktop-Bus#set-led
2022-04-25 18:05:13 +09:00
tmk
f1f32a743f adb: Detection of Service Request(SRQ) 2022-04-24 19:02:35 +09:00
tmk
dcebfb4fc4 next: Fix NeXT keyboard signal timing #704
NeXT keyboard uses 52.75us per pulse.
https://github.com/tmk/tmk_keyboard/issues/704
https://github.com/tmk/tmk_keyboard/wiki/NeXT
2022-04-15 01:56:28 +09:00
tmk
011fb9e731 adb_usb: Add Logitech Extended mouse support 2022-04-11 21:38:57 +09:00
tmk
2141d742ca adb_usb: Add Mouse Systems A3 support 2022-04-11 21:21:44 +09:00
tmk
2080d391a7 adb_usb: Add Microspeed/Contour/CH Products support 2022-04-11 21:21:44 +09:00
tmk
64de561818 adb_usb: Add Logitech Mouseman/Trackman support 2022-04-11 21:21:44 +09:00
tmk
cf26ad4ae1 adb_usb: Add Macally2 support
adb_usb: Fix Macally2 signed integer
adb_usb: Keep `mouse_handler' until other shows up
https://elixir.bootlin.com/linux/v5.17/source/drivers/macintosh/adbhid.c#L1068
https://geekhack.org/index.php?topic=14290.msg3116799#msg3116799
2022-04-11 19:26:13 +09:00