Hi, > For EVDEV_KPCOMMA it maps to XT KBD code 126 (0x7e in decimal) which > does not match your patch. I'm not sure where I got that mapping > from originally - probably from the Linux kernel's XT <-> evdev > keymapping tables. > > So presumably you were finding the KPCOMMA one was broken in > remote-viewer ?
Yes. FYI: https://www.kraxel.org/cgit/input/ recently got a 'emulate-key' utility which sends key events via uinput. This allows to test this kind of stuff without actually having a physical brazilian keyboard. cheers, Gerd