summaryrefslogtreecommitdiffhomepage
path: root/opentrack
AgeCommit message (Collapse)Author
2015-12-06api/keys: use a fake window for DirectInput handleStanislaw Halik
2015-12-06api/keys: nix tautological #ifdefStanislaw Halik
2015-12-06api/camera-names: move to compat/Stanislaw Halik
2015-12-06api/camera: move from headerStanislaw Halik
There's no need to have a copy in each module.
2015-12-06api/keys: initialize hresultStanislaw Halik
2015-12-06api/keys: fix buildStanislaw Halik
2015-12-06api, main: implement global shortcuts for controlling trackingStanislaw Halik
Issue: #252 That involves moving stuff around to get rid of circular dependencies. You need to bind keys to shortcuts again this once.
2015-12-05api/shortcuts: no longer keep shortcuts hardcodedStanislaw Halik
2015-12-05api/keys: fix multiple shortcut receiversStanislaw Halik
We can't depend on std::vector's address of array subscript to remain constant, duh.
2015-12-03api/joystick: refresh more often, it's cheap enough cpu-wiseStanislaw 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: remove pointless "friend" declarationsStanislaw Halik
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-22api/shortcuts: fix copy-paste erroropentrack-2.3-rc21p1Stanislaw Halik
2015-11-22api/shortcuts: don't provide guard/stubs for non-win32Stanislaw Halik
The worker class is win32-only. Don't guard there, consumers are expected only to include it on _WIN32. For the same reason don't provide a stub for the keybinding worker.
2015-11-22api/joy: guard _WIN32 properlyStanislaw Halik
2015-11-22api/shortcuts: hopefully guard joystick _WIN32Stanislaw Halik
2015-11-22opentrack/joystick: rename header to clarify usageStanislaw Halik
2015-11-22api/shortcuts: add missing win32 delete key definitionStanislaw Halik
2015-11-22api/shortcuts, tracker/joy: adapt to synchronized joy apiStanislaw Halik
2015-11-22api/joy: protect dinput with mutex in all casesStanislaw Halik
Also practice object-oriented information hiding to avoid accesses without the mutex. Also provide basic joy information (guid, name) without exposing dinput handles and so on.
2015-11-22api/joy: implement a central joystick workerStanislaw Halik
- Make the dinput handle a singleton also across module boundaries. - Provide axis values per connected stick. - Robustify in case of sudden unplug.
2015-11-22work: use the centralized keypress workerStanislaw Halik
2015-11-22api/keyboard: implement a central workerStanislaw Halik
DirectInput dies when two LPDIRECTINPUT8 handles are obtained. Implement a singleton worker providing keypress events.
2015-11-19shortcuts: nix single-use mutexStanislaw Halik
It also slept with lock held. Good riddance.
2015-11-12joy: remove branchingStanislaw Halik
2015-11-12joy: for newly plugged sticks, only emit events after 3 secondsStanislaw Halik
My X65 emits modeswitch events only a while after getting plugged in. This only affects newly hotplugged joysticks. Ones plugged in before listening start start processing events immediately. Issue: #118
2015-11-11joy: guard _WIN32. retab.opentrack-2.3-rc21Stanislaw Halik
2015-11-11shortcuts: alloy kbd mods for joystick buttonsStanislaw Halik
2015-11-11joy: slurp keys on startupStanislaw Halik
2015-11-11joy: add cheap debug infoStanislaw Halik
2015-11-11joy: memset won't hurtStanislaw Halik
2015-11-11joy: pass shortcut only if pressed, not depressedStanislaw Halik
Issue: #118 Reported-by: @Len62
2015-11-11joy: refresh immediately once on startupStanislaw Halik
2015-11-11shortcuts: register joysticks every 250 ms, not 2 secondsStanislaw Halik
Issue: #118
2015-11-11shortcuts: map joystick buttons on depress onlyStanislaw Halik
Some buttons like the X65 mode switch are held all the time. Prevent them from hogging all the keybindings. Issue: #118
2015-11-11allow for binding joystick buttons to shortcut functionsStanislaw Halik
Win32 only Issue: #118
2015-11-01simple-mat: nix porked ctorStanislaw Halik
2015-11-01shortcuts: separate keybinding worker to another fileStanislaw Halik
2015-11-01shortcuts: cleanupStanislaw Halik
2015-11-01options: don't define options singleton in every moduleStanislaw Halik
Instead, define in opentrack-api.so only. Also, move to opentrack-compat to break a circular dependency
2015-11-01all: adjust options.hpp move to compatStanislaw Halik
2015-11-01cmake: fix spline widget linkageStanislaw Halik
2015-11-01cmake: less boilerplate, link dynamicallyStanislaw Halik