Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2015-11-11 | joy: slurp keys on startup | Stanislaw Halik | |
2015-11-11 | joy: add cheap debug info | Stanislaw Halik | |
2015-11-11 | joy: memset won't hurt | Stanislaw Halik | |
2015-11-11 | joy: pass shortcut only if pressed, not depressed | Stanislaw Halik | |
Issue: #118 Reported-by: @Len62 | |||
2015-11-11 | joy: refresh immediately once on startup | Stanislaw Halik | |
2015-11-11 | shortcuts: register joysticks every 250 ms, not 2 seconds | Stanislaw Halik | |
Issue: #118 | |||
2015-11-11 | shortcuts: map joystick buttons on depress only | Stanislaw Halik | |
Some buttons like the X65 mode switch are held all the time. Prevent them from hogging all the keybindings. Issue: #118 | |||
2015-11-11 | allow for binding joystick buttons to shortcut functions | Stanislaw Halik | |
Win32 only Issue: #118 | |||
2015-11-01 | simple-mat: nix porked ctor | Stanislaw Halik | |
2015-11-01 | shortcuts: separate keybinding worker to another file | Stanislaw Halik | |
2015-11-01 | shortcuts: cleanup | Stanislaw Halik | |
2015-11-01 | options: don't define options singleton in every module | Stanislaw Halik | |
Instead, define in opentrack-api.so only. Also, move to opentrack-compat to break a circular dependency | |||
2015-11-01 | all: adjust options.hpp move to compat | Stanislaw Halik | |
2015-11-01 | cmake: fix spline widget linkage | Stanislaw Halik | |
2015-11-01 | cmake: less boilerplate, link dynamically | Stanislaw Halik | |
2015-10-30 | shortcuts: fix crash on Linux | Stanislaw Halik | |
2015-10-30 | move to subdirectory-based build system | Stanislaw Halik | |
Closes #224 | |||
2015-10-26 | main: use camera-based centering by default | Stanislaw Halik | |
2015-10-25 | win32: try win_key with modifier first | Stanislaw Halik | |
2015-10-25 | shortcuts: remove obsolete code on win32 | Stanislaw Halik | |
Now that dinput catches keystrokes, it's not needed | |||
2015-10-25 | shortcuts: allow for numpad on win32 | Stanislaw Halik | |
Closes #259 |