Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Controlling XBMC with a PS3 controller.
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Controlling XBMC with a PS3 controller.
7th Sep, 2013, 11:34 AM
Post: #1
Takenover83 Offline
Registered
Posts: 14
Joined: Sep 2013
Reputation: 1
Controlling XBMC with a PS3 controller.
I finally got RetroPie up and running on Xbian. Lots of little issue's along the way (getting sound working was one). Now I would like to control XBMC via my PS3 controller, which is already working in Xbian over usb. I tried creating a keymap.xml is ".xbmc/userdata/keymaps/keymap.xml" but it still it not working. Controller works fine in emulationstation/retroarch. i got the ps3 config from the xbmc wiki.

Code:
<keymap>
  <global>
    <joystick name="PLAYSTATION(R)3 Controller (00:06:F7:66:24:76)">
      <button id="1">Info</button>          <!-- Select -->
      <button id="2">ContextMenu</button>   <!-- L3 -->
      <button id="3">CodecInfo</button>     <!-- R3 -->
      <button id="4">Play</button>          <!-- Start -->
      <button id="5">Up</button>            <!-- D-Pad Up -->
      <button id="6">Right</button>         <!-- D-Pad Right -->
      <button id="7">Down</button>          <!-- D-Pad Down -->
      <button id="8">Left</button>          <!-- D-Pad Left -->
      <button id="9">Rewind</button>        <!-- L2 -->
      <button id="10">FastForward</button>  <!-- R2 -->
      <button id="11">SkipPrevious</button> <!-- L1 -->
      <button id="12">SkipNext</button>     <!-- R1 -->
      <button id="13">ParentDir</button>    <!-- Triangle -->
      <button id="14">Stop</button>         <!-- Circle -->
      <button id="15">Select</button>       <!-- X -->
      <button id="16">OSD</button>          <!-- Square -->
    </joystick>
  </global>
</keymap>

I got the name of my generic PS3 controller using the following command.
Code:
cat /proc/bus/input/devices
Which gave me the name and following info.
Code:
I: Bus=0003 Vendor=054c Product=0268 Version=0111
N: Name="SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller"
P: Phys=usb-bcm2708_usb-1.2/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input2
U: Uniq=
H: Handlers=event2 js0
B: PROP=0
B: EV=1b
B: KEY=7 0 0 0 0 0 0 0 0 0 0 0 0 ffff 0 0 0 0 0 0 0 0 0
B: ABS=7fffff00 27
B: MSC=10
I edited in the name of my controller but it still it not working. Here is a snippet of the edit to keymap.xml
Code:
<keymap>
  <global>
    <joystick name="SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller">

What do I need to do to get this PS3 controller working in XBMC?

Off topic quetion. I stopped XBMC from starting on boot, but how do I set emulationstation to start on boot?
Find all posts by this user
Quote this message in a reply
8th Sep, 2013, 04:06 AM
Post: #2
Takenover83 Offline
Registered
Posts: 14
Joined: Sep 2013
Reputation: 1
RE: Controlling XBMC with a PS3 controller.
A little more info. I ran the following command to show all input from the controller.
Code:
jstest /dev/input/js0
I see lots of text when pressing button's, etc... But as soon as I load xbmc all this text stops. Any one know why?
I have uploaded the log file from xbmc.


Attached File(s)
.zip  xbmc.zip (Size: 15.27 KB / Downloads: 1)
Find all posts by this user
Quote this message in a reply
11th Sep, 2013, 11:28 AM
Post: #3
Takenover83 Offline
Registered
Posts: 14
Joined: Sep 2013
Reputation: 1
RE: Controlling XBMC with a PS3 controller.
I think it's because XBMC may have been compiled without joystick support?
Find all posts by this user
Quote this message in a reply
11th Sep, 2013, 12:12 PM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Controlling XBMC with a PS3 controller.
yes

https://github.com/xbianonpi/xbian/wiki/Compiling-XBMC-&-XBMC-dependencies

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
11th Sep, 2013, 08:24 PM
Post: #5
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Controlling XBMC with a PS3 controller.
I compiled XBMC Gotham with --enable-joystick, to install (frodo didn't compile)

Code:
wget http://dikonist.asuscomm.com:82/XBian/APT/pool/main/x/xbian-package-xbmc-gotham-nightly/xbian-package-xbmc-gotham-nightly_2.9-10.3_armhf.deb
sudo dpkg -i xbian-package-xbmc-gotham-nightly_2.9-10.3_armhf.deb

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
26th Nov, 2013, 06:29 PM
Post: #6
JuStAdsor Offline
Registered
Posts: 4
Joined: Nov 2013
Reputation: 2
RE: Controlling XBMC with a PS3 controller.
(7th Sep, 2013 11:34 AM)Takenover83 Wrote:  I finally got RetroPie up and running on Xbian. Lots of little issue's along the way (getting sound working was one). Now I would like to control XBMC via my PS3 controller, which is already working in Xbian over usb. I tried creating a keymap.xml is ".xbmc/userdata/keymaps/keymap.xml" but it still it not working. Controller works fine in emulationstation/retroarch. i got the ps3 config from the

Hi,

How did you get retropie working? with the PS3 controler and fully functional in xbian?
Can you post the steps? Smile

Thnak you
Find all posts by this user
Quote this message in a reply
1st Dec, 2013, 12:21 PM
Post: #7
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Controlling XBMC with a PS3 controller.
(11th Sep, 2013 08:24 PM)Koenkk Wrote:  I compiled XBMC Gotham with --enable-joystick, to install (frodo didn't compile)

Code:
wget http://dikonist.asuscomm.com:82/XBian/APT/pool/main/x/xbian-package-xbmc-gotham-nightly/xbian-package-xbmc-gotham-nightly_2.9-10.3_armhf.deb
sudo dpkg -i xbian-package-xbmc-gotham-nightly_2.9-10.3_armhf.deb

@Koenkk

is --enable-joystick default compile option for gotham?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
20th Jun, 2014, 08:39 AM
Post: #8
woonx Offline
Registered
Posts: 10
Joined: Feb 2013
Reputation: 0
RE: Controlling XBMC with a PS3 controller.
I am also interested in controlling XBMC using a gamepad. Has there been any progress in this matter? Is that option enabled in Gotham?
Find all posts by this user
Quote this message in a reply
7th Aug, 2014, 06:11 AM
Post: #9
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Controlling XBMC with a PS3 controller.
@woonx

it is not. with default XBMC config files joystick triggers SDL requirement and SDL -> X11. and this messes with windowing system .

last time I tried I got XBMC compile, Joystick was declared as supported but it was'nt.

if anyone knows combo/patch to make this work, post it.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
24th Aug, 2014, 09:12 AM
Post: #10
marxkemp Offline
Registered
Posts: 3
Joined: Aug 2013
Reputation: 1
Controlling XBMC with a PS3 controller.
Love to know how to get retropie working from xbmc (with adv launcher or rcb)
Find all posts by this user
Quote this message in a reply
6th Sep, 2014, 10:11 PM
Post: #11
mogger Offline
Registered
Posts: 1
Joined: Sep 2014
Reputation: 0
RE: Controlling XBMC with a PS3 controller.
I got the answer here http://everyday-tech.com/the-complete-guide-to-the-ultraslim-raspberry-pi-image/
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [XBMC] Audio problem when controlling with android effemmeffe 2 9,931 4th Feb, 2013 10:10 PM
Last Post: effemmeffe

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 03:21 PM Powered By MyBB, © 2002-2025 MyBB Group.