[LINUX] keymap.xml question mutiple keyboards
#1
Hi everyone

first of all
Sorry for bad English... Spanish here!

My question is about the keymap.xml file

I've recently bought a Sony BD Playstation 3 Remote controller (Model: CECHRZ1E). I've made it to work on ubuntu as a keyboard:

Code:
cat /proc/bus/input/devices

Code:
....

I: Bus=0003 Vendor=04d9 Product=0022 Version=0100
N: Name="Device USB Device"
P: Phys=usb-0000:00:1d.1-2/input2
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.2/input/input5
U: Uniq=
H: Handlers=kbd event5
B: EV=13
B: KEY=300a0 2000 0 0 0 0 780 2044000 603878 d801d6e9 1e0000 0 0 0
B: MSC=10

.....

I: Bus=0005 Vendor=054c Product=0306 Version=0000
N: Name="PS3 Remote Controller"
P: Phys=
S: Sysfs=/devices/virtual/input/input8
U: Uniq=
H: Handlers=kbd event8
B: EV=3
B: KEY=80000000 0 700000 1083c100 8c00ea 0 6bc00000 1 0 8000 1102 c0000801 801680 0 0 10000ffe


So those 2 are my keyboards.

Well I want to know if there is a possibility for XBMC to tell from which keyboard the event (keypress) was made.

I far as I see on
http://wiki.xbmc.org/index.php?title=Key...figuration

you can difference which joystick is making the event by setting on the xml tag
Code:
<joystick name="JOYSTICK NAME">

I was wondering if this is possible to make with keyboard and how to.

Thanks in advance!

Regards
Reply
#2
no. you should use the event client instead, see tools/EventClients/Clients
Reply
#3
Could you give me an example to configure my remote as a client of eventserver?
Reply
#4
just enable the event server in xbmc 'allow programs on this computer to control xbmc' (and the 'other computers' if relevant) in network settings.

run the eventclient, read the instructions on the pairing. shouldn't be more to it.
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] keymap.xml question mutiple keyboards0