Steam for Linux

Steam for Linux

roothorick 25. aug 2013 kl. 16:39
Sixaxis/Dualshock 3 in Steam -- yes, it CAN be done!
-E- For wireless instructions go here: Unfortunately you currently can only have one or the other.

This is a bit rough but it works:

* Here's the secret. Create /etc/udev/rules.d/90-joystick-perms.rules with this line:

ENV{ID_INPUT_JOYSTICK}=="1", MODE="0660", GROUP="joystick"

* Create the joystick group, add yourself to it, and reload udev:

sudo groupadd -r joystick
sudo usermod -a -G joystick <your_linux_username_here>
sudo udevadm control --reload-rules

* Log out and back in for the group change to take effect.
* Connect controller via USB.
* Install xboxdrv. Open a terminal and run "xboxdrv --detach-kernel-driver". It should create a /dev/input/eventX file, and if the udev rule worked its permissions will look like this:

crw-rw---- root joystick 13, 78 /dev/input/event14

As long as xboxdrv is running, Steam will see and receive input from the controller. It's expecting a different buttonmapping so you'll have to go into the options and manually remap it.
Sidst redigeret af roothorick; 27. sep 2013 kl. 11:00
< >
Viser 1-8 af 8 kommentarer
Did you figure Bluetooth out? I am stuck at this point for a while.

I just plugged the DualShock3 in via USB - installed xboxdrv from ppa: grumbel/ppa.
Then i pressed the PlayStation Button and started the driver via
"sudo xboxdrv --detach-kernel-driver"
That was all i had to do to run it as Xbox controller.
OS is Ubuntu 13.04.

I guess that running it via Bluetooth must be pretty easy but I don't know where to start. QtSixA might be able to run it but it seems to be buggy and I really don't like having so many options just to run a gamepad. Someone should make some driver so that it behaves the same as with the original PS3. But still be recognized as Xbox controller because it saves a lot of trouble.
Sidst redigeret af [LINUX] butterhoernchen; 27. sep 2013 kl. 4:41
Benjamin 27. sep 2013 kl. 5:41 
If you use the --mimic-xpad option with xboxdrv, the mapping will match the 360 mapping. This is good for some games that don't allow remapping.

Grumbel, the author of xboxdrv, lists Dualshock bluetooth support in the "todo" section of the source code. I wonder if he's still planning on it? Maybe someone should send him an email and ask.
roothorick 27. sep 2013 kl. 10:11 
@BOT Jaden: See here:

@Benjamin: That won't work with the bluetooth method above as it cuts xboxdrv out of the picture. sixad doesn't seem to have a way to remap buttons/axes that I can see.
Benjamin 27. sep 2013 kl. 10:35 
You actually can use xboxdrv and sixad via bluetooth, but you have to specify the uinput file directly via the uinput option for xboxdrv. It does work, but very poorly. First of all the uinput name can change on reboot, so it's not consistent. Secondly, xboxdrv will create an aditional virtual JS device, but the JS0 will still exist - this is bad because most games will just try using JS0. Third, the mapping is completely off, so you have to make a config file to correct that. It does work, but it's rediculously convoluted and not really effective. It would be best if the support was added to xboxdrv, or even better if someone modified sixad to mimic a 360 controller directly via an option.

tl;dr, it doesn't work via bluetooth :)
roothorick 27. sep 2013 kl. 10:51 
@Benjamin: Read my link. sixad produces a /dev/input/inputX that Steam recognizes and will use but the mapping is off.
Benjamin 27. sep 2013 kl. 10:53 
I know, I was talking about emulating a 360 controller via xboxdrv. Sorry, should have made that clear. The issue with just sixad is that a lot of games don't support it.
roothorick 27. sep 2013 kl. 10:55 
I don't know about that. Enable the jsX device and disable motion via a profile config, and just remap it ingame. It's really only an issue if the game doesn't let you remap the controller (I'm looking at you, Electronic Super Joy.)
Thanks guys.
I already got it working with sixad/sixpair. But it only works with programs where you can set up every button manually. So Brütal Legend doesn't show a gamepad option at all if it's no Xbox Gamepad and Bastion doesn't allow to set up the controller so only the left analog stick works.
The only way getting all things to work seems to be setting it up as Xbox controller.
So in sum Benjamin might be right saying that sixad with an Xbox option would be the best solution for the LED support and automatic listening for connection requests.
< >
Viser 1-8 af 8 kommentarer
Per side: 15 30 50

Dato opslået: 25. aug 2013 kl. 16:39
Indlæg: 8