|
|
@ -241,7 +241,6 @@ class BalanceInput(AbstractInput, threading.Thread): |
|
|
|
elif self.player_id == 1: |
|
|
|
elif self.player_id == 1: |
|
|
|
xbal, ybal = p1x, p1y |
|
|
|
xbal, ybal = p1x, p1y |
|
|
|
|
|
|
|
|
|
|
|
print('player_id=%d xbal=%d ybal=%d' % (self.player_id, xbal, ybal)) |
|
|
|
|
|
|
|
THRESHOLD = 40 |
|
|
|
THRESHOLD = 40 |
|
|
|
MIN_TIMES = { |
|
|
|
MIN_TIMES = { |
|
|
|
InputEvent.LEFT: 0.05, |
|
|
|
InputEvent.LEFT: 0.05, |
|
|
|