Skip to content

Commit

Permalink
Fix ctrl
Browse files Browse the repository at this point in the history
  • Loading branch information
sstendahl committed Dec 12, 2023
1 parent a3643cb commit 53f671b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def on_key_press_event(self, _controller, keyval, _keycode, _state):
"""
if keyval == 65507 or keyval == 65508: # Control_L or Control_R
self.set_ctrl(True)
if keyval == 65505 or keyval == 65506: # Left or right Shift
elif keyval == 65505 or keyval == 65506: # Left or right Shift
self.set_shift(True)
else: # Prevent keys from being true with key combos
self.set_ctrl(False)
Expand Down

0 comments on commit 53f671b

Please sign in to comment.