Commit graph

14 commits

Author SHA1 Message Date
thefiddler be575d4475 [Win] Refactored UpdateAxes 2014-09-11 12:51:49 +02:00
thefiddler 354fc04614 [Win] Do not change device index when replugging 2014-09-11 12:51:49 +02:00
thefiddler 4c411b0b6e [Win] Retrieve joystick input even on background 2014-09-11 12:51:48 +02:00
thefiddler dd0f622670 [Win] Do not re-query caps in ProcessEvents
We just do that once when a device is opened.
2014-09-11 12:51:48 +02:00
thefiddler 5c0923004a [Win] Fixed axis, button and hat value updates 2014-09-11 12:51:48 +02:00
thefiddler cbb2807959 [Win] Implemented joystick button updates
Due to the way we segregate axes from buttons, the easiest approach is
to retrieve the current button state via HidP_GetUsages().

Axes, buttons and hats are now allocated sequentially based on their
order of appearance in the device capability reports.
2014-09-11 12:51:48 +02:00
thefiddler 3fee0bd8d0 [Win] Raw input parsing moved to input drivers 2014-09-11 12:51:48 +02:00
thefiddler 6d54edc389 [Win] Use DeviceCollection. Fix GUID detection 2014-09-11 12:51:48 +02:00
thefiddler 8fddf8b669 [Win] Fixed axis/button detection
We can now discover button range collections.
2014-09-11 12:51:47 +02:00
thefiddler 131de67459 Fixed minor compilation issues 2014-09-11 12:51:47 +02:00
Stefanos A 30d09a4300 [Win] Cleaned up public region 2014-09-11 12:51:47 +02:00
Stefanos A cec48ab20a [Win] Completed raw input IJoystickDriver2
For improved safety, we are now using managed memory buffers instead of
stack allocations and pointers.
2014-09-11 12:51:47 +02:00
Stefanos A 27e80fcc9e [Win] Completed WinRawJoystick implementation 2014-09-11 12:51:46 +02:00
Stefanos A 18c02db7b0 [Win] Initial implementation of WinRawJoystick 2014-09-11 12:51:46 +02:00