USB gamepad support... only XB Controller
#1
Hey,
have an old Saitek P880 controller, but can not get it working in XBMC (12.1/ gamepad/joystick enabled).

No problem using this pad with Win7 64bit, but no reaction in XBMC.
Checked this forum from help... and it seems that gamepad/joystick support is rather difficult?

Would a Microsoft controller work perfectly? Or also tricky installation?


Thanks for help
Tomsan
Reply
#2
Hey tomsan,

I'll check out the joystick problem, can you post a debug log running xbmc with the controller plugged in? It shouldn't be too hard, the instructions are here: http://wiki.xbmc.org/index.php?title=Log_file
Reply
#3
OK as follows:
*******************************


20:00:14 T:3180 NOTICE: -----------------------------------------------------------------------
20:00:14 T:3180 NOTICE: Starting XBMC (12.1 Git:20130317-0d373cc), Platform: Windows 7 SP1 64-bit, build 7601. Built on Mar 17 2013 (compiler 1600)
20:00:14 T:3180 NOTICE: Intel® Core™ i3 CPU M 330 @ 2.13GHz
20:00:14 T:3180 NOTICE: Desktop Resolution: 1600x900 32Bit at 60Hz
20:00:14 T:3180 NOTICE: Running with restricted rights
20:00:14 T:3180 NOTICE: Aero is enabled
20:00:14 T:3180 NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
20:00:14 T:3180 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
20:00:14 T:3180 NOTICE: special://masterprofile/ is mapped to: C:\Users\tom\AppData\Roaming\XBMC\userdata
20:00:14 T:3180 NOTICE: special://home/ is mapped to: C:\Users\tom\AppData\Roaming\XBMC\
20:00:14 T:3180 NOTICE: special://temp/ is mapped to: C:\Users\tom\AppData\Roaming\XBMC\cache
20:00:14 T:3180 NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
20:00:14 T:3180 NOTICE: Local hostname: tom-schleppi
20:00:14 T:3180 NOTICE: Log File is located: C:\Users\tom\AppData\Roaming\XBMC\xbmc.log
20:00:14 T:3180 NOTICE: -----------------------------------------------------------------------
20:00:15 T:3180 NOTICE: Found 2 Lists of Devices
20:00:15 T:3180 NOTICE: Enumerated DirectSound devices:
20:00:15 T:3180 NOTICE: Device 1
20:00:15 T:3180 NOTICE: m_deviceName : {69CAF1A9-835D-4019-81A5-C20F88162B9B}
20:00:15 T:3180 NOTICE: m_displayName : Speakers - Lautsprecher (Realtek High Definition Audio)
20:00:15 T:3180 NOTICE: m_displayNameExtra: DirectSound: Lautsprecher (Realtek High Definition Audio)
20:00:15 T:3180 NOTICE: m_deviceType : AE_DEVTYPE_PCM
20:00:15 T:3180 NOTICE: m_channels : FL,FR,FC,BL,BR,LFE
20:00:15 T:3180 NOTICE: m_sampleRates : 48000
20:00:15 T:3180 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3
20:00:15 T:3180 NOTICE: Enumerated WASAPI devices:
20:00:15 T:3180 NOTICE: Device 1
20:00:15 T:3180 NOTICE: m_deviceName : {69CAF1A9-835D-4019-81A5-C20F88162B9B}
20:00:15 T:3180 NOTICE: m_displayName : Speakers - Lautsprecher (Realtek High Definition Audio)
20:00:15 T:3180 NOTICE: m_displayNameExtra: WASAPI: Lautsprecher (Realtek High Definition Audio)
20:00:15 T:3180 NOTICE: m_deviceType : AE_DEVTYPE_PCM
20:00:15 T:3180 NOTICE: m_channels : FL,FR,FC,LFE,BL,BR
20:00:15 T:3180 NOTICE: m_sampleRates : 192000,96000,48000,44100
20:00:15 T:3180 NOTICE: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S24LE4,AE_FMT_S24BE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_LPCM
20:00:15 T:3180 NOTICE: load settings...
20:00:15 T:3180 NOTICE: special://profile/ is mapped to: special://masterprofile/
20:00:15 T:3180 NOTICE: loading special://masterprofile/guisettings.xml
20:00:15 T:3180 NOTICE: Getting hardware information now...
20:00:15 T:3180 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
20:00:15 T:3180 NOTICE: Loaded playercorefactory configuration
20:00:15 T:3180 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
20:00:15 T:3180 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
20:00:15 T:3180 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
20:00:15 T:3180 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
20:00:15 T:3180 NOTICE: Default DVD Player: dvdplayer
20:00:15 T:3180 NOTICE: Default Video Player: dvdplayer
20:00:15 T:3180 NOTICE: Default Audio Player: paplayer
20:00:15 T:3180 NOTICE: Disabled debug logging due to GUI setting. Level 0.
20:00:15 T:3180 NOTICE: Log level changed to 0
20:00:15 T:3180 NOTICE: Loading media sources from special://masterprofile/sources.xml
20:00:15 T:4328 NOTICE: Thread CSoftAE start, auto delete: false
20:00:15 T:3180 NOTICE: Running database version Addons15
20:00:15 T:3096 NOTICE: Thread XBMC Peripherals start, auto delete: false
20:00:15 T:6000 NOTICE: Previous line repeats 1 times.
20:00:15 T:6000 NOTICE: Thread CRemoteControl start, auto delete: false
20:00:15 T:2608 NOTICE: Thread Jobworker start, auto delete: true
20:00:15 T:3180 NOTICE: Found screen: PnP-Monitor (Standard) on AMD Radeon HD 6570M/5700 Series, adapter 2.
20:00:15 T:3180 NOTICE: Primary mode: 1600x900 @ 60.00 - Full Screen
20:00:15 T:3180 NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
20:00:15 T:3180 NOTICE: Previous line repeats 2 times.
20:00:15 T:3180 NOTICE: Additional mode: 800x480 @ 60.00 - Full Screen
20:00:15 T:3180 NOTICE: Previous line repeats 2 times.
20:00:15 T:3180 NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
20:00:15 T:3180 NOTICE: Previous line repeats 2 times.
20:00:15 T:3180 NOTICE: Additional mode: 1024x600 @ 60.00 - Full Screen
20:00:15 T:3180 NOTICE: Previous line repeats 2 times.
20:00:15 T:3180 NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
20:00:15 T:3180 NOTICE: Previous line repeats 2 times.
20:00:15 T:3180 NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
20:00:15 T:3180 NOTICE: Previous line repeats 2 times.
20:00:15 T:3180 NOTICE: Additional mode: 1280x768 @ 60.00 - Full Screen
20:00:15 T:3180 NOTICE: Previous line repeats 2 times.
20:00:15 T:3180 NOTICE: Additional mode: 1600x900 @ 60.00 - Full Screen
20:00:15 T:3180 NOTICE: Checking resolution 16
20:00:16 T:3180 NOTICE: Running database version Addons15
20:00:16 T:3180 NOTICE: Running database version ViewModes4
20:00:16 T:3180 NOTICE: Running database version Textures13
20:00:16 T:3180 NOTICE: Running database version MyMusic32
20:00:16 T:3180 NOTICE: Running database version MyVideos75
20:00:16 T:3180 NOTICE: Running database version TV22
20:00:16 T:3180 NOTICE: Running database version Epg7
20:00:16 T:3180 NOTICE: initializing playlistplayer
20:00:16 T:3180 NOTICE: DONE initializing playlistplayer
20:00:16 T:3180 NOTICE: initialize done
20:00:16 T:3180 NOTICE: CJoystick::EnumJoysticksCallback : Enabled Joystick: Saitek P880 Pad
20:00:16 T:3180 NOTICE: CJoystick::EnumJoysticksCallback : Total Axis: 4 Total Hats: 1 Total Buttons: 12
20:00:16 T:3180 NOTICE: Running the application...
20:00:16 T:3180 NOTICE: ES: Starting event server
20:00:16 T:5872 NOTICE: Thread CEventServer start, auto delete: false
20:00:16 T:5872 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
20:00:16 T:5872 NOTICE: UDP: Listening on port 9777
20:00:16 T:5144 NOTICE: Thread CTCPServer start, auto delete: false
20:00:16 T:4452 NOTICE: Thread CRssReader start, auto delete: false
20:00:19 T:3180 NOTICE: CJoystick::EnumJoysticksCallback : Enabled Joystick: Saitek P880 Pad
20:00:19 T:3180 NOTICE: CJoystick::EnumJoysticksCallback : Total Axis: 4 Total Hats: 1 Total Buttons: 12
20:00:44 T:3180 NOTICE: CJoystick::EnumJoysticksCallback : Enabled Joystick: Saitek P880 Pad
20:00:44 T:3180 NOTICE: CJoystick::EnumJoysticksCallback : Total Axis: 4 Total Hats: 1 Total Buttons: 12
20:00:47 T:5224 NOTICE: Thread Background Loader start, auto delete: false
20:00:47 T:5840 NOTICE: Thread Jobworker start, auto delete: true
20:00:49 T:1808 NOTICE: Thread XBPyThread start, auto delete: false
20:00:49 T:1808 NOTICE: -->Python Interpreter Initialized<--
20:00:49 T:1808 NOTICE: XBMC Log Uploader: started
20:00:49 T:1808 NOTICE: XBMC Log Uploader: settings: len(email)=17
20:00:49 T:1808 NOTICE: XBMC Log Uploader: settings: skip_oldlog=True
20:01:18 T:3180 NOTICE: CJoystick::EnumJoysticksCallback : Enabled Joystick: Saitek P880 Pad
20:01:18 T:3180 NOTICE: CJoystick::EnumJoysticksCallback : Total Axis: 4 Total Hats: 1 Total Buttons: 12
20:01:20 T:5564 NOTICE: Thread XBPyThread start, auto delete: false
20:01:20 T:5564 NOTICE: -->Python Interpreter Initialized<--
20:01:20 T:5564 NOTICE: XBMC Log Uploader: started
20:01:20 T:5564 NOTICE: XBMC Log Uploader: settings: len(email)=17
20:01:20 T:5564 NOTICE: XBMC Log Uploader: settings: skip_oldlog=True
20:01:21 T:5564 NOTICE: XBMC Log Uploader: reading log...
**********************************

No reaction from my Saitek P880
Thanks for help
m
To
Reply
#4
The controller needs to be added to a keymap.xml file. Instructions are here: http://wiki.xbmc.org/index.php?title=Keymap and http://wiki.xbmc.org/index.php?title=HOW...yboard.xml

Start with opening C:\Program Files (x86)\XBMC\system\keymaps\joystick.Microsoft.Xbox.360.Controller.xml and adding the line <altname>Saitek P880 Pad</altname> to the <global > section:
Code:
<keymap>
  <global>
    <joystick name="Controller (XBOX 360 For Windows)">
      <altname>Saitek P880 Pad</altname>

If that registers, and you're happy with the button layout (with the 1-6 and creepy looking S button), you can just stick the <altname> under all 40-something windows joysticks entries. In that case, let me know and I'll backport the <altname> to Frodo 12.2. If not, you can follow the instructions above, by creating a new .xml file with any filename in C:\Users\tomsan\AppData\Roaming\XBMC\userdata\keymaps\ , and defining your preferred keymap entries. Good luck!
Reply
#5
Grrrrreat! Working....
Button are... lets say, not perfect. Will have a look on this also.

Thanks for you help!
Reply
#6
Hahaha looks like you have some configurating to do... have fun! :p
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
USB gamepad support... only XB Controller00