Open makotech222 opened 5 years ago
I think this enhancement is out of scope for this project; this is a really niche requirement and wouldn't fit well within the InputSystem. You don't even have to hook into WndProc for this, you could recreate that data on your side from xenko/stride's input system. That's my two cents though, feel free to ignore me, I could be in the wrong here.
In integrating the Ultralight GUI framework, there is a need to pass the raw keyboard event data, such as (in windows) WindowsMessage, lParam, wParam. For other platforms, will need virtual key code, scan code, and similar MessageType.
Describe the solution you'd like Expose these properties in the KeyEvent class.
Describe alternatives you've considered In my current windows-only game, i'm hooking into the WndProc function to get them manually.