1 Oct 2008 02:49
Re: [clug] Installfest wrap-up report
On Mon, Sep 29, 2008 at 06:49:53PM +1000, Ian wrote: > Hey Paul, > > <snip> > > So another question, if I have a device how do I capture what key is > > pressed, I tried the following command > > > > hexdump -C /dev/input/event3 > > > > but couldn't make much sense of the output, and only now I should have > > compared it with a dump of a "real" keyboard. > > > Use evtest for this (ooh, another one for Command of the Hour) - it > decodes those binary chants into human understandable output. In > debian based distros it can be found in the dvb-utils package. For those on Debian Lenny (or Lenny derived distros) the evtest tool has been moved to the 'joystick' package and dvb-utils is a dummy package for dvb-apps. joystick conflicts with dvb-utils but if you have dvb-apps installed removing the dvb-utils package does nothing. > > Cheers, > -Ian > > > -- > http://darkstarshout.blogspot.com/ > --(Continue reading)
RSS Feed