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