Re: [hatari-devel] Mapping ST Joy 0 and Joy 1 to different sticks of same SDL controller? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On 1/5/20 5:41 PM, Alex Hornby wrote:
ST Llamatron has a twin stick game mode where you can control direction of
travel and direction of fire from two different ST joysticks. Would like
to try this out via a single XBox 360 controller on Linux/SDL with ST Joy 0
and Joy 1 mapped to the two thumbsticks, and fire buttons mapped to A and B.
Anyone tried this before/is it already possible somehow via config? If
not, tempted to try a PR to add stick/axes selection to the config and/or
UI.
I haven't heard of anything for that, but it's
possible that the kernel input layer can be
configured like that.
At least "jscal" utility manual page states that:
"jscal calibrates joysticks and maps joystick
axes and buttons. Calibrating a joystick ensures
the positions on the various axes are correctly
interpreted. Mapping axes and buttons allows
the meanings of the joystick's axes and buttons
to be redefined."
- Eero
Outside of llamatron other possible usages:
* Accessibility - might be useful to some people to be able to select axis
even in single Joy mode (e.g. right thumbstick instead of left)
* there might be some other games using twin sticks for one player (flight
sims?),
* At a pinch, people could play a 2 player game via a single xbox
controller (e.g. player1 leftstick+y and player 2 rightstick+a).
* you could take on two player mode in something like ikari warriors from
one controller as one person(!)
But llamatron is of course the prime motivation.
Regards, Alex.