Skip to content

Commit

Permalink
Merge pull request #644 from Sjoerd1993/Fix-ctrl
Browse files Browse the repository at this point in the history
Fix ctrl button
  • Loading branch information
sstendahl authored Dec 12, 2023
2 parents 3ea915b + 53f671b commit 6e3fbd4
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 6e3fbd4

Please sign in to comment.