Advertisement
Guest User

fix_wiimotionplus.diff

a guest
Nov 27th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. Index: python-whiteboard/stuff/linuxWiimoteLib.py
  2. ===================================================================
  3. --- python-whiteboard.orig/stuff/linuxWiimoteLib.py 2013-11-26 10:12:49.432336850 +0100
  4. +++ python-whiteboard/stuff/linuxWiimoteLib.py 2013-11-26 10:12:55.268365791 +0100
  5. @@ -365,7 +365,7 @@
  6.  
  7. if __name__ == "__main__":
  8. wiimote = Wiimote()
  9. - print "Press 1 and 2 on wiimote to make it discoverable"
  10. + print "Press 1 and 2 on wiimote (or SYNC on wiimote plus) to make it discoverable"
  11. wiimote.Connect()
  12. wiimote.activate_IR()
  13. while 1:
  14. Index: python-whiteboard/stuff/pywhiteboard.py
  15. ===================================================================
  16. --- python-whiteboard.orig/stuff/pywhiteboard.py 2013-11-26 10:12:49.424336805 +0100
  17. +++ python-whiteboard/stuff/pywhiteboard.py 2013-11-26 10:14:42.120895631 +0100
  18. @@ -46,9 +46,9 @@
  19. self.ui.butCancel.setEnabled(True)
  20. self.ui.butChoose.setEnabled(True)
  21. if mac == '*':
  22. - self.ui.label.setText(self.tr("Press 1+2 on your wiimote"))
  23. + self.ui.label.setText(self.tr("Press 1+2 on your wiimote or SYNC on your wiimote plus"))
  24. else:
  25. - self.ui.label.setText(self.tr("Press 1+2 on") + " " + mac)
  26. + self.ui.label.setText(self.tr("Press 1+2 or SYNC on") + " " + mac)
  27.  
  28. def cancelConnection(self):
  29. self.cancelled = True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement