commit 1e34f451254eef5decfc723bb35930274b7ef8a7
Author: DPS2004 <dpsophinos@gmail.com>
AuthorDate: Thu Mar 10 11:15:04 2022 -0500
Commit: DPS2004 <dpsophinos@gmail.com>
CommitDate: Mon May 2 09:38:07 2022 -0400
kbmode setting now has effect
---
platform/windows/source/WindowsHost.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/platform/windows/source/WindowsHost.cpp b/platform/windows/source/WindowsHost.cpp
index 9397ce3..703d516 100644
--- a/platform/windows/source/WindowsHost.cpp
+++ b/platform/windows/source/WindowsHost.cpp
@@ -110,7 +110,11 @@ InputState_t Host::scanInput(){
case SDL_TEXTINPUT:
//Logger_Write( charset::upper_to_emoji(event.text.text).c_str() );
//Logger_Write("\n");
- currKBKey = charset::upper_to_emoji(event.text.text);
+ if(kbmode == Emoji){
+ currKBKey = charset::upper_to_emoji(event.text.text);
+ } else {
+ currKBKey = event.text.text;
+ }
currKBDown = true;
break;