set_orient_threshold.argtypes = [wiimote_p, c_float]
set_timeout = dll.wiiuse_set_timeout
set_ir = dll.wiiuse_set_ir
+set_ir_position = dll.wiiuse_set_ir_position
+set_ir_vres = dll.wiiuse_set_ir_vres
def is_pressed(dev, button):
return dev.btns & button