pastaq@lemmy.mltoWorld News@lemmy.ml•Japan to release Fukushima water into ocean starting Aug 24
43·
1 year agoI’m fairly confident they were referring to the criticism from China FTA, but you’d need to read past the headline for that context so…
I’m fairly confident they were referring to the criticism from China FTA, but you’d need to read past the headline for that context so…
If you run
sudo dmesg -w
it should tell you the scancodes that each of those events is triggering. You can then create a /etc/udev/hwdb.d/50-my-device.hwdb file to map those scan codes to keycodes.Here’s an example of a .hwdb file I made for Ayaneo handhelds:
## AYANEO DEVICES evdev:name:AT Translated Set 2 keyboard:dmi:*:svnAYANEO:* KEYBOARD_KEY_66=f15 KEYBOARD_KEY_67=f16 KEYBOARD_KEY_68=f17
You can find the appropriate evdev:* information by running
sudo udevadm test /dev/input/eventX
where eventX is the evdev fd for the device in question. evtest will show you the names.