View Issue Details

IDProjectCategoryView StatusLast Update
0008498New Feature Requests[All Projects] Generalpublic2017-06-18 20:56
ReporterMrTastyAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0008498: [Request] getAxis / getKeyAnalogueState
Description

Something that would works as getKeyState, but allowing to retrieve the analogue float of pressing (ie 0.5 for 'axis_0')

Additional Information

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)

TagsNo tags attached.

Activities

MrTasty

2015-01-30 23:39

viewer   ~~0022950

Any updates on this? I might possibly need this in the script I'm writing right now...

MrTasty

2015-08-29 23:04

viewer   ~~0024028

1 year later...

ccw

2015-08-29 23:25

administrator   ~~0024029

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.

Issue History

Date Modified Username Field Change