mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-05 16:00:06 +01:00
usb camera recording and detour demo
This commit is contained in:
@@ -278,6 +278,15 @@ class Actions(object):
|
||||
elif self.data.player_mode == 'next':
|
||||
self.data.player_mode = 'now'
|
||||
|
||||
def toggle_detour_mode(self):
|
||||
if self.data.settings['detour']['TRY_DEMO']['value'] == 'enabled':
|
||||
if self.data.detour_active:
|
||||
self.data.detour_active = False
|
||||
self.video_driver.osc_client.send_message("/detour/end", True)
|
||||
else:
|
||||
self.data.detour_active = True
|
||||
self.video_driver.osc_client.send_message("/detour/start", True)
|
||||
|
||||
def set_the_camera_colour_u_continuous(self, amount):
|
||||
self.capture.set_colour(amount*255, None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user