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

Mousewheel input #913

Closed
cinaera opened this issue Jan 4, 2012 · 4 comments
Closed

Mousewheel input #913

cinaera opened this issue Jan 4, 2012 · 4 comments

Comments

@cinaera
Copy link
Contributor

cinaera commented Jan 4, 2012

Set gfx_asyncrender 1 together with gfx_threaded 1 causes problems with mouse_wheel input e.g. sometimes scrolling in server browser works, sometimes it doesnt.
(windows 7)

@ghost
Copy link

ghost commented Jan 9, 2012

same on linux

@cinaera
Copy link
Contributor Author

cinaera commented Jan 10, 2012

Every time running the main loop the input gets updated and one buffer of m_InputCount will be cleared. If the gfx thread isn't idling the input wont be executed and the mousewheel event is lost (also every event which uses m_InputCount e.g. ctrl+h to toogle HD).

@BotoX
Copy link

BotoX commented Jun 29, 2012

I haven't tested this yet. But I think this is fixing the error.
https://github.com/PsychoGod/teeworlds/commit/9029eece86181321fd7d4b7ccea6550252a0a4c3

oy pushed a commit that referenced this issue Jul 7, 2012
Fix Input Handling
@oy
Copy link
Member

oy commented Jul 7, 2012

Fixed for now by 8372849.

@oy oy closed this as completed Jul 7, 2012
oy pushed a commit that referenced this issue Feb 24, 2013
Fix Input Handling
heinrich5991 pushed a commit to heinrich5991/teeworlds that referenced this issue Nov 9, 2017
Fix `-Wtypedef-redefinition` for `struct ASYNCIO`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants