summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-joystick.cpp
AgeCommit message (Collapse)Author
2016-06-16all: split "api" into "api" and "logic"Stanislaw Halik
Here, the "logic" module has all the stuff for building one's own graphical user interface. The "api" module has stuff used by other trackers. While at it, each of "api", "logic", and "compat" need their own export headers. This is because of preprocessor symbol clashes. This is all because a change in the "gui"-only dependency required a relink of all the trackers, protocols, and flters. It takes too long when building in the release configuration. With the split, only the "gui" module gets rebuilt. Since it has close to no static dependencies, it's fast enough.
2016-05-26many modules: trivial cleanups onlyStanislaw Halik
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab
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