mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-25 07:12:20 -08:00
detect alt-held character inputs; short-circuit menu bar shenanigans on chars-with-alt
This commit is contained in:
1 parent
7cf0854178
commit
813554fa62
3 files changed
+204
-196
No files matched your search
@@ -493,6 +493,10 @@ w32_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
if(character >= 32 && character != 127)
|
||||
{
|
||||
OS_Event *event = w32_push_event(OS_EventKind_Text, window);
|
||||
if(lParam & bit29)
|
||||
{
|
||||
event->flags |= OS_EventFlag_Alt;
|
||||
}
|
||||
event->character = character;
|
||||
}
|
||||
}break;
|
||||
|
||||
Reference in new issue
Block a user