Steam Link

Steam Link

Tucky Nov 20, 2016 @ 1:13am
Directinput controller acting odd
So I have a Hori Fighting Commader 4 https://www.amazon.com/HORI-Fighting-Commander-Controller-PlayStation-4/dp/B00TKLFES8 that I use for Street Fighter V. I've been having friends over lately that also use controllers with a similar PS3/4 switchable input, to play SFV. But we enjoy playing on my TV rather than my monitor at my desk, so I'd like to get my Steam Link set up so I don't need to drag my PC to my TV every time. I've gotten the Fighting Commander to work on the Steam Link, but all the buttons are wrong. R2 is Start, Square is A, Cross is B, etc. I've tried reconfiguring the controls in game, but I can't exactly remap the pause button. Other than the wrong inputs, the controller works fine. It's odd, but the Steam Link identifies it as an XInput controller, despite being DirectInput. When plugged into my PC, it accepts it as DirectInput and I have to run x360ce for Street Fighter V. Does anyone know how I can remap this controller when it's working through the steam link? I'm not using VirtualHere either, which makes me find it odd that it worked without it (I tried the free version on VirtualHere's site but it didn't seem to do anything). Thanks in advance!
< >
Showing 1-10 of 10 comments
slouken Nov 29, 2016 @ 9:44pm 
These types of controllers need to be individually mapped. Thanks for providing the Amazon link, I ordered one and a fix should be available next week. :)

Cheers!
Tucky Nov 29, 2016 @ 10:08pm 
You're just going to map it in for me? Wow, thanks, that's awesome!
slouken Nov 29, 2016 @ 10:21pm 
You're welcome! :)
Draxenath Nov 30, 2016 @ 6:00am 
I am also having issues with my wired game controllers. Is there a way I can individually map them myself? I am familiar with Linux, autoconf/automake, compiling the kernel and applications, jstest and evtest utilities and have SSH access to my Steam Link.

The first one is a generic controller made in China, the second is a Belkin Nostromo n45 Dual Analog Gamepad. Both have this weird mapping where R2 is start, and the other L and R buttons are also swapped around in a weird fashion, and the right analog stick does weird things like some sort of macro or movement combination.

This is the output from dmesg at the moment of detecting them.

usb 1-1.2: new low-speed USB device number 6 using berlin-ehci
usb 1-1.2: New USB device found, idVendor=0079, idProduct=0006
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.2: Product: Generic USB Joystick
usb 1-1.2: Manufacturer: DragonRise Inc.
input: DragonRise Inc. Generic USB Joystick as /devices/soc.0/f7ee0000.usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input3
dragonrise 0003:0079:0006.000C: input,hidraw10: USB HID v1.10 Joystick [DragonRise Inc. Generic USB Joystick ] on usb-f7ee0000.usb-1.2/input0
dragonrise 0003:0079:0006.000C: Force Feedback for DragonRise Inc. game controllers by Richard Walmsley <richwalm@gmail.com>

usb 1-1.3: new low-speed USB device number 7 using berlin-ehci
usb 1-1.3: New USB device found, idVendor=050d, idProduct=0803
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.3: Product: Nostromo n45 Dual Analog Gamepad
usb 1-1.3: Manufacturer: Nostromo
input: Nostromo Nostromo n45 Dual Analog Gamepad as /devices/soc.0/f7ee0000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input4
hid-generic 0003:050D:0803.000D: input,hidraw11: USB HID v1.10 Gamepad [Nostromo Nostromo n45 Dual Analog Gamepad] on usb-f7ee0000.usb-1.3/input0
Last edited by Draxenath; Nov 30, 2016 @ 6:07am
slouken Nov 30, 2016 @ 8:32am 
Yes, if you're comfortable with Linux you can grab the Steam Link SDK from here:
https://github.com/ValveSoftware/steamlink-sdk

Then grab the source to SDL from here:
http://www.libsdl.org/tmp/SDL-2.0.zip

And build the controllermap test program and copy it and the BMP files from the test directory to the Steam Link.

Then kill the Steam Link shell:
killall app_run.sh shell

Then plug in your controller and run controllermap 0 to bring up the mapping UI and create a mapping string.

Post the mapping string so we can add it to the official firmware, and you can use it locally by adding it to the file /etc/controller_map.txt, which doesn't exist by default.

Cheers!
Last edited by slouken; Nov 30, 2016 @ 8:41am
Draxenath Dec 1, 2016 @ 7:25am 
The strings generated are at the bottom of this post, however, I haven't gotten them to work.

I copied them verbatim to /etc/controller_map.txt and rebooted the Steam Link, but it's not working, I am getting the same results as without the file. I am using the beta build 562, and compiled with the latest SDK pulled from Git. I am using the latest Steam release (NOT Beta, but release).

I also tried removing the comma at the end of each line, but it didn't work either.

030000000d0500000308000010010000,Nostromo Nostromo n45 Dual Analog Gamepad,platform:Linux,x:b2,a:b0,b:b1,y:b3,back:b8,guide:b9,start:b10,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,dpup:h0.1,leftshoulder:b4,lefttrigger:b5,rightshoulder:b6,righttrigger:b7,leftstick:b12,rightstick:b11,leftx:a0,lefty:a1,rightx:a3,righty:a2,
03000000790000000600000010010000,DragonRise Inc. Generic USB Joystick ,platform:Linux,x:b3,a:b2,b:b1,y:b0,back:b8,start:b9,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,dpup:h0.1,leftshoulder:b4,lefttrigger:b6,rightshoulder:b5,righttrigger:b7,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a3,righty:a4,

Last edited by Draxenath; Dec 1, 2016 @ 7:28am
toidi Dec 1, 2016 @ 12:01pm 
Originally posted by Tuckington:
You're just going to map it in for me? Wow, thanks, that's awesome!

He isn't going to map it in for you, he is going to map it in for Him. You just gave him a perfect excuse to go and buy one of those rather nice fight sticks he has probably been eyeing up for a while ;)
I see what you are up to Slouken 😈
slouken Dec 1, 2016 @ 3:37pm 
Originally posted by Lilith Draxenath:
The strings generated are at the bottom of this post, however, I haven't gotten them to work.

I copied them verbatim to /etc/controller_map.txt and rebooted the Steam Link, but it's not working, I am getting the same results as without the file. I am using the beta build 562, and compiled with the latest SDK pulled from Git. I am using the latest Steam release (NOT Beta, but release).

Whoops, loading from /etc/controller_map.txt is fixed for the next beta build.
slouken Dec 3, 2016 @ 12:41am 
Loading controller_map.txt is fixed, and I added the Nostromo controller mapping to the Steam Link firmware. I'll add the Dragon Inc. controller next week.
Draxenath Dec 3, 2016 @ 7:32am 
I confirmed the Nostromo n45 is now working as expected. The DragonRise controller now works perfectly after adding the corresponding line to /etc/controller_map.txt and even the rumble works for it, a feature I liked from using it directly on the PC.

Speaking of Rumble features, for some reason when I enable the experimental rumble emulation on my Steam Controller, Steam crashes, so I keep it turned off on it for now while playing on Steam Link. I don't have any issues when playing directly on my PC, only with Steam Link, but maybe that needs to be reported elsewhere... can you point me in the right direction please?
Last edited by Draxenath; Dec 3, 2016 @ 7:39am
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Nov 20, 2016 @ 1:13am
Posts: 10