Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: FSW on December 01, 2013, 02:38:10 pm
-
Hello! FS2 Open, as of v3.7.0, does not appear to recognise diagonal hat inputs.
I discovered this when attempting to map lateral and vertical thrust to the joystick hat. A diagonal input is not recognised on the control mapping screen. In-game, a diagonal input has no effect (ie, it does not count as two directional inputs at once).
I am using a workaround using GlovePIE, but would it be possible for FS2 Open to accept eight-directional hat inputs?
Edit: ancient thread excavated: http://www.hard-light.net/forums/index.php?topic=67703
-
May I suggest you try with this build (http://www.hard-light.net/forums/index.php?topic=86206.0), since this is what we're moving towards ?
-
yep, The_E announced Antipodes 9 which is looking to overhaul the player input system to use SDL 2 across all OS platform builds which should make requests like this much easier, so check it out, but for the time being I foresee input requests being put on hold while Antipodes 9 goes through the dev cycle and we see what will be in from the off and what will need to be added later once it's stable and gameplay neutral
-
SDL2 supports 8-way hats so when Antipodes makes it into trunk we have the possibility to add support but that will require more changes.
-
Yeah, 8-way HATs, and perhaps even more awesome, multiple input device support will be possible as well.
-
SDL2 supports 8-way hats so when Antipodes makes it into trunk we have the possibility to add support but that will require more changes.
Namely in making a new set of enumerations to handle the 8-position hat in the controls config code, the supporting functions to map them, and maybe also update the pilot file to read/save the mapping.