Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-13 | api: implement virtual dtors in a compilation unit | Stanislaw Halik | |
2016-05-06 | api: add class for computing running variance | Stanislaw Halik | |
2016-05-04 | api: fix shortcuts for OSX and Linux | Stanislaw Halik | |
2016-05-04 | api: fix permissions bits. no code changes. | Stanislaw Halik | |
2016-04-29 | api, main: implement new keybindings | Stanislaw Halik | |
The following keybindings are now implemented: - restart tracking. if not started, starts. - toggle (keep position) while key held - zero (keep zero) while key held The latter two options only work for Windows as libqxt doesn't support them. Closes #291 | |||
2016-04-23 | api: make NaN/Inf check work even with full fast math | Stanislaw Halik | |
2015-12-18 | api/mat: fix typos/breakage | Stanislaw Halik | |
2015-12-17 | api/joy: refresh only manually on certain events | Stanislaw 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-17 | cmake/api: link with strmiids.lib on win32 | Stanislaw Halik | |
It worked by accident since cmake/compat already links to it. | |||
2015-12-06 | api/keys: prevent idempotent keysopentrack-2.3-rc21p4 | Stanislaw Halik | |
2015-12-06 | api/joy: move from header | Stanislaw Halik | |
2015-12-06 | api/joy: prevent idempotent keypressed passed to receiver | Stanislaw Halik | |
2015-12-06 | api/joy: speed up poll_axis path | Stanislaw Halik | |
We don't really need to poll for joysticks in tracker/joy. | |||
2015-12-06 | api/joy: nix static, now that we're not a singleton | Stanislaw Halik | |
2015-12-06 | joystick: no longer singleton, use fake window handle | Stanislaw Halik | |
We can create arbitrary amount of dinput handles, given they're passed unique window handles. | |||
2015-12-06 | api/keys: use a fake window for DirectInput handle | Stanislaw Halik | |
2015-12-06 | api/keys: nix tautological #ifdef | Stanislaw Halik | |
2015-12-06 | api/camera-names: move to compat/ | Stanislaw Halik | |
2015-12-06 | api/camera: move from header | Stanislaw Halik | |
There's no need to have a copy in each module. | |||
2015-12-06 | api/keys: initialize hresult | Stanislaw Halik | |
2015-12-06 | api/keys: fix build | Stanislaw Halik | |
2015-12-06 | api, main: implement global shortcuts for controlling tracking | Stanislaw 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-05 | api/shortcuts: no longer keep shortcuts hardcoded | Stanislaw Halik | |
2015-12-05 | api/keys: fix multiple shortcut receivers | Stanislaw Halik | |
We can't depend on std::vector's address of array subscript to remain constant, duh. | |||
2015-12-03 | api/joystick: refresh more often, it's cheap enough cpu-wise | Stanislaw Halik | |
2015-12-03 | api/joy: there's no joy_handle == nullptr case, don't check for it | Stanislaw Halik | |
2015-12-03 | api, compat: clean up verbose fprintf logspam | Stanislaw Halik | |
2015-12-03 | api/joy: fix race | Stanislaw Halik | |
erase from iterator referenced the wrong 'joys' variable | |||
2015-11-29 | api/joystick: drop locking, add comment | Stanislaw Halik | |
2015-11-29 | api/joystick: oops, access the right 'joys' variable | Stanislaw Halik | |
2015-11-29 | api/joystick: reduce mutex contention | Stanislaw Halik | |
Don't look for changes in hotplug joysticks by freezing up polling for joysticks' axis and button. Issue: #267 | |||
2015-11-26 | api/shortcuts: remove pointless "friend" declarations | Stanislaw Halik | |
2015-11-26 | api/shortcuts: move to separate definition | Stanislaw Halik | |
There's no need to have definitions in header for non-template classes | |||
2015-11-24 | api/shortcuts: don't unacquire joy handle pointlessly | Stanislaw Halik | |
2015-11-22 | api/shortcuts: fix copy-paste erroropentrack-2.3-rc21p1 | Stanislaw Halik | |
2015-11-22 | api/shortcuts: don't provide guard/stubs for non-win32 | Stanislaw 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-22 | api/joy: guard _WIN32 properly | Stanislaw Halik | |
2015-11-22 | api/shortcuts: hopefully guard joystick _WIN32 | Stanislaw Halik | |
2015-11-22 | opentrack/joystick: rename header to clarify usage | Stanislaw Halik | |
2015-11-22 | api/shortcuts: add missing win32 delete key definition | Stanislaw Halik | |
2015-11-22 | api/shortcuts, tracker/joy: adapt to synchronized joy api | Stanislaw Halik | |
2015-11-22 | api/joy: protect dinput with mutex in all cases | Stanislaw 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-22 | api/joy: implement a central joystick worker | Stanislaw 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-22 | work: use the centralized keypress worker | Stanislaw Halik | |
2015-11-22 | api/keyboard: implement a central worker | Stanislaw Halik | |
DirectInput dies when two LPDIRECTINPUT8 handles are obtained. Implement a singleton worker providing keypress events. | |||
2015-11-19 | shortcuts: nix single-use mutex | Stanislaw Halik | |
It also slept with lock held. Good riddance. | |||
2015-11-12 | joy: remove branching | Stanislaw Halik | |
2015-11-12 | joy: for newly plugged sticks, only emit events after 3 seconds | Stanislaw 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-11 | joy: guard _WIN32. retab.opentrack-2.3-rc21 | Stanislaw Halik | |
2015-11-11 | shortcuts: alloy kbd mods for joystick buttons | Stanislaw Halik | |