mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Add SetKeysPressed() function to UiContext
This commit is contained in:
committed by
Gymnasiast
parent
898ffdb8e0
commit
999a467b9a
@@ -217,6 +217,12 @@ public:
|
||||
{
|
||||
SDL_SetWindowGrab(_window, value ? SDL_TRUE : SDL_FALSE);
|
||||
}
|
||||
|
||||
void SetKeysPressed(uint32 keysym, uint8 scancode) override
|
||||
{
|
||||
_lastKeyPressed = keysym;
|
||||
_keysPressed[scancode] = 1;
|
||||
}
|
||||
|
||||
// Drawing
|
||||
IDrawingEngine * CreateDrawingEngine(DRAWING_ENGINE_TYPE type) override
|
||||
|
||||
Reference in New Issue
Block a user