Commit graph

10 commits

Author SHA1 Message Date
Fraser Waters fe3a0df56a Add #pragma warning disable for unused field warnings.
Fixes warnings [#61] by disabling unused field warnings for two structures in
HidProtocol. These fields aren't currently used by OpenTK but the stuctures are
used in native marshalling so must match the documented structures perfectly.
2014-11-03 01:39:45 +01:00
thefiddler ea66a828bf [Win] Suppressed spurious warning 2014-09-17 18:42:27 +02:00
thefiddler 8c762e56e3 [Win] Added collection id to dictionary keys 2014-09-11 12:51:49 +02:00
thefiddler f010e32570 [Win] Added HidP status codes 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 a8aabbf02c [Win] Made internal struct non-public 2014-09-11 12:51:47 +02:00
thefiddler f3b3b8860e [Win] Improved HidP bindings
Marked arrays with [In] and [Out] as required. Fixes issues with
axis/button capabilities returning empty results.

Added bindings for link collection node transversal.
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 85e6b9f9ad [Win] Wrapped additional HID APIs 2014-09-11 12:51:46 +02:00
Stefanos A dc357604df [Win] Added HidProtocol binding 2014-09-11 12:51:46 +02:00