Commit d15848b5 authored by santiago duque's avatar santiago duque

added second button and logic to stop events as a test

parent 2fd2ff41
......@@ -162,7 +162,7 @@ run = True
while run:
clock.tick(25)
print(btn1)
print(btn1.value)
if btn1.is_pressed:
play_sound(0)
elif btn2.is_pressed:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment