• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 179 180 181 182 183 ... 315 Next »

[SOLVED]Linux: Xbox360 Force Feedback Not Working
View New Posts | View Today's Posts

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[SOLVED]Linux: Xbox360 Force Feedback Not Working
05-28-2014, 12:11 PM (This post was last modified: 05-31-2014, 12:39 AM by random0munky.)
#1
random0munky Offline
Junior Member
**
Posts: 9
Threads: 3
Joined: May 2014
Hi,

Yes I did you the search but unfortunately there wasn't any definitive solution in getting the force-feedback feature for the gamepad working with Linux.

I have Linux Mint Debian Edition and Dolphin-emu v 4.0-1636 built from source. I'm using xboxdrv to handle the xbox360 controller. Everything works as far as button mapping is concerned, but unfortunately the force-feedback is not working.

I run the xboxdrv with the following commands:
sudo xboxdrv -d --force-feedback --silent

I had this running on Linux Mint 16 Petra with the ppa svn repository but after switching to Linux Mint Debian Edition, I lost this functionality.

While building from source I used this wiki as my guide: https://code.google.com/p/dolphin-emu/wiki/Linux_Build

Let me know if there's any additional information I can provide.

Thanks
Find
Reply
05-28-2014, 01:45 PM (This post was last modified: 05-28-2014, 01:46 PM by Shonumi.)
#2
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,475
Threads: 54
Joined: Dec 2011
I think you need to have compiled Dolphin with SDL2. SDL2 introduced haptics, but SDL 1.2 did not have it. I recently upgraded to Slackware 14.1, but I have yet to install SDL2 and I noticed that haptics weren't enabled in Dolphin (using a wired 360 controller). I'm fairly positive the lack of SDL2 is the cause, as a quick look at the CMakeLists.txt for Dolphin shows that it will just compile (or try to compile) with SDL 1.2.x or whatever if SDL2 is not present.
Website Find
Reply
05-28-2014, 01:54 PM
#3
ulao Offline
Above and Beyond
*******
Posts: 1,031
Threads: 81
Joined: May 2009
I dont know much about the other flavors but in Ubuntu I had to do this.

1. Install the ubuntu dev packages and kernel sources
2. Copy over the ubuntu kernel config so that your custom build matches your currently running/installed kernel
3. Run make xconfig and add force-feedback support as a module
4. Build and install the new module(s): make && make modules_install

You can then install the module with "modprobe module_name". As long as you built with the same kernel you're running, you don't need to bother installing the new one or even rebooting.

Far from ideal, I know, but it should be doable.

Edit:
If you wanted to try this, this wiki page seems to have good directions on the topic:
https://help.ubuntu.com/community/Kernel/Compile
[Image: newLogo_white_small.png]

main page
Working controllers


[url=http://spreadsheets.google.com/pub?key=tGD-U_eW1Rc7rNyqkpgJuIg&output=html][/url]
Find
Reply
05-28-2014, 10:22 PM (This post was last modified: 05-28-2014, 10:35 PM by random0munky.)
#4
random0munky Offline
Junior Member
**
Posts: 9
Threads: 3
Joined: May 2014
(05-28-2014, 01:45 PM)Shonumi Wrote: I think you need to have compiled Dolphin with SDL2. SDL2 introduced haptics, but SDL 1.2 did not have it. I recently upgraded to Slackware 14.1, but I have yet to install SDL2 and I noticed that haptics weren't enabled in Dolphin (using a wired 360 controller). I'm fairly positive the lack of SDL2 is the cause, as a quick look at the CMakeLists.txt for Dolphin shows that it will just compile (or try to compile) with SDL 1.2.x or whatever if SDL2 is not present.

Thank You. People were talking about SDL and Xinput which I really didn't have any idea as far as the 2 different versions of SDL being the contender as far as allowing or disallowing force-feedback. Compiling dolphin-emu now with libsdl-2.0-dev at the moment. Will report back.

Thank You Shonumi,

The force-feedback is working once installing libsdl2.0-dev and uninstalling libsdl1.2-dev. You guys can mark this thread as resolved.
Find
Reply
« Next Oldest | Next Newest »


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


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode