Posted July 27, 2019
high rated
Since this game does not support rebinding (and, when I searched, I found comments by the developer to the effect of "that's on purpose"), it doesn't work with my gamepad (DualShock 4 on Linux) out of the box. I use jscal to correct this, running the remap before the game starts and restoring the old when it finishes. I thought I'd post my jscal commands for anyone who cares.
To get the default config, run jsql -q /dev/input/js0. This prints the command to execute to restore the bindings. On mine, it returns:
jscal -u 8,0,1,2,3,4,5,16,17,13,304,305,307,308,310,311,312,313,314,315,316,317,318 /dev/input/js0
I run that command when the game is finished to restore the original mapping, although there's little point. It will be restored automatically if the controller is removed and reinserted, and most games I play these days use the event driver rather than the js driver, anyway (the js driver doesn't support vibration, or precise button and axis labels, for one, not that very many games support these features).
To make the right stick and buttons work correctly, I run this before the game:
jscal -u 8,0,1,3,2,5,4,16,17,13,288,289,290,291,310,311,312,313,314,315,317,318,316 /dev/input/js0
Before the hid_sony driver was changed to be more gamepad-like (4.15?), it returned:
jscal -u 8,0,1,2,3,4,5,16,17,13,288,289,290,291,310,311,312,313,314,315,316,317,318 /dev/input/js0
Which I corrected for this game with:
jscal -u 8,0,1,3,2,5,4,16,17,13,288,289,290,291,310,311,312,313,314,315,317,318,316 /dev/input/js0
And now my rant:
Devs, support remappings. If you really think users shouldn't be allowed to remap for "the intended experience", at least provide a documented way of adding a config file to correct mappings as I have had to do above (which most users won't do). "Adding profiles" for known controllers may cover common cases, but it's a losing battle, in the end, and you'll still end up with users who can't play with a controller because you refuse to let them. This sort of low-level remapping should also be supported for games that allow remapping: it's annoying when I have to swap triangle and square and it swaps the labels at the same time, prompting me to press square now when I should be pressing triangle.
I guess I should at least complement the devs or allowing me to use playstation button labels instead of xbox (but I'm mostly used to the xbox ones by now).
Of course, I may be wrong about all of this, and there's a simple way to make it all work the way it's supposed to without hassle. If so, feel free to enlighten me.
To get the default config, run jsql -q /dev/input/js0. This prints the command to execute to restore the bindings. On mine, it returns:
jscal -u 8,0,1,2,3,4,5,16,17,13,304,305,307,308,310,311,312,313,314,315,316,317,318 /dev/input/js0
I run that command when the game is finished to restore the original mapping, although there's little point. It will be restored automatically if the controller is removed and reinserted, and most games I play these days use the event driver rather than the js driver, anyway (the js driver doesn't support vibration, or precise button and axis labels, for one, not that very many games support these features).
To make the right stick and buttons work correctly, I run this before the game:
jscal -u 8,0,1,3,2,5,4,16,17,13,288,289,290,291,310,311,312,313,314,315,317,318,316 /dev/input/js0
Before the hid_sony driver was changed to be more gamepad-like (4.15?), it returned:
jscal -u 8,0,1,2,3,4,5,16,17,13,288,289,290,291,310,311,312,313,314,315,316,317,318 /dev/input/js0
Which I corrected for this game with:
jscal -u 8,0,1,3,2,5,4,16,17,13,288,289,290,291,310,311,312,313,314,315,317,318,316 /dev/input/js0
And now my rant:
Devs, support remappings. If you really think users shouldn't be allowed to remap for "the intended experience", at least provide a documented way of adding a config file to correct mappings as I have had to do above (which most users won't do). "Adding profiles" for known controllers may cover common cases, but it's a losing battle, in the end, and you'll still end up with users who can't play with a controller because you refuse to let them. This sort of low-level remapping should also be supported for games that allow remapping: it's annoying when I have to swap triangle and square and it swaps the labels at the same time, prompting me to press square now when I should be pressing triangle.
I guess I should at least complement the devs or allowing me to use playstation button labels instead of xbox (but I'm mostly used to the xbox ones by now).
Of course, I may be wrong about all of this, and there's a simple way to make it all work the way it's supposed to without hassle. If so, feel free to enlighten me.