login
|
language
Български (Bulgarian)
čeština (Czech)
Dansk (Danish)
Nederlands (Dutch)
Suomi (Finnish)
Français (French)
Deutsch (German)
Ελληνικά (Greek)
Magyar (Hungarian)
Italiano (Italian)
日本語 (Japanese)
한국어 (Korean)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese)
Português-Brasil (Portuguese-Brazil)
Română (Romanian)
Русский (Russian)
简体中文 (Simplified Chinese)
Español (Spanish)
Svenska (Swedish)
繁體中文 (Traditional Chinese)
ไทย (Thai)
Türkçe (Turkish)
Українська (Ukrainian)
Help us translate Steam


and there it is, it works with all my games under Linux! But... what do you think? Renaming files so randomly is quite disturbing form me, expecially inside root tree, but let me know what do you think.
If thats the case then Bastion should be using the correct one.
But actually, games should use the js# file interface and not the raw event# files, there may be an conflict if your system creates a js0 for the original joystick and xboxdrv creates an js1 for the emulated one, as this is my case.
It usually works well, but shows up two different joystick options for me, normally games will pick the xbox one so it works ok, but still shows up the two different options. That may be the case with your game, and just removing the js0 file before starting xboxdrv should fix around the conflict.
As it is in my case, both js# appears and are options in some games, but the original one won't work since xboxdrv locks up the original event so it won't send any input. If in doubt check the man page about xboxdrv where some of these things are explained.
http://pingus.seul.org/~grumbel/xboxdrv/xboxdrv.html
I also noticed that the new js* file (created by xboxdrv) and the old one (js0, it appears every time you plugged in the gamepad), they both seems to receive inputs from the gamepad, while the old event file (after xboxdrv execution) seems to be (correctly) busy, so no fear in this case.
Now, when I said that I tried every possible combination, I mean that renaming the new js* file as the old one didn't work, but only with Bastion: it's strange, because in that way Bastion is stucked trying to get a valid input signal from a gamepad that is recognized by the game, but it is sending no input, so my conclusion is that Bastion uses the event13 file instead the js* file, while the other games use the correct one.
You can also make atleast 2 different modes how your pad act.
On my case, when I start xbox360 controller first time after boot, it works as gamepad and by pressing that big X-button (guide) I can toggle my controller between gamepad and mouse/keyboard.
This is very useful for me since I dont have wireless mouse and like to watch e.g. youtube while laying on bed etc.
My default xboxdrv config: http://pastebin.com/Ncn3rZPR
Bash script what runs on-connect: http://pastebin.com/FzFri9eN
If using that --mouse, it uses xboxdrvs "default" commands to send mouse commands, like left stick is mouse cursor etc, but you can also overwrite those defaults like in row 8 in my startXboxdrv.sh.
trinity@TrinityCraft:~$ xboxdrv --evdev event7 --evdev-absmap ABS_Y=y1,ABS_Z=y2,AB,ABS_X=x1,ABS_R2=x2,ABS_HATOX=dpad_x,ABS_HATOY=dpad_y --axismap -Y1=Y1,-Y2=Y2 --evdev-keymap BTN_TL2=START,BTN_TR2=BACK,BTN_A=X,BTN_B=A,BTN_C=B,BTN_X=Y,BTN_TL=LT,BTN_TR=RT,BTN_Y=LB,BTN_Z=RB --mimic-xpad --silent &
[1] 27348
trinity@TrinityCraft:~$
-- [ ERROR ] ------------------------------------------------------
string2axis(): couldn't convert string "" to XboxAxis
Someone please help >.<
Event: time 1427824497.136844, type 1 (EV_KEY), code 544 (?), value 0
Event: time 1427824497.136844, -------------- SYN_REPORT ------------
Event: time 1427824497.486779, type 1 (EV_KEY), code 545 (?), value 1
Event: time 1427824497.486779, -------------- SYN_REPORT ------------
Event: time 1427824497.516772, type 1 (EV_KEY), code 545 (?), value 0
Event: time 1427824497.516772, -------------- SYN_REPORT ------------
Event: time 1427824497.796719, type 1 (EV_KEY), code 546 (?), value 1
Event: time 1427824497.796719, -------------- SYN_REPORT ------------
Event: time 1427824497.881702, type 1 (EV_KEY), code 546 (?), value 0
Event: time 1427824497.881702, -------------- SYN_REPORT ------------
Event: time 1427824498.046807, type 1 (EV_KEY), code 547 (?), value 1
Event: time 1427824498.046807, -------------- SYN_REPORT ------------
Event: time 1427824498.096801, type 1 (EV_KEY), code 547 (?), value 0
Event: time 1427824498.096801, -------------- SYN_REPORT ------------
Event: time 1427824506.111696, type 3 (EV_ABS), code 4 (ABS_RY), value -3
How im is upposed to map that? it only happens with the dpad.
The same behavior happens when I try to set custom controls in mupen64, I would try to set a control and immediately it would activate an axis + or - as if the deadzone is all over the place. Anyone else experience similar? I've tried 3 different controllers, so its definitely the driver