Page 1 of 1
Mouse Wheel
Posted: Mon May 03, 2010 9:31 pm
by Valerious
Hi!
it would be nice to make the implementation of processing mouse wheel.
For example:
Code: Select all
int tmp=App.MouseWheelDelta;
App.CameraRotation.X +=tmp;
Posted: Tue May 04, 2010 1:56 pm
by Kjell
Hi Valerious,
Shouldn't be too difficult to implement. The only question is whether the results from SDL ( Mac / Linux ) are identical to those returned in Windows, but I guess we ( Ville? ) will find out soon enough
Welcome to the club ~
Kjell
Posted: Tue May 04, 2010 6:17 pm
by VilleK
Good suggestion, it shouldn't be hard to fix.
It seems I just need to add code that responds to this message:
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
And find something corresponding to that in SDL.
Posted: Tue May 04, 2010 6:46 pm
by Valerious
Posted: Tue May 04, 2010 6:55 pm
by VilleK
Thanks for the SDL-link.
I've implemented it for Win32 now, you can try it in this version:
http://www.zgameeditor.org/files/ZGameEditor_beta.zip
Posted: Wed May 05, 2010 3:51 am
by Valerious
Thanks!