X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/18944a0196254fc2c01f416e4f39b8511ee6eb19..d44cf918237d05fa9e0eec3f61dce8cbb8d98151:/src/kinect/pygamedisplay.py?ds=sidebyside diff --git a/src/kinect/pygamedisplay.py b/src/kinect/pygamedisplay.py index 321578d..196ad29 100755 --- a/src/kinect/pygamedisplay.py +++ b/src/kinect/pygamedisplay.py @@ -73,7 +73,7 @@ class RGB : x, y = map(lambda i : numpy.clip(i, 0, DEFAULT_HAND_DISTANCE_RANGE * 2), [x, y]) x = x * (self.pygameScreenWidth / (2. * DEFAULT_HAND_DISTANCE_RANGE)) y = y * (self.pygameScreenHeight / (2. * DEFAULT_HAND_DISTANCE_RANGE)) - print x, y + pygame.mouse.set_pos(int(x), int(y)) def handCreateCB(self, src, id, pos, time):