2010-07-31, 21:31
I got this figured out, i installed bluez-4.63 from here http://www.kernel.org/pub/linux/bluetooth/ and patched it with bluez_ps3remote_4.60.diff from here http://kitlaan.twinaxis.com/projects/bluez-ps3remote/ (i could not get never versions to apply patches)
When you start bluetootg with command bluetooth -nd you can see the button presses in terminal.
Example how to modify your input.conf;
0x16 = KEY_E # EJECT
if you want remotecontroll button eject to get volume up, you look at the file /usr/include/linux/input.h for volume. I found it with cat /usr/include/linux/input.h|grep VOL and found out that KEY_VOLUMEUP is vol up, so changing the line
0x16 = KEY_E # EJECT
to
0x16 = KEY_VOLUMEUP # EJECT
changes the eject button on remote controll to volume up.
I hope this helps.
When you start bluetootg with command bluetooth -nd you can see the button presses in terminal.
Example how to modify your input.conf;
0x16 = KEY_E # EJECT
if you want remotecontroll button eject to get volume up, you look at the file /usr/include/linux/input.h for volume. I found it with cat /usr/include/linux/input.h|grep VOL and found out that KEY_VOLUMEUP is vol up, so changing the line
0x16 = KEY_E # EJECT
to
0x16 = KEY_VOLUMEUP # EJECT
changes the eject button on remote controll to volume up.
I hope this helps.