|
From: Jari A. <ja...@pr...> - 2006-01-23 09:20:04
|
Some of the buttons on your remote must be emulating a mouse. Except that it isn't doing standard mouse stuff either because the event codes are weird (standard mouse does event codes < 10). Unfortunately the devinput code in current lirc only supports keyboard keys. I did an enhancement for devinput to support the "mouse" in my remote but it wouldn't work for what you have. - Jari > -----Original Message----- > From: lir...@li...=20 > [mailto:lir...@li...] On Behalf Of=20 > Tiemen Gysels > Sent: 22 January 2006 22:52 > To: lir...@li... > Subject: "value" instead of "code" is changing >=20 > Hi, >=20 > A while ago someone asked if it is possible to configure LIRC to use > the value rather than the code to recognise buttons, because this is > the output of irrecord: >=20 > -- first button press -- > irrecord: devinput_rec > irrecord: time 1120506480.602489 type 2 code 10 value 247 > irrecord: code 8002000a > irrecord: devinput_rec > irrecord: time 1120506480.602493 type 2 code 11 value 3 > irrecord: code 8002000b > irrecord: devinput_rec > irrecord: time 1120506480.602497 type 2 code 12 value 252 > irrecord: code 8002000c > irrecord: devinput_rec > irrecord: time 1120506480.602501 type 0 code 0 value 0 > irrecord: code 00000000 > -- next button press -- > irrecord: devinput_rec > irrecord: time 1120506483.361999 type 2 code 10 value 247 > irrecord: code 8002000a > irrecord: devinput_rec > irrecord: time 1120506483.362004 type 2 code 11 value 4 > irrecord: code 8002000b > irrecord: devinput_rec > irrecord: time 1120506483.362007 type 2 code 12 value 251 > irrecord: code 8002000c > irrecord: devinput_rec > irrecord: time 1120506483.362011 type 0 code 0 value 0 > irrecord: code 00000000 >=20 > The conf file created looks like this: >=20 > bits 0 > eps 30 > aeps 100 >=20 > one 0 0 > zero 0 0 > pre_data_bits 32 > pre_data 0x8002000A > gap 211804 > toggle_bit 32 >=20 >=20 > begin codes > POWER 0x0000000000000000 > UP 0x0000000000000000 > BACK 0x0000000000000000 > LEFT 0x0000000000000000 > OK 0x0000000000000000 > RIGHT 0x0000000000000000 > PRE 0x0000000000000000 > DOWN 0x0000000000000000 > NEXT 0x0000000000000000 > STOP 0x0000000000000000 > PLAY 0x0000000000000000 > VOL+ 0x0000000000000000 > MENU 0x0000000000000000 > VOL- 0x0000000000000000 > end codes >=20 > I recently bought the same remote (Edio USB remote, which seems to > work as a HID USB device) and I was wondering if there's a solution. >=20 > Thanks in advance, > Tiemen >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep=20 > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. =20 > DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=103432&bid#0486&dat=121642 >=20 |