silencht
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
7 additions and
2 deletions
-
src/televuer/televuer.py
|
|
@ -100,7 +100,12 @@ class TeleVuer: |
|
|
self.process.start() |
|
|
self.process.start() |
|
|
|
|
|
|
|
|
def vuer_run(self): |
|
|
def vuer_run(self): |
|
|
self.vuer.run() |
|
|
|
|
|
|
|
|
try: |
|
|
|
|
|
self.vuer.run() |
|
|
|
|
|
except KeyboardInterrupt: |
|
|
|
|
|
pass |
|
|
|
|
|
except Exception as e: |
|
|
|
|
|
print(f"Vuer encountered an error: {e}") |
|
|
|
|
|
|
|
|
async def on_cam_move(self, event, session, fps=60): |
|
|
async def on_cam_move(self, event, session, fps=60): |
|
|
try: |
|
|
try: |
|
|
@ -512,4 +517,4 @@ class TeleVuer: |
|
|
def right_controller_bButton(self): |
|
|
def right_controller_bButton(self): |
|
|
"""bool, right controller 'B' button pressed.""" |
|
|
"""bool, right controller 'B' button pressed.""" |
|
|
with self.right_bButton_shared.get_lock(): |
|
|
with self.right_bButton_shared.get_lock(): |
|
|
return self.right_bButton_shared.value |
|
|
|
|
|
|
|
|
return self.right_bButton_shared.value |