projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed simple "printf()" debug output to new debug log function
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 24106461affff97d5be9f3fef5ac0134b6ea4db2..f4311bfdee435c6701cc11f3feb8d2342d501cd6 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-1386,6
+1386,10
@@
static boolean checkTextInputKey(Key key)
if (game_status == GAME_MODE_PLAYING)
return FALSE;
if (game_status == GAME_MODE_PLAYING)
return FALSE;
+ // if Shift or right Alt key is pressed, handle key as text input
+ if ((GetKeyModState() & KMOD_TextInput) != KMOD_None)
+ return TRUE;
+
// ignore raw keys as text input when not in text input mode
if (KSYM_RAW(key) && !textinput_status)
return FALSE;
// ignore raw keys as text input when not in text input mode
if (KSYM_RAW(key) && !textinput_status)
return FALSE;