-
Notifications
You must be signed in to change notification settings - Fork 18
Description
getting a pretty odd issue when using a stick as an input axis with this, If i print out the axis outputs of the stick directly, it works fine, all as expected so sticks and the plugin's core is working. But, through ue4's binding system inputaxis, with only the one device bound to that axis, some frames it will double the inputaxis value at random. For example, looking at 5 frames when slightly wiggling a stick in place: (Pitch left, yaw on right)
frame 1: 0.128208 | 0.999939
frame 2: 0.25544 | 0.991211
frame 3: 0.126621 | 0.979247
frame 4: 0.251411 | 1.926389
frame 5: 0.124668 | 0.947264
Sometimes it only doubles one axis and sometimes doubles both... pretty confusing, i imagine it must be happening quite a bit maybe without other people noticing though? Been looking through the source but im not very familiar with this part of the engine and how the inputaxis polling might be double counting.
Edit: it is framerate dependent. If i limit framerate to 10 it sometimes multiplies the axis value, which is supposed to be at most 1.0, up to around 8 sometimes.