Closed hiradimir closed 2 years ago
I think this is because HID Remapper's output report descriptor doesn't include the codes (usages) for these keys. It should be possible to fix this.
Can you try this: with the keyboard connected, go to the web config tool, open device, then click on the one of the "input" or "output" buttons and scroll to the bottom. After the "Layer 1/2/3" buttons there should be additional buttons with labels like "0x0007008a" or similar. Can you tell me what they are?
Based on this page: https://www.scs.stanford.edu/10wi-cs140/pintos/specs/kbd/scancodes-7.html, I believe the usage codes are as follows:
key | code |
---|---|
[¥|] | 0x89 |
[henkan] | 0x8a |
[muhenkan] | 0x8b |
[kana] | 0x88 |
[_] | 0x87 |
Currently HID Remapper only supports codes up to 0x73 (on the output side), but it should be an easy fix.
Based on the above assumptions I added support for Japanese keyboard keys in the latest commit (75160dc). They should work in passthrough mode and also it should be possible to use them as mapping inputs and outputs. Please test if you can.
@jfedor2 thank you for your reply
this comment is replying to https://github.com/jfedor2/hid-remapper/issues/23#issuecomment-1231967080
I pickup additional buttons information.
https://gist.github.com/hiradimir/240bc105629408d7a9d08767e42a31d7
@jfedor2 this comment is replying to https://github.com/jfedor2/hid-remapper/issues/23#issuecomment-1232166950
I appreciate the fix. I tried the commit. I think this version works very well for me. And also mapping setting test is works well.
By the way, web config tool is not still updated? I can't see these update at the tool. https://github.com/jfedor2/hid-remapper/commit/75160dc43df4e52f5fbc792d473b20af43ad64db#diff-0265bc23f52b243700ba1d9b856bf9145875aeec24235644d6d812f5aaae5a9cR135-R141
By the way, web config tool is not still updated? I can't see these update at the tool.
Try shift-reloading the website to get the new version.
(I need to sort out the caching so that it's not necessary in the future.)
@jfedor2 sorry, I confirmed these updated. thanks for your kindness.
I used it for a short period of time and had no problems.
May I close this issue?
Thank you for verifying, I'll close the issue now.
I trying hid-remapper with Japanese keyboard https://archisite.co.jp/products/archiss/progres-touch/retro-tkl-jp/. But, some below key does not working.
I marked circle not working key in this image.
[Unmapped inputs passthrough] configration is true.
OS-keyboard setting is JIS type ( when press shift-2 appeared ["] ) When I pressed above keys, green LED is flashing on rpi-pico, but does not appear key_code. I am checking key-event by Karabiner-EventViewer.
Is there anything I can do?