Did I find the right examples for you? yes no

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/p/y/pylygon-1.3.2rc/examples/distance.py   pylygon(Download)
    font = Font(None, 24)
 
    r = mouse.get_rel()
    grab, other = None, None
    while 1:
        draw.circle(SCREEN, (255, 255, 255), rhombus.C.astype(int), 3)
 
        r = array(mouse.get_rel())
        if grab:
            grab.C = mouse_pos

src/h/i/hitt-0.1.22/hitt/hid.py   hitt(Download)
        self.button_up_events = pygame.event.get(pygame.MOUSEBUTTONUP)
        self.motion_events = pygame.event.get(pygame.MOUSEMOTION)
        self.rel = pygame.mouse.get_rel()
 
 

src/m/y/Myrmidon-HEAD/engine/input/pygame/engine.py   Myrmidon(Download)
 
                self.mouse.pos = pygame.mouse.get_pos()
                self.mouse.rel = pygame.mouse.get_rel()
                self.mouse.x = self.mouse.pos[0]
                self.mouse.y = self.mouse.pos[1]

src/z/u/zun-HEAD/trunk/src/virtual.py   zun(Download)
            s.mousebut=s.players[0].vb
        else:
            s.mouserel=pygame.mouse.get_rel()
            s.mouseabs=pygame.mouse.get_pos()
            s.mousebut=pygame.mouse.get_pressed()

src/t/r/trosnoth-1.6.0/trosnoth/trosnothgui/ingame/playerInterface.py   trosnoth(Download)
 
        self.mousePos = (0, 0)
        pygame.mouse.get_rel()
 
        # Make sure the viewer is focusing on this player.

src/k/a/kaa-display-0.2.0dev-r4567-20111003/src/sdl.py   kaa-display(Download)
        if self.hide_mouse:
            # Check if mouse should be visible or hidden
            mouserel = pygame.mouse.get_rel()
            mousedist = (mouserel[0]**2 + mouserel[1]**2) ** 0.5