sense_hat/stick.py
def direction_up(self):
        """
        The function to be called when the joystick is pushed up. The function
        can either take a parameter which will be the `InputEvent` tuple that
        has occurred, or the function can take no parameters at all.
        """
        return self._callbacks.get(DIRECTION_UP)

        The function to be called when the joystick is pushed up. The function
        can either take a parameter which will be the `InputEvent` tuple that
        has occurred, or the function can take no parameters at all.
        
The function to be called when the joystick is pushed up. The function
can either take a parameter which will be the `InputEvent` tuple that
has occurred, or the function can take no parameters at all.
The function to be called when the joystick is pushed up . The function can either take a parameter which will be the ` InputEvent ` tuple that has occurred or the function can take no parameters at all .
def direction_up(self):
        return self._callbacks.get(DIRECTION_UP)
def direction_up ( self ) : return self . _callbacks . get ( DIRECTION_UP )
The function to be called when the joystick is pushed up.
The function to be called when the joystick is pushed up .
"""
        The function to be called when the joystick is pushed up. The function
        can either take a parameter which will be the `InputEvent` tuple that
        has occurred, or the function can take no parameters at all.
        """
self