Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mouse wheel sdl2 #112

Closed
codeservice opened this issue Sep 20, 2013 · 2 comments
Closed

mouse wheel sdl2 #112

codeservice opened this issue Sep 20, 2013 · 2 comments

Comments

@codeservice
Copy link
Contributor

mouse wheel event not working on windows sdl2

@ruby0x1
Copy link
Contributor

ruby0x1 commented Sep 20, 2013

I committed code to previously make them work as before (and they are working as expected on my mac+windows machine),

Can you elaborate what your setup is?

The commit is this one Line 760 :
267c456

@codeservice
Copy link
Contributor Author

nme and nme-dev updated 10 min ago from git (I am using Windows 7, 32-bit, nme compiled for cpp target)

Code: addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheel)

It work ok only when I switched back to SDl1.2:
back to sdl1.2 build.xml:
...
<set name="sdl" value="1" if="win_desktop" unless="has_window" />
<set name="sdl" value="1" if="macos" unless="has_window" />
<set name="sdl" value="1" if="linux" unless="has_window" />
<set name="sdl" value="1" if="blackberry" unless="has_window" />
<set name="sdl" value="1" if="emscripten" unless="has_window" />
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants