Skip to content

Commit cc421a5

Browse files
committed
map altgr to right alt
1 parent cd708c1 commit cc421a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Managers/UInputMan.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ namespace RTE {
180180

181181
/// Gets the state of the Right Alt key.
182182
/// @return The state of the Right Alt key.
183-
bool FlagRAltState() const { return (SDL_GetModState() & SDL_KMOD_RALT) > 0; }
183+
bool FlagRAltState() const { return (SDL_GetModState() & (SDL_KMOD_RALT | SDL_KMOD_MODE)) > 0; }
184184

185185
/// Gets the state of either Alt key.
186186
/// @return The state of either Alt key.

0 commit comments

Comments
 (0)