diff options
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r-- | src/gui/sdlinput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp index cc3693418..16204e5e1 100644 --- a/src/gui/sdlinput.cpp +++ b/src/gui/sdlinput.cpp @@ -297,7 +297,7 @@ void SDLInput::convertKeyEventToKey(const SDL_Event &event, KeyInput &keyInput) keyInput.setActionId(actionId); } -MouseButton::Type SDLInput::convertMouseButton(const int button) +MouseButtonT SDLInput::convertMouseButton(const int button) { switch (button) { @@ -532,7 +532,7 @@ int SDLInput::convertKeyCharacter(const SDL_Event &event) } void SDLInput::simulateMouseClick(const int x, const int y, - const MouseButton::Type button) + const MouseButtonT button) { MouseInput mouseInput; mouseInput.setX(x); |