I want to do something like this:
local deltaAD = 0.0 local deltaWS = 0.0 local deltaQE = 0.0 function timer_callback() deltaAD += JS.Stick[0].value -- values from -1 to 1 if deltaAD < -0.5 then JS.SendKey(KEY.A, true) deltaAD += 1.0 else JS.SendKey(KEY.A, false) end if deltaAD > 0.5 then JS.SendKey(KEY.D, true) deltaAD -= 1.0 else JS.SendKey(KEY.D, false) end -- here more for each WS QE buttons end JS.RegisterTimer( timer_callback, 1000.0 / 60.0 ) -- call it 60 times per second.
Unfortunatly none of many Joy to Keyboard Mappers cannot be configured to do so simple and obvious task.
Is this a thing you might consider implementing in your application?