summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-joystick.cpp
AgeCommit message (Collapse)Author
2015-12-17api/joy: refresh only manually on certain eventsStanislaw Halik
Refresh joylist when new listener arrives, and when the joy singleton just gets created. Enumerating joys all the time causes high CPU usage for some of the users. Issue: #279 Backtrace-by: @exulant Reported-by: @aka2k
2015-12-06api/joy: move from headerStanislaw Halik
2015-12-06api/joy: prevent idempotent keypressed passed to receiverStanislaw Halik
2015-12-06api/joy: speed up poll_axis pathStanislaw Halik
We don't really need to poll for joysticks in tracker/joy.
2015-12-06api/joy: nix static, now that we're not a singletonStanislaw Halik
2015-12-06joystick: no longer singleton, use fake window handleStanislaw Halik
We can create arbitrary amount of dinput handles, given they're passed unique window handles.
2015-12-06api/keys: initialize hresultStanislaw Halik
2015-12-03api/joy: there's no joy_handle == nullptr case, don't check for itStanislaw Halik
2015-12-03api, compat: clean up verbose fprintf logspamStanislaw Halik
2015-12-03api/joy: fix raceStanislaw Halik
erase from iterator referenced the wrong 'joys' variable
2015-11-29api/joystick: drop locking, add commentStanislaw Halik
2015-11-29api/joystick: oops, access the right 'joys' variableStanislaw Halik
2015-11-29api/joystick: reduce mutex contentionStanislaw Halik
Don't look for changes in hotplug joysticks by freezing up polling for joysticks' axis and button. Issue: #267
2015-11-26api/shortcuts: move to separate definitionStanislaw Halik
There's no need to have definitions in header for non-template classes
2015-11-22api/joy: guard _WIN32 properlyStanislaw Halik
2015-11-22opentrack/joystick: rename header to clarify usageStanislaw Halik