m...@netbsd.org (Emmanuel Dreyfus) writes:

>On Thu, May 12, 2022 at 07:26:58AM +0200, Michael van Elst wrote:
>> This seems to suggest that we have special codes on the JIS keyboard
>> for:
>> 
>> Yen   0x5d  (KC_JPY ?)
>> Ro    0x5e  (KC_RO ?)
>> Eisu  0x66  (Switch to Roman)
>> Kana  0x68  (Switch to Hiragana)
>> ,     0x5f  (numeric keypad)

>       switch (key) {
>               case 0x5F:      // numpad ',' using raw ADB scan code
>                       charCode = ',';
>                       break;

>Does that means USB scancode for ADB KS_comma (43), that is 54?
>Or ASCII code for comma, that is 44?


I think that code translates from keycode (0x5f) to ASCII ',' (44).

Reply via email to