View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008498||New Feature Requests||[All Projects] General||public||2014-08-29 15:21||2017-06-18 20:56|
|Summary||0008498: [Request] getAxis / getKeyAnalogueState|
Something that would works as getKeyState, but allowing to retrieve the analogue float of pressing (ie 0.5 for 'axis_0')
Currently, you can only know if a key/axis is pressed on full, not mid-way. (Except for those bound to GTA controls which can be found using getAnalogueControlState - but it doesn't support un-bound axis)
|Tags||No tags attached.|
Any updates on this? I might possibly need this in the script I'm writing right now...
1 year later...
Because joystick hardware varies considerably, it is not possible to know which axis are relevant until the user binds them.
Give an example of how getKeyAnalogueState would be used.