You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seems that the keycodes 0xB0-0xDD are not supported by Windows and Linux and not useful in fact.
Using the code ranges(0xA5-FF) for TMK internal special purpose would be reasonable and preferable for users.
In current implementation, they are actually used as keyocodes of media keys and mouse keys. I'll keep this current implementation and KP_00 and KP_000 are not supported by default.
If you want to send USB HID usage range (0xB0-DD) instead of media/mouse keys define USE_ORIGINAL_HID_USAGE in config.h.
Keycodes 0xB0-0xDD(HID usages) including
KP_00
andKP_000
are not supported with current firmware.https://github.com/tmk/tmk_keyboard/blob/master/tmk_core/common/keycode.h#L357-L402
0xA5-DF and 0xF0-FF are used for special purpose like media and mouse keys. This code range conflicts the HID usages(0xB0-DD).
https://github.com/tmk/tmk_keyboard/blob/master/tmk_core/common/keycode.h#L417-L483
With current implementation
ACTION_KEY(0xB0)
is translated toKC_MEDIA_PLAY_PAUSE
, notKC_KP_00
.This patch changes this behaviour in reverse.
register_code()
andunregister_code()
need to be changed, perhaps.https://github.com/tmk/tmk_keyboard/blob/master/tmk_core/common/action.c#L418-L441
Also refer to this.
https://deskthority.net/viewtopic.php?p=487067#p487067
The text was updated successfully, but these errors were encountered: