Browse Source

BalanceBoardPlayer now uses the balance_util for the y-axis data

feature/balanceutils
informaniac 7 years ago
parent
commit
e34f76b22d
  1. 2
      games/balancep0ng.py

2
games/balancep0ng.py

@ -91,7 +91,7 @@ class BalanceBoardPlayer(object): @@ -91,7 +91,7 @@ class BalanceBoardPlayer(object):
return true
def gametickcb(self):
bal = get_balance_from_sock(self.__wiimote_sock, self.__player_id)
bal = self.__balance_util.get_raw_2dir_y()
if bal == -128:
print("player %d has quit" % (self.__player_id))

Loading…
Cancel
Save