Skip to content

Commit

Permalink
Fixed windows left alt support
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrw committed Dec 11, 2023
1 parent 6ba1806 commit 17fd40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.nim
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ Trying to connect to {state.config.connect_address}.
let event = InputEventKey(event)
# Left alt support. raw_code is an enu specific addition
if (host_os == "macosx" and event.raw_code == 58) or
(host_os == "windows" and event.raw_code == 312) or
(host_os == "windows" and event.raw_code == 56) or
(host_os == "linux" and event.raw_code == 65513):

if event.pressed:
Expand Down

0 comments on commit 17fd40a

Please sign in to comment.