pyglet on Button Press

@win.event
def on_key_press(key, modifiers):
    if key == pyglet.window.key.UP:
        print("UP")
Flyhouse_Squarewheel