Skip to content

Commit

Permalink
faster rendering times
Browse files Browse the repository at this point in the history
  • Loading branch information
misko committed Oct 10, 2024
1 parent e3cf2a0 commit 62e8016
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hudes/keyboard_client_openGL.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ def run_loop(self):
self.step_size_increase(2)
self.send_config()

if joystick.get_button(11) > 0.5:
self.view.increase_zoom()
redraw = True
# if joystick.get_button(11) > 0.5:
# self.view.increase_zoom()
# redraw = True

if joystick.get_button(12) > 0.5:
self.view.decrease_zoom()
redraw = True
# if joystick.get_button(12) > 0.5:
# self.view.decrease_zoom()
# redraw = True

if joystick.get_axis(4) > 0.5 and (ct - last_select_press) > 0.2:
self.view.decrement_selected_grid()
Expand Down

0 comments on commit 62e8016

Please sign in to comment.