Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-07 | logic/dinput: only ever use a single handle to DIRECTINPUT8 COM object | Stanislaw Halik | |
2016-07-07 | logic/joystick: initialize dinput handle ASAP | Stanislaw Halik | |
2016-06-29 | logic/joystick: treat each POV hat as 4 buttons | Stanislaw Halik | |
dinput8 has separate logic for pov hats. Before pov hat state was totally ignored. Don't support 8-way buttons. Only one button gets registered after a diagonal pov hat press. | |||
2016-06-28 | logic/joystick: fix multiple bugs | Stanislaw Halik | |
- the enumerator and the handle list are now static; joysticks were erroneously destructed during refresh - setup dinput only once; creating LPDIRECTINPUT8 many times causes Release() to invalidate all handles - don't create joystick handles many times; same thing applies - refresh joy list on failed acquire; usually joystick is unplugged at that moment leading to endless stderr spam - use a static mutex as to avoid dinput races Issue: #315 | |||
2016-06-16 | all: 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. |