]>
wolfpit.net Git - hardware/fuck_tomatoes/.git/blob - User_Interface/Buttons.py
3 def checkButtons(printer
):
4 command
= cv2
.waitKey(10) & 0xFF
5 if command
== ord('q'):
6 printer
.settings
.saveSettings()
9 elif command
== ord('d'):
10 enableDots
= not enableDots
11 elif command
== ord('f'):
12 printer
.sendSerial
= not printer
.sendSpike
13 elif command
== ord('h'):
15 elif command
== ord('c'):
17 elif command
== ord('z'):