(self)
Reinitialize the actions.
Reinitialize the actions.
Reinitialize the actions .
def reset(self):
        """Reinitialize the actions."""
        self.action = None
        self.key = None
        self.key_modifier = None
        self.mouse_button = 0
        self.mouse_position = (0, 0)
        self.mouse_position_diff = (0, 0)
        self.mouse_press_position = (0, 0)
        
        self.pinch_position = (0, 0)
        self.pinch_rotation = 0.
        self.pinch_scale = 1.
        self.pinch_scale_diff = 0.
        self.pinch_start_position = (0, 0)
        
        self.wheel = 0
        self.init_leap()
def reset ( self ) : self . action = None self . key = None self . key_modifier = None self . mouse_button = 0 self . mouse_position = ( 0 , 0 ) self . mouse_position_diff = ( 0 , 0 ) self . mouse_press_position = ( 0 , 0 ) self . pinch_position = ( 0 , 0 ) self . pinch_rotation = 0. self . pinch_scale = 1. self . pinch_scale_diff = 0. self . pinch_start_position = ( 0 , 0 ) self . wheel = 0 self . init_leap ( )