2013-09-04, 12:55
Essentially you are doing well. You need to test the different event# to gather the right device.
I had done the very same as you did:
To get a list of receivers. You will get something similar to:
Check the different devices with (X being the number you get from the command above):
Then you will get the keypresses.
Hope it helps.
I had done the very same as you did:
Code:
cat /proc/bus/input/devices
To get a list of receivers. You will get something similar to:
Code:
I: Bus=0003 Vendor=1915 Product=af11 Version=0111
N: Name="2.4G Wireless Receiver "
P: Phys=usb-0000:00:04.0-6/input0
S: Sysfs=/devices/pci0000:00/0000:00:04.0/usb2/2-6/2-6:1.0/input/input4
U: Uniq=
H: Handlers=sysrq kbd event4
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=1f
I: Bus=0003 Vendor=1915 Product=af11 Version=0111
N: Name="2.4G Wireless Receiver "
P: Phys=usb-0000:00:04.0-6/input1
S: Sysfs=/devices/pci0000:00/0000:00:04.0/usb2/2-6/2-6:1.1/input/input5
U: Uniq=
H: Handlers=kbd mouse1 event5
B: PROP=0
B: EV=1f
B: KEY=4837fff072ff32d bf54444600000000 f80001 20f908b17c000 677bfad941dfed 9ed68000804400 10000002
B: REL=1c3
B: ABS=100000000
B: MSC=10
Check the different devices with (X being the number you get from the command above):
Code:
/lib/udev/keymap -i input/eventX
Then you will get the keypresses.
Hope it helps.