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