Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NKRO cannot send code beyond 0x77 #128

Open
tmk opened this issue Jul 8, 2014 · 4 comments
Open

NKRO cannot send code beyond 0x77 #128

tmk opened this issue Jul 8, 2014 · 4 comments
Assignees

Comments

@tmk
Copy link
Owner

tmk commented Jul 8, 2014

You cannot send HID code 0x78- on NKRO report due to limitation of TMK report descriptor.
Some language specific keys of Japanese, Korean and Brazilian will suffer the limitation.
And if you send 0x78- on NKRO wrong code may send to host. This is a bug to be fixed. I'll fix it later.

This limitation can be circumvented with using bigger size report(16bytes is used now) but not sure I'll change it.

@tmk tmk added the TODO label Aug 9, 2014
@tmk
Copy link
Owner Author

tmk commented Aug 9, 2014

This will be fixed along with #117 later.

@tmk tmk self-assigned this Aug 9, 2014
@7fe
Copy link

7fe commented Sep 21, 2018

It appears this still being an issue means this likely won't work.

#575

@tmk
Copy link
Owner Author

tmk commented Sep 21, 2018

Do you have your code suffering this issue somewhere?

@tmk
Copy link
Owner Author

tmk commented Oct 2, 2018

Report size(endpoint size) is:
LUFA: 32
ChibiOS: 16
PJRC: 16

LUFA no longer have this issue due to extension of report size to 32 bytes at 61cad24
while other protocols still have.

With respective report size it can send following range of keycode in current report descriptor.
(16-1)*8 = 120 (0x00-0x77)
(32-1)*8 = 248 (0x00-0xF7)

TODO: Test flat report descriptor(00-FF) without modifier map on first byte.

HID usage of keyobard p.59:
https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf

@tmk tmk added the CHIBIOS label Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants