mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-22 21:05:39 +00:00
sdl2 mouse wheel scrolling rev1
This commit is contained in:
parent
b24bdfbc8b
commit
06f6819d63
3 changed files with 19 additions and 0 deletions
|
|
@ -222,6 +222,14 @@ void PlatformWindowManagerSDL::_process()
|
|||
break;
|
||||
}
|
||||
|
||||
case SDL_MOUSEWHEEL:
|
||||
{
|
||||
PlatformWindowSDL *window = mWindowMap[evt.wheel.windowID];
|
||||
if (window)
|
||||
window->_processSDLEvent(evt);
|
||||
break;
|
||||
}
|
||||
|
||||
case SDL_MOUSEBUTTONDOWN:
|
||||
case SDL_MOUSEBUTTONUP:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue