summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-joystick.hpp
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.
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: 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-03api/joystick: refresh more often, it's cheap enough cpu-wiseStanislaw 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-24api/shortcuts: don't unacquire joy handle pointlesslyStanislaw Halik
2015-11-22opentrack/joystick: rename header to clarify usageStanislaw Halik