GP World analog sensitivity #144
Replies: 5 comments
-
Sounds like your wheel has a long turn until it exceeds the "dead zone". In Hypseus the Dead zone is hardcoded at a fairly usual:
Maybe look at adjusting Otherwise, as I don't own a Steering Wheel Controller, it's a WiP until:
Fingers crossed, adjusting the Dead Zone improves it..... |
Beta Was this translation helpful? Give feedback.
-
Thanks! |
Beta Was this translation helpful? Give feedback.
-
Yes, you would need to recompile to alter that value, but it's far deeper than than after some thought and a look at the GPWorld control specs. The inherited control system has never needed to deal with this type of input. Analog axis uses a 16bit integer with values from -32,768 to 32,767 : +/- depending on the direction left/right, the "dead zone" is a standard joystick process to stop "jitter" affecting moves. I assume Steering controls are no different. So the current logic looks something like this in ASCII art:
However, GPWorld has a 4 phase turn on strength
This is "faked" in the limited control system inherited from Daphne. But what needs to happen for a steering wheel control is a four phased turn on left and right, so spitting -32,768 to 32,767 into 8 phases with a "dead zone" still in the middle to protect from jitter. As a base, this is probably around 8192 value change per step in axis, but this possibly would need to be unevenly graded and (de|in)cremental steps for an authentic steering feel - minus a % of the value assigned as "dead" in the center. This is great in theory, but without hardware, untestable. Maybe someone can use this to form an idea and submit a PR. For a reference on the control bits required for each strength step change, the MAME code provides some insight: MAME |
Beta Was this translation helpful? Give feedback.
-
Ok so its not that easy, 8192 values to change per step? I thought it was only a function. Shame. |
Beta Was this translation helpful? Give feedback.
-
No sorry, there's some misunderstanding, sorry english is not my language. |
Beta Was this translation helpful? Give feedback.
-
GPWorld -preset 1 for me works great with the joystick.
Now I am trying to play with a steering wheel. I assume I should play without the -preset 1. It only react when i'm at +- 80% of the axis and it turns full to that side, not gradually
Beta Was this translation helpful? Give feedback.
All reactions