- for i in range(self.actual_nmotes) :
- wm = self.wiimotes[i]
- if i == wiimoteIndex :
- self.do(wiiuse.set_ir, wm, 1)
- self.do(wiiuse.set_ir_vres, wm, *self.screenResolution)
- if self.position == 'ABOVE' :
- position = wiiuse.IR_ABOVE
- elif self.position == 'BELOW' :
- position = wiiuse.IR_BELOW
- else :
- position = wiiuse.IR_ABOVE
- self.do(wiiuse.set_ir_position, wm, position)
- # TODO aspect ratio
- #self.do(wiiuse.set_aspect_ratio, wm, aspect)
-
- else :
- self.do(wiiuse.set_ir, wm, 0)
+# for i in range(self.actual_nmotes) :
+# wm = self.wiimotes[i]
+# if i == wiimoteIndex :
+# self.do(wiiuse.set_ir, wm, 1)
+# self.do(wiiuse.set_ir_vres, wm, *self.screenResolution)
+# if self.position == 'ABOVE' :
+# position = wiiuse.IR_ABOVE
+# elif self.position == 'BELOW' :
+# position = wiiuse.IR_BELOW
+# else :
+# position = wiiuse.IR_ABOVE
+# self.do(wiiuse.set_ir_position, wm, position)
+# # TODO aspect ratio
+# #self.do(wiiuse.set_aspect_ratio, wm, aspect)
+#
+# else :
+# self.do(wiiuse.set_ir, wm, 0)