You are not logged in.
Hello community,
the title is quite poorly formulated, let me try to explain. I'm using a Thinkpad X200T which has some extra keys on its screen. These keys are not recognized by xev, that is, they generate no keycodes. However, following the steps in https://wiki.archlinux.org/index.php/Ma … o_keycodes I was able to find out the scancodes and assign keycodes to them. My aim is to assign some specific actions to these keys, i.e. run some script or a shortkey. I would use xbindkeys and assign some commands to the keycodes.
So far everything works fine. However, I'm a bit puzzled which keycodes to use. The keycodes are supposed to be merely a bridge between the scancodes and xbindkeys. That is, I probably shouldn't use the keycode of, say, the A key - otherwise xbindkeys will steal the keypress events and I won't be able to use the A key any more. This, however, applies to all of the keys on the keyboard, all of them are potentially useful.
Therefore, my question is: Which keycodes to use such that no keys are spoiled? Or is there another way to map scancodes to actions directly?
Thanks in advance,
Photon
Last edited by PhotonX (2015-10-14 21:09:29)
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
Big thanks, this solves the problem!
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
By the way, you might want to use the symbols XF86RotateWindows for the rotation and XF86Tools for the toolbox button, they are probably assigned to a keycode already.
Last edited by progandy (2015-10-14 21:29:36)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thanks, that's a good idea!
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline