Skip to content

RaphaelWimmer/wiimote.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiimote.py

Wiimote wrapper in pure Python

Usage:

import wiimote
btaddr = wiimote.find()[0]
wm = wiimote.connect(btaddr)
wm.leds[3] = True
wm.rumble()
print(wm.accelerometer, wm.ir )
wm.buttons.register_callback(print)
wm.speaker.beep()  # sounds awful

wiimote_node.py contains a Wiimote node for PyQtGraph:

python3 wiimote_node.py # runs demo

About

Wiimote wrapper in pure Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages