def handle_right(pin): menu.right() nav.repeat(nav.RIGHT, menu.right, REPEAT_DELAY, 0.9)
def handle_left(pin): menu.left() joystick.repeat(joystick.LEFT, menu.left, REPEAT_DELAY, 0.99)
def handle_down(pin): menu.down() nav.repeat(nav.DOWN, menu.down, repeat_delay, 0.9)
def handle_left(pin): device.emit(uinput.REL_X, -1) nav.repeat(nav.LEFT, lambda: device.emit(uinput.REL_X, -1), delay, ramp)
def handle_up(pin): menu.up() joystick.repeat(joystick.UP, menu.up, REPEAT_DELAY, 0.99)
def handle_left(pin): menu.left() joystick.repeat(joystick.LEFT, menu.left, REPEAT_DELAY, 0.9)
def handle_up(pin): device.emit(uinput.REL_Y, -1) nav.repeat(nav.UP, lambda: device.emit(uinput.REL_Y, -1), delay, ramp)
def handle_right(pin): device.emit(uinput.REL_X, 1) j.repeat(j.RIGHT, lambda: device.emit(uinput.REL_X, 1), delay, ramp)
def handle_up(pin): menu.up() nav.repeat(nav.UP, menu.up, REPEAT_DELAY, 0.9)
def handle_down(pin): device.emit(uinput.REL_Y, 1) j.repeat(j.DOWN, lambda: device.emit(uinput.REL_Y, 1), delay, ramp)
def handle_left(pin): device.emit(uinput.REL_X, -1) j.repeat(j.LEFT, lambda: device.emit(uinput.REL_X, -1), delay, ramp)
def handle_up(pin): device.emit(uinput.REL_Y, -1) j.repeat(j.UP, lambda: device.emit(uinput.REL_Y, -1), delay, ramp)
def handle_right(pin): menu.right() nav.repeat(nav.RIGHT, menu.right, repeat_delay, 0.9)
def handle_left(pin): menu.left() nav.repeat(nav.LEFT, menu.left, repeat_delay, 0.9)
def handle_up(pin): menu.up() joystick.repeat(joystick.UP, menu.up, REPEAT_DELAY, 0.9)
def handle_down(pin): menu.down() nav.repeat(nav.DOWN, menu.down, REPEAT_DELAY, 0.9)
def handle_down(pin): menu.down() joystick.repeat(joystick.DOWN, menu.down, REPEAT_DELAY, 0.9)
def handle_left(pin): menu.left() nav.repeat(nav.LEFT, menu.left, REPEAT_DELAY, 0.9)
def handle_right(pin): menu.right() joystick.repeat(joystick.RIGHT, menu.right, REPEAT_DELAY, 0.9)
def handle_down(pin): device.emit(uinput.REL_Y, 1) nav.repeat(nav.DOWN, lambda: device.emit(uinput.REL_Y, 1), delay, ramp)
def handle_right(pin): device.emit(uinput.REL_X, 1) nav.repeat(nav.RIGHT, lambda: device.emit(uinput.REL_X, 1), delay, ramp)
def handle_down(pin): menu.down() joystick.repeat(joystick.DOWN, menu.down, REPEAT_DELAY, 0.99)
def handle_right(pin): menu.right() joystick.repeat(joystick.RIGHT, menu.right, REPEAT_DELAY, 0.99)
def handle_up(pin): menu.up() nav.repeat(nav.UP, menu.up, repeat_delay, 0.9)