mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-04-16 22:55:56 -05:00
vigem-iidxio: Reduce random flickering cab-light on tt spin
This commit is contained in:
parent
3f2aed65e4
commit
ce5b1b2eac
|
|
@ -52,11 +52,11 @@ void _update_neons_flash_tt_input(uint8_t tt_p1, uint8_t tt_p2, bool* out_neon)
|
|||
// Debounce to avoid too much flickering
|
||||
if (abs(_tt_neon_on_state) < 20) {
|
||||
if (delta[0] != 0) {
|
||||
_tt_neon_on_state += delta[0] * 2;
|
||||
_tt_neon_on_state += delta[0] * 4;
|
||||
}
|
||||
|
||||
if (delta[1] != 0) {
|
||||
_tt_neon_on_state += delta[1] * 2;
|
||||
_tt_neon_on_state += delta[1] * 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user