Example #1
0
    def __init__(self,*args,**kwargs):
        
        #: The id of the display where the touch event occurred.
        self.display_id=None        
        
        #: x position of the Touch Device when the event occurred; in display coordinate space.
        self.x_position=None

        #: y position of the Touch Device when the event occurred; in display coordinate space.
        self.y_position=None
        
        #: Pressure being applied to the Touch Device when the event occurred.
        self.pressure=None

        DeviceEvent.__init__(self,*args,**kwargs)
Example #2
0
 def __init__(self, *args, **kwargs):
     kwargs['device_type'] = ioHub.devices.EventConstants.DEVICE_TYPES[
         'JOYSTICK_DEVICE']
     DeviceEvent.__init__(self, **kwargs)
Example #3
0
 def __init__(self,*args,**kwargs):
     kwargs['device_type']=ioHub.devices.EventConstants.DEVICE_TYPES['JOYSTICK_DEVICE']
     DeviceEvent.__init__(self,**kwargs)