[mythtv-users] Program to simulate keypresses
Jeff Monks
mythtv at skunkeye.com
Sat Jul 12 00:13:42 EDT 2003
On Fri, 11 Jul 2003, Eric Thelin wrote:
> I saw a post here a while back but can't seem to find it in the archives
> or on the web. I am looking for a program that simulates a key press
> much like irxevent does for remote keys. I am trying to setup bindings
> for the extra keys on my logitech wireless keyboard and I want to map
> them to regular keys.
Try running "xev" and then pressing the keys. Most keyboards with extra
keys send a regular keyboard event with them, it's just that the value for
that event isn't mapped to anything, so it's ignored. Look for the
"keycode" value in the xev output, then use xmodmap to map that keycode
value to whatever actual key you want, like so:
xmodmap -e "keycode 167 = Enter"
More information about the mythtv-users
mailing list