[mythtv-users] Binding multimedia keys?

David Zanetti dave2 at wetstring.net
Sat Jun 5 22:18:14 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 5 Jun 2004, Dean Blackburn wrote:

> It sounds like maybe you're having trouble mapping the "windows hotkeys" 
> on the remote... Which should* be possible, by remapping the keycodes 
> using Xmodmap.
> 
> To figure out what the keycodes are to begin with is the 'hard' part, 
> there are a number of tools that accomodate this nowadays, but none that 
> I've ever seen bundled with a distro. :/ Try 'xev', which is a pretty 
> generic X debugging app that tells you what key you've pressed, where 
> you've moved windows to, etc... It should give you enough to modify your 
> Xmodmap file. Maybe.

Dude! Works great. xev told me what the keycodes were, and xmodmap was
pretty easy to drive, so I have most of them mapped to something sane now,
and it works in Myth well :) 

There are one or two which seem to be a compound of key codes, they're not
mapped usefully at this point, but there's enough single key code buttons
on the remote that it doesn't matter. I have enough to build a map of most
everything I need. 

Thanks! :)

- -- 
David Zanetti           |  (__)             
#include <geek/unix.h>  |  ( oo    Mooooooo 
http://hairy.geek.nz/   |  /(_O ./         
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFAwn7oT21+qRy4P+QRArt2AJ4wLXfbEFMf8fqz6XqJQYEevE/CZwCfSGhs
d7wX03v/llXjKKh+UvN6zKk=
=XptA
-----END PGP SIGNATURE-----




More information about the mythtv-users mailing list