@ -227,10 +227,10 @@ class BalanceInput(AbstractInput, threading.Thread):
print('player_id=%d xbal=%d ybal=%d' % (self.player_id, xbal, ybal))
THRESHOLD = 40
MIN_TIMES = {
InputEvent.LEFT: 0.1,
InputEvent.RIGHT: 0.1,
InputEvent.UP: 0.1,
InputEvent.DOWN: 0.1,
InputEvent.LEFT: 0.05,
InputEvent.RIGHT: 0.05,
InputEvent.UP: 0.05,
InputEvent.DOWN: 0.05,
}
if self.player_present:
if xbal == -128 or ybal == -128: