Skip pads if their analog is not set.
Not sure if a deadzone is needed... or if some pads may do a constant bottom left or something...
This commit is contained in:
parent
8271027fef
commit
1218db02f5
3 changed files with 6 additions and 2 deletions
|
@ -150,6 +150,8 @@ int DinputDevice::UpdateState(InputState &input_state)
|
|||
}
|
||||
}
|
||||
|
||||
if (js.lX != 0.0f || js.lY != 0.0f)
|
||||
return UPDATESTATE_SKIP_NEXT;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue