Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyglet on button press

@win.event
def on_key_press(key, modifiers):
    if key == pyglet.window.key.UP:
        print("UP")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pyglet #button #press
ADD COMMENT
Topic
Name
2+9 =