I'm trying to replace the fully fledged power hungry HTPC in our living room with a RPI2, and so far everything is great. We only used the HTPC for Plex, only difference being was the DS4 software and drivers for windows allowing the controller to be emulated as an x360 controller, and be used for plex and controlling the power etc...
I can get the controller recognized and connected via bluetooth and usb, but I cannot find anywhere where to map the buttons to keyboard commands or anything similar.
Any help or push in the right direction would be greatly appreciated. I'm not a complete Linux noob, but I'm not 100% comfortable enough to try figure things out like this on my own through SSH.
I'm trying to replace the fully fledged power hungry HTPC in our living room with a RPI2, and so far everything is great. We only used the HTPC for Plex, only difference being was the DS4 software and drivers for windows allowing the controller to be emulated as an x360 controller, and be used for plex and controlling the power etc...
I can get the controller recognized and connected via bluetooth and usb, but I cannot find anywhere where to map the buttons to keyboard commands or anything similar.
Any help or push in the right direction would be greatly appreciated. I'm not a complete Linux noob, but I'm not 100% comfortable enough to try figure things out like this on my own through SSH.
If your TV supports CEC, all modern TV's do, why not just use your TV remote?
If your TV supports CEC, all modern TV's do, why not just use your TV remote?
Similar situation here, except using the PS3 Remote Control... I tried using HDMI-CEC and by long and far the problem was lag. At least 1/2 a second for a button to be recognized via my receiver (Yamaha), worse if I used my TV remote (LG). Scrolling was a nightmare, missed button presses, over-correcting, and so on. Eventually CEC would just stop working (log filled up with errors about CEC from the LG TV) and the RPi would need to be rebooted to get it working again.
On the contrary, the PS3 remote is quite responsive. *Almost* instantaneous, but the button mapping is... weird. The subtitle button doesn't do anything, for example, and I don't think anything is mapped to be a context menu.
So any direction how to edit the key mapping on either device would be welcome.
Similar situation here, except using the PS3 Remote Control... I tried using HDMI-CEC and by long and far the problem was lag. At least 1/2 a second for a button to be recognized via my receiver (Yamaha), worse if I used my TV remote (LG). Scrolling was a nightmare, missed button presses, over-correcting, and so on. Eventually CEC would just stop working (log filled up with errors about CEC from the LG TV) and the RPi would need to be rebooted to get it working again.
On the contrary, the PS3 remote is quite responsive. *Almost* instantaneous, but the button mapping is... weird. The subtitle button doesn't do anything, for example, and I don't think anything is mapped to be a context menu.
So any direction how to edit the key mapping on either device would be welcome.
Is this the PS3 DVD type remote or are you using a PS3 controller?
If you are using the PS3 remote the following keymap file is what is being used by Rasplex.
When you have finished editing the file copy it to /storage/userdata/keymaps, this will overwrite the standard keymap file, you then need to Restart.
If you stuff it up, just delete the file in /storage/userdata/keymaps and Restart for the default mappings to be used and then try again.
If you need to make changes to finetune your file in /storage/userdata/keymaps using nano /storage/userdata/keymaps/joystick.PS3.Remote.Keyboard.xml. Remember after making changes you will need to Restart to load the changes.
I'm trying to replace the fully fledged power hungry HTPC in our living room with a RPI2, and so far everything is great. We only used the HTPC for Plex, only difference being was the DS4 software and drivers for windows allowing the controller to be emulated as an x360 controller, and be used for plex and controlling the power etc...
I can get the controller recognized and connected via bluetooth and usb, but I cannot find anywhere where to map the buttons to keyboard commands or anything similar.
Any help or push in the right direction would be greatly appreciated. I'm not a complete Linux noob, but I'm not 100% comfortable enough to try figure things out like this on my own through SSH.
Rasplex already has a default keymap for the PS3 controller but not the DS4, sorry.
I’ve had wayyy too many problems trying to use CEC, (All my media center stuff supports it, I just have the same problems stated above)
Thanks for answering my question. No doubt it will come in an update, I’ve decided to use rasplex in other rooms of the house for the mean time.
I’ve gotta point out I’ve had no problems at all with rasplex, it’s amazing how things just work when you’re not confined to winblows…
The link is dead. Did you get your DS4 to work for Rasplex with the .xml file you found?? When trying to test this, the DS4 does seem to pair fine with Rasplex (unlike PMP) but when running a tail -f it doesn’t appear to pick up any button commands from the controller so I’m curious if Rasplex is even recognizing the controller even though it says its paired…