bandrewk Posted March 14, 2014 Share Posted March 14, 2014 Hello, the value returned by Window::GetMousePosition() is only changing when scrolling downwards: Leadwerks::Vec3 mspos = Leadwerks::Window::GetCurrent()->GetMousePosition(); printf("%d\n", mspos.z); It does never change when scrolling up. Thank you. PS: I am using Leadwerks 3.0. Link to comment Share on other sites More sharing options...
Josh Posted March 23, 2014 Share Posted March 23, 2014 Fixed. If anyone is interested. this is the proper way to get the mouse wheel delta on Windows: case WM_MOUSEWHEEL: window->mousez += GET_WHEEL_DELTA_WPARAM(wparam)/120; break; 1 My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts