Jump to content

Key binding & joystick axis question


printz

Recommended Posts

I'm currently in the process of improving the gamepad/joystick menu in Eternity. This new page in the Mouse/Gamepad menu is going to appear:

 

joyaxes.png.81bd7a08acaf2ef610311e06a8ce30e6.png

 

It lets you control each axis of the joystick (either standalone flight stick or gamepad joystick) and whether it's reversed. It hasn't existed so far. All you could do was to change presets to some known controllers defined in eternity.pke, as in this pic:

presets.png.bc3bafc407243dd67d96da482a8c98aa.png

 

The problem of course was that it would no longer be accurate if you had other kinds of controllers or joysticks.

 

But here's the question: as I'm adding the joystick (gamepad) axis customization menu, I'd also like to get rid of the (mis)feature where you can assign an entire axis to a single command in this example:

 

axiscontrol.png.1cf2d95cece985455cb4b12cb67561ab.png

 

Basically this binding means that any movement along Axis 4, no matter if left or right, is going to bind to turning left. It's confusing to newcomers: they may only see the "Key bindings" menu, assign axes in this way, and think the gamepad support is broken. So I'm considering removing this capability of assigning axes to single commandsStill, is there any harm if I do this? Are there any gamepads (or game styles) I'm not aware of, where you'd want to assign an arbitrary axis movement to a single command?

 

Share this post


Link to post

I think being able to use an axis for a button-like command can be useful, but it seems really odd that the whole axis becomes a single button.  I would expect that one end (like forward) becomes one button and the other end (like backward) becomes a different button, with names like "+AXIS4" and "-AXIS4" (for example).

 

Plus this behavior could be one of the options in the Axis Settings, e.g. you already have turn, look and move, but also have "fake key" (or so), and the key is not usable in the key binding menu unless setting is enabled for an axis.  So users who wanted this functionality would need to enable it in the axis settings menu first.

Edited by andrewj

Share this post


Link to post

I see that the Descent port Rebirth has a comprehensive menu for joystick sensitivity adjustment. Maybe something similar would be useful for Eternity as well (the menu is much bigger than visible on screen):

2020-05-30.11-19-54.png.ffe3589741670f2d45f1c97740452ae0.png

Edited by printz

Share this post


Link to post

Something weird I'm experiencing: I have a Thrustmaster Top Gun Afterburner Force Feedback HOTAS. The joystick part of this HOTAS requires external power for actuators to keep the stick upright. But what happens is that Eternity on Windows turns off these actuators, causing the joystick to go limp! And it does not happen with the macOS version of Eternity!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...