platform/core/csapi/opentk.git
8 years ago[X11] Fix CursorVisible
Fraser Waters [Fri, 21 Aug 2015 22:58:00 +0000 (23:58 +0100)]
[X11] Fix CursorVisible

Change X11 CursorVisible to only execute if a change is actually needed,
that is if we're going from visible to not visible or vice versa.

Fixes #281

8 years agoRevert changes to VS project version
Fraser Waters [Fri, 21 Aug 2015 22:22:12 +0000 (23:22 +0100)]
Revert changes to VS project version

8 years agoMerge pull request #262 from infinitespace-studios/develop
Fraser Waters [Thu, 20 Aug 2015 20:17:53 +0000 (21:17 +0100)]
Merge pull request #262 from infinitespace-studios/develop

Fixed MINIMAL compilation

8 years agoRemoved NO_SYSDRAWING in favour of just MINUMAL
Dean Ellis [Tue, 19 May 2015 19:09:04 +0000 (20:09 +0100)]
Removed NO_SYSDRAWING in favour of just MINUMAL
Reverted changes to GLControl.cs
Updated sln to not build OpenTK.GLControl in MINIMAL mode

8 years agoFixed MINIMAL and NO_SYSDRAWING compilation
Dean Ellis [Tue, 12 May 2015 20:11:27 +0000 (21:11 +0100)]
Fixed MINIMAL and NO_SYSDRAWING compilation

8 years agoMerge pull request #289 from Frassle/leak
Fraser Waters [Mon, 10 Aug 2015 21:01:42 +0000 (22:01 +0100)]
Merge pull request #289 from Frassle/leak

[Win32] Fix leaks in Win32 Cursor property

8 years ago[Win32] Fix leaks in Win32 Cursor property
Fraser Waters [Mon, 10 Aug 2015 20:57:05 +0000 (21:57 +0100)]
[Win32] Fix leaks in Win32 Cursor property

GetIconInfo
(https://msdn.microsoft.com/en-us/library/windows/desktop/ms648070(v=vs.85).aspx)
creates bitmaps that must be deleted after the call to
CreateIconIndirect, which copies the bitmaps to the icon it creates.

bmpIcon created by Bitmap.GetHicon is now destroyed after being used.

The return value of SetCursor was used to retrieve the last cursor, as
it could have been set by another library (Some UI libraries change the
cursor using the .net Cursor) this could of leaked the cursor we created
and now lost track of. We now delete the handle we had set, not the one
returned by SetCursor.

8 years agoMerge pull request #264 from Frassle/minimal
Fraser Waters [Mon, 10 Aug 2015 20:38:18 +0000 (21:38 +0100)]
Merge pull request #264 from Frassle/minimal

Remove NO_SYSDRAWING, replace with MINIMAL

8 years agoRemove NO_SYSDRAWING, replace with MINIMAL
Fraser Waters [Mon, 18 May 2015 11:31:54 +0000 (12:31 +0100)]
Remove NO_SYSDRAWING, replace with MINIMAL

8 years agoMerge pull request #288 from zeldin/develop
Fraser Waters [Sun, 9 Aug 2015 09:27:40 +0000 (10:27 +0100)]
Merge pull request #288 from zeldin/develop

[X11] Fix XIEventMask to work on any architecture

8 years agoFix XIEventMask to work on any architecture
Marcus Comstedt [Sat, 8 Aug 2015 21:46:18 +0000 (23:46 +0200)]
Fix XIEventMask to work on any architecture

The mask part of an XIEventMask struct is actually not a pointer to an
integer containing the mask, but rather to an array of bytes each
holding 8 bits of the mask, with the first byte holding bit 0-7.
Therefore the old code would only work on little endian arches.

9 years ago[Bind] Remove Zero-width space from overrides file
Fraser Waters [Thu, 30 Jul 2015 17:46:30 +0000 (18:46 +0100)]
[Bind] Remove Zero-width space from overrides file

9 years agoMerge pull request #270 from Frassle/bind
Fraser Waters [Thu, 30 Jul 2015 13:42:27 +0000 (14:42 +0100)]
Merge pull request #270 from Frassle/bind

[Bind] Cleaning up binding generator

9 years agoRegenerate bindings
Fraser Waters [Thu, 30 Jul 2015 13:31:34 +0000 (14:31 +0100)]
Regenerate bindings

Just white space changes.

9 years ago[Bind] Remove Type.IndirectionLevel
Fraser Waters [Wed, 29 Jul 2015 13:07:14 +0000 (14:07 +0100)]
[Bind] Remove Type.IndirectionLevel

Property wasn't used.

9 years ago[Bind] Improve BindStreamWriter
Fraser Waters [Fri, 20 Jun 2014 19:58:02 +0000 (20:58 +0100)]
[Bind] Improve BindStreamWriter

Allows multiple calls to Write to build up one line of text. Splits on
new line characters even in Write. Only places tabs if line is not
otherwise empty.

9 years ago[Bind] Remove all C header code from Convert
Fraser Waters [Mon, 8 Jun 2015 14:38:08 +0000 (15:38 +0100)]
[Bind] Remove all C header code from Convert

Cleaning up old C header code from convert, we'll just deal with Khronos
XML files now. If there's a need for parsing C headers we should do that
as a separate tool that either parses and generates the OpenTK XML specs
directly generates Khronos XML specs that can then be parsed by Convert.

9 years ago[Bind] Remove setting of DefaultOutputNamespace
Fraser Waters [Sun, 7 Jun 2015 22:16:55 +0000 (23:16 +0100)]
[Bind] Remove setting of DefaultOutputNamespace

Settings wasn't required to be set. The generator constructors set the
default namespace.

9 years ago[Bind] Remove dirName
Fraser Waters [Sun, 7 Jun 2015 22:01:46 +0000 (23:01 +0100)]
[Bind] Remove dirName

Wasn't used, always ended up as "GL2"

9 years agoMerge pull request #261 from Frassle/resize
Fraser Waters [Fri, 29 May 2015 09:40:35 +0000 (10:40 +0100)]
Merge pull request #261 from Frassle/resize

X11: Fix so ClientSize can resize windows with fixed borders

9 years agoX11: Fix so ClientSize can resize windows with fixed borders
Fraser Waters [Tue, 12 May 2015 13:15:33 +0000 (14:15 +0100)]
X11: Fix so ClientSize can resize windows with fixed borders

Also fixes issue that NativeWindowBase.Height was setting non-client
height but Width was setting client Width. Both now set client size.

Fixes #259

9 years agoMerge pull request #220 from Frassle/project
thefiddler [Mon, 11 May 2015 10:07:24 +0000 (12:07 +0200)]
Merge pull request #220 from Frassle/project

[Math] Vector3 Project and Unproject

9 years agoMerge pull request #228 from Frassle/spec
thefiddler [Mon, 11 May 2015 10:05:13 +0000 (12:05 +0200)]
Merge pull request #228 from Frassle/spec

Clean up binding converter and generator

9 years ago[EGL] ANGLE and EXT additions
Fraser Waters [Tue, 21 Apr 2015 20:21:18 +0000 (21:21 +0100)]
[EGL] ANGLE and EXT additions

Adds eglQuerySurfacePointerANGLE and a number of ANGLE related
constants.
Add eglGetPlatformDisplayEXT, eglCreatePlatformWindowSurfaceEXT and
eglCreatePlatformPixmapSurfaceEXT from EGL_EXT_platform_base.

9 years agoGetStaticAddess checks for RenderableFlags.ES3
Jonas Boesch [Wed, 4 Mar 2015 10:50:12 +0000 (11:50 +0100)]
GetStaticAddess checks for RenderableFlags.ES3

9 years agoAdded OPENGL_ES3_BIT
Jonas Boesch [Tue, 3 Mar 2015 14:00:43 +0000 (15:00 +0100)]
Added OPENGL_ES3_BIT

9 years agoUpdated binary dependencies for Angle
Jonas Boesch [Tue, 7 Apr 2015 13:22:12 +0000 (15:22 +0200)]
Updated binary dependencies for Angle

- From Chromium Repo: 05ae50dc71b4859baba5a95cb5d7ab04bbb8a47a

9 years agoMerge pull request #247 from Frassle/travis
Fraser Waters [Sun, 12 Apr 2015 10:37:26 +0000 (11:37 +0100)]
Merge pull request #247 from Frassle/travis

[travis] Use travis C# support

9 years ago[travis] Use travis C# support
Fraser Waters [Sun, 12 Apr 2015 10:13:11 +0000 (11:13 +0100)]
[travis] Use travis C# support

Travis now has proper support for C#,
http://docs.travis-ci.com/user/languages/csharp/

9 years agoMerge pull request #244 from Frassle/keypaddivide
Fraser Waters [Sat, 11 Apr 2015 08:40:50 +0000 (09:40 +0100)]
Merge pull request #244 from Frassle/keypaddivide

[Windows] Fix detection of KeyboardDivide key

9 years ago[Windows] Fix detection of KeyboardDivide key
Fraser Waters [Fri, 10 Apr 2015 22:29:20 +0000 (23:29 +0100)]
[Windows] Fix detection of KeyboardDivide key

Fixes #237

9 years agoMerge pull request #235 from looperhacks/patch-1
Fraser Waters [Fri, 20 Mar 2015 17:13:46 +0000 (17:13 +0000)]
Merge pull request #235 from looperhacks/patch-1

Fix links in Readme

9 years agoFix links in Readme
Peter Jeschke [Fri, 20 Mar 2015 16:43:42 +0000 (17:43 +0100)]
Fix links in Readme

9 years agoMerge pull request #193 from Frassle/threadevents
Fraser Waters [Mon, 16 Mar 2015 15:37:06 +0000 (15:37 +0000)]
Merge pull request #193 from Frassle/threadevents

[Platform] Throw exception if ProcessEvents isn't called on main thread.

9 years agoMerge pull request #223 from Frassle/angle
Fraser Waters [Mon, 16 Mar 2015 15:35:51 +0000 (15:35 +0000)]
Merge pull request #223 from Frassle/angle

[Math] Fix NaN issue in CalculateAngle

9 years agoMerge pull request #211 from cra0zy/unixgamepad
Fraser Waters [Mon, 16 Mar 2015 15:35:16 +0000 (15:35 +0000)]
Merge pull request #211 from cra0zy/unixgamepad

I was hoping someone else on the project had OSX access but that's looking unlikely. The changes look fairly benign so I'm just going to merge this in. Move fast and break things right :)

9 years agoRegenerate bindings
Fraser Waters [Sun, 1 Mar 2015 19:04:43 +0000 (19:04 +0000)]
Regenerate bindings

9 years agoUpdate License date
Fraser Waters [Sun, 1 Mar 2015 19:00:05 +0000 (19:00 +0000)]
Update License date

9 years agoRemove java/cpp code from binding generator
Fraser Waters [Sun, 1 Mar 2015 18:59:21 +0000 (18:59 +0000)]
Remove java/cpp code from binding generator

9 years agoChange url in binding generator help
Fraser Waters [Sun, 1 Mar 2015 18:51:21 +0000 (18:51 +0000)]
Change url in binding generator help

9 years agoAsk for web auth if required
Fraser Waters [Sun, 1 Mar 2015 14:44:28 +0000 (14:44 +0000)]
Ask for web auth if required

Ask for authentication to download private Khronos files.

9 years agoRemove spec support from converter
Fraser Waters [Sun, 1 Mar 2015 14:25:30 +0000 (14:25 +0000)]
Remove spec support from converter

Khronos stopped supporting .spec files in 2013. They're now over a year
old without support. As such it's not worth us continuing to support
them either.

9 years ago[Math] Fix NaN issue in CalculateAngle
Fraser Waters [Sat, 21 Feb 2015 10:55:39 +0000 (10:55 +0000)]
[Math] Fix NaN issue in CalculateAngle

Clamp dot product between -1 and 1 so acos always has a valid input.

9 years ago[Math] Vector3 Project and Unproject
Fraser Waters [Sat, 14 Feb 2015 18:46:03 +0000 (18:46 +0000)]
[Math] Vector3 Project and Unproject

Add methods to Vector3 to project to and from screen space.

9 years agoMerge pull request #218 from roman-yagodin/patch-1
Fraser Waters [Wed, 11 Feb 2015 11:25:51 +0000 (11:25 +0000)]
Merge pull request #218 from roman-yagodin/patch-1

Clarify OpenTK.dll.config use for #217

9 years agoClarify OpenTK.dll.config use for #217
Roman M. Yagodin [Wed, 11 Feb 2015 05:53:12 +0000 (08:53 +0300)]
Clarify OpenTK.dll.config use for #217

9 years agoAllowed Mac and Linux to use GamePad. Added Name param to GamePad. Added Xbox 360...
marko [Mon, 19 Jan 2015 18:04:59 +0000 (19:04 +0100)]
Allowed Mac and Linux to use GamePad. Added Name param to GamePad. Added Xbox 360 Wireless Joystick linux config to GamePadCongifurationDatabase.

9 years agoFix wrap around bug in XInput.
Fraser Waters [Fri, 9 Jan 2015 12:50:50 +0000 (12:50 +0000)]
Fix wrap around bug in XInput.

Fixes #209.
Negating short.MinValue would cause a wrap around back to short.MinValue.
This resulted in joystick inputs like 0.8, 0.9, -1.00031.

9 years agoMerge pull request #202 from Frassle/issue201
Fraser Waters [Sun, 23 Nov 2014 17:15:31 +0000 (18:15 +0100)]
Merge pull request #202 from Frassle/issue201

[Input] Legacy keyboard respects the KeyRepeat field.

Fixes #201.

9 years ago[Input] Legacy keyboard respects the KeyRepeat field.
Fraser Waters [Sun, 23 Nov 2014 13:36:41 +0000 (14:36 +0100)]
[Input] Legacy keyboard respects the KeyRepeat field.

If the legacy keyboard device receives a key down event with IsRepeat set it
will only raise it's own key down event if it's KeyRepeat field is set to true.

This is as documented, regression casused by refactoring. Fixes issue #201.

Also change the GameWindowState example to show setting of KeyRepeat to true
and false and how that changes the event counts for the legacy and new keyboard
devices.

9 years agoMerge pull request #197 from Frassle/color
thefiddler [Thu, 13 Nov 2014 10:38:51 +0000 (11:38 +0100)]
Merge pull request #197 from Frassle/color

Colorspace conversion functions.

9 years agoAdd To/From HCY methods to Color4.
Fraser Waters [Mon, 10 Nov 2014 02:04:48 +0000 (03:04 +0100)]
Add To/From HCY methods to Color4.

9 years agoAdd To/From YUV methods to Color4.
Fraser Waters [Mon, 10 Nov 2014 01:42:12 +0000 (02:42 +0100)]
Add To/From YUV methods to Color4.

9 years agoAdd To/From XYZ methods to Color4.
Fraser Waters [Mon, 10 Nov 2014 00:37:37 +0000 (01:37 +0100)]
Add To/From XYZ methods to Color4.

9 years agoAdd To/From HSV methods to Color4.
Fraser Waters [Mon, 10 Nov 2014 00:33:38 +0000 (01:33 +0100)]
Add To/From HSV methods to Color4.

9 years agoAdd To/From HSL methods to Color4.
Fraser Waters [Sun, 9 Nov 2014 23:27:13 +0000 (00:27 +0100)]
Add To/From HSL methods to Color4.

9 years agoAdd To/From sRGB methods to Color4.
Fraser Waters [Mon, 10 Nov 2014 00:59:53 +0000 (01:59 +0100)]
Add To/From sRGB methods to Color4.

9 years agoMerge pull request #194 from Frassle/getentryassembly
thefiddler [Wed, 12 Nov 2014 16:59:07 +0000 (17:59 +0100)]
Merge pull request #194 from Frassle/getentryassembly

[X11] GetEntryAssembly may be null.

9 years ago[X11] GetEntryAssembly may be null.
Fraser Waters [Tue, 4 Nov 2014 22:00:05 +0000 (23:00 +0100)]
[X11] GetEntryAssembly may be null.

When running under NUnit GetEntryAssembly returns null. In this case we instead
search through the AppDomain for an assembly that matches the AppDomain name.

9 years agoThrow exception if ProcessEvents isn't called on main thread.
Fraser Waters [Tue, 21 Oct 2014 18:25:37 +0000 (20:25 +0200)]
Throw exception if ProcessEvents isn't called on main thread.

9 years agoMerge pull request #190 from Frassle/warnings
Fraser [Mon, 3 Nov 2014 13:58:35 +0000 (14:58 +0100)]
Merge pull request #190 from Frassle/warnings

[Issue #61] Fix warnings.

9 years agoAdd #pragma warning disable for unused field warnings.
Fraser Waters [Mon, 3 Nov 2014 00:37:43 +0000 (01:37 +0100)]
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.

9 years agoRemove unused fields/variables.
Fraser Waters [Mon, 3 Nov 2014 00:36:36 +0000 (01:36 +0100)]
Remove unused fields/variables.

Fixes warnings [#61] by removing some unused variables and an unused field.
Field was private so no inheritance concerns.

9 years agoRemove unused field.
Fraser Waters [Mon, 3 Nov 2014 00:35:49 +0000 (01:35 +0100)]
Remove unused field.

Fixes warnings [#61] by removing an unused field.

9 years agoAdd XML documentation to matrix Add methods.
Fraser Waters [Tue, 21 Oct 2014 18:34:44 +0000 (20:34 +0200)]
Add XML documentation to matrix Add methods.

Fixes warnings [#61] about missing documentation on public members.

9 years agoMerge pull request #187 from Lazzu/develop
thefiddler [Mon, 13 Oct 2014 16:24:14 +0000 (18:24 +0200)]
Merge pull request #187 from Lazzu/develop

Added support for Euler angles in Quaternion structs

9 years agoMerge pull request #188 from xThaWolfx/patch-1
thefiddler [Mon, 13 Oct 2014 16:19:11 +0000 (18:19 +0200)]
Merge pull request #188 from xThaWolfx/patch-1

Update MouseEventArgs.cs

9 years agoUpdate MouseEventArgs.cs
xThaWolfx [Mon, 13 Oct 2014 15:58:47 +0000 (17:58 +0200)]
Update MouseEventArgs.cs

The IsPressed field was never updated as the pressed parameter was never used.

9 years agoAdded support for Euler angles in Quaternion and Quaterniond by adding proper vec3...
Lasse Numminen [Sun, 12 Oct 2014 18:37:26 +0000 (21:37 +0300)]
Added support for Euler angles in Quaternion and Quaterniond by adding proper vec3 and pitch-yaw-roll constructors, and also added similar static helper functions. I unit tested them locally and the results match to the calculator found from the bottom of this web page: euclideanspace.com/maths/geometry/rotations/conversions/eulerToQuaternion/index.htm

9 years agoMerge pull request #186 from thefiddler/al_notfound_fix
thefiddler [Tue, 30 Sep 2014 11:53:11 +0000 (13:53 +0200)]
Merge pull request #186 from thefiddler/al_notfound_fix

[AL] Fix runtime crash when OpenAL not available

9 years ago[AL] Fix runtime crash when OpenAL not available
thefiddler [Mon, 29 Sep 2014 21:37:40 +0000 (23:37 +0200)]
[AL] Fix runtime crash when OpenAL not available

Issue reported at http://www.opentk.com/node/3805

We must not throw exceptions from a finalizer, as this leads to the
runtime forcibly taking down the application.

9 years agoMerge pull request #182 from thefiddler/win_inputcrash_fix
thefiddler [Tue, 23 Sep 2014 08:21:25 +0000 (10:21 +0200)]
Merge pull request #182 from thefiddler/win_inputcrash_fix

[Win] Avoid NRE in WinFactory.Dispose()

9 years ago[Win] Avoid NRE in WinFactory.Dispose()
thefiddler [Tue, 23 Sep 2014 06:55:02 +0000 (08:55 +0200)]
[Win] Avoid NRE in WinFactory.Dispose()

WinFactory.Dispose() could crash with a NRE when the joystick driver has
not been initialized. Fixed by checking for null before disposing the
input driver.

9 years ago[Examples] Removed test code committed by mistake
thefiddler [Mon, 22 Sep 2014 11:52:20 +0000 (13:52 +0200)]
[Examples] Removed test code committed by mistake

9 years ago[Mac] Fixed exception in HIDInput.Dispose()
thefiddler [Sat, 20 Sep 2014 15:11:18 +0000 (17:11 +0200)]
[Mac] Fixed exception in HIDInput.Dispose()

HIDInput.Dispose() would remove elements from a DeviceCollection during
iteration. This results in an exception.

We are now using a plain for-loop instead.

9 years ago[Common] Avoid GC in DeviceCollection
thefiddler [Sat, 20 Sep 2014 15:10:05 +0000 (17:10 +0200)]
[Common] Avoid GC in DeviceCollection

`DeviceCollection.GetEnumerator()` now returns a struct IEnumerable<T>
directly to avoid boxing.

Additionally, we can now use `DeviceCollection[int]` as a shortcut to
`FromIndex(int)`.

9 years agoMerge pull request #181 from thefiddler/evdev
thefiddler [Sat, 20 Sep 2014 11:53:12 +0000 (13:53 +0200)]
Merge pull request #181 from thefiddler/evdev

[Linux] Implement evdev joystick driver

9 years agoMerge pull request #180 from thefiddler/mac_joystick
thefiddler [Sat, 20 Sep 2014 11:53:08 +0000 (13:53 +0200)]
Merge pull request #180 from thefiddler/mac_joystick

[Mac] Improve joystick driver

9 years ago[Linux] Fixed byteswapping in joystick Guid calculation
thefiddler [Mon, 11 Aug 2014 06:58:57 +0000 (08:58 +0200)]
[Linux] Fixed byteswapping in joystick Guid calculation

9 years ago[Input] Fixed debug display of Back gamepad button
thefiddler [Mon, 11 Aug 2014 06:58:34 +0000 (08:58 +0200)]
[Input] Fixed debug display of Back gamepad button

9 years ago[Linux] Correctly set evdev packet number
thefiddler [Sun, 10 Aug 2014 01:01:49 +0000 (03:01 +0200)]
[Linux] Correctly set evdev packet number

9 years ago[Linux] Implemented evdev joystick polling
thefiddler [Sat, 9 Aug 2014 19:26:21 +0000 (21:26 +0200)]
[Linux] Implemented evdev joystick polling

9 years ago[Linux] Implemented evdev joystick device discovery
thefiddler [Thu, 7 Aug 2014 16:08:53 +0000 (18:08 +0200)]
[Linux] Implemented evdev joystick device discovery

9 years ago[Mac] Use DeviceCollection
thefiddler [Wed, 17 Sep 2014 16:15:56 +0000 (18:15 +0200)]
[Mac] Use DeviceCollection

This reduces code duplication significantly.

9 years ago[Input] Added From* overloads with out parameters
thefiddler [Wed, 17 Sep 2014 16:15:05 +0000 (18:15 +0200)]
[Input] Added From* overloads with out parameters

9 years ago[Mac] Match SDL2 element order
thefiddler [Mon, 15 Sep 2014 12:48:01 +0000 (14:48 +0200)]
[Mac] Match SDL2 element order

Joystick elements (axes, buttons, hats) are now reported in the same
order as SDL2. This fixes potential mismatches in the GamePad
configuration database.

Additionally, elements are now counted correctly (duplicate elements no
longer count towards the total.)

9 years ago[Mac] Fixed Joystick Hat calculations
thefiddler [Fri, 12 Sep 2014 08:33:24 +0000 (10:33 +0200)]
[Mac] Fixed Joystick Hat calculations

9 years ago[Mac] Sort joystick elements like SDL2
thefiddler [Fri, 12 Sep 2014 06:11:30 +0000 (08:11 +0200)]
[Mac] Sort joystick elements like SDL2

GamePad configuration database is now working correctly on Mac.

9 years ago[Mac] Added CFGetTypeID method
thefiddler [Fri, 12 Sep 2014 06:10:21 +0000 (08:10 +0200)]
[Mac] Added CFGetTypeID method

9 years ago[Mac] Use cookies to match HID joystick elements
thefiddler [Thu, 11 Sep 2014 13:57:14 +0000 (15:57 +0200)]
[Mac] Use cookies to match HID joystick elements

9 years ago[Mac] Fixed joystick Guid calculation
thefiddler [Thu, 11 Sep 2014 11:18:29 +0000 (13:18 +0200)]
[Mac] Fixed joystick Guid calculation

The result now matches the output of SDL2 as well as the entries in the
GamePad configuration database.

9 years agoMerge pull request #161 from thefiddler/win_xinput
thefiddler [Wed, 17 Sep 2014 23:14:50 +0000 (01:14 +0200)]
Merge pull request #161 from thefiddler/win_xinput

[Win] HID-based IJoystickDriver2; improve XInput2 IGamePadDriver

9 years ago[Input] Special-case pre-SDL2.0.4 xinput bindings
thefiddler [Wed, 17 Sep 2014 21:48:08 +0000 (23:48 +0200)]
[Input] Special-case pre-SDL2.0.4 xinput bindings

Starting with SDL 2.0.4, its xinput bindings are working correctly.
Previous versions would return an invalid zero guid and use incorrect
mapping - this has now been fixed.

9 years ago[Win] Removed unused code
thefiddler [Wed, 17 Sep 2014 16:43:29 +0000 (18:43 +0200)]
[Win] Removed unused code

9 years ago[Win] Fixed XInput y-axis and trigger range
thefiddler [Wed, 17 Sep 2014 16:42:47 +0000 (18:42 +0200)]
[Win] Fixed XInput y-axis and trigger range

9 years ago[Win] Suppressed spurious warning
thefiddler [Wed, 17 Sep 2014 16:42:27 +0000 (18:42 +0200)]
[Win] Suppressed spurious warning

9 years agoMerge pull request #176 from Robmaister/develop
thefiddler [Tue, 16 Sep 2014 12:17:58 +0000 (14:17 +0200)]
Merge pull request #176 from Robmaister/develop

Added Matrix3[d].Add and Matrix4[d].CreateFromRotationMatrix

9 years ago[Input] Fixed bitwise test for GamePadAxes
thefiddler [Fri, 12 Sep 2014 08:23:54 +0000 (10:23 +0200)]
[Input] Fixed bitwise test for GamePadAxes

9 years ago[SDL] Correctly byteswap Guid
thefiddler [Fri, 12 Sep 2014 06:43:20 +0000 (08:43 +0200)]
[SDL] Correctly byteswap Guid

Fixes an issue where GamePad Guids would fail to be matched with the
Guids in the configuration database.

9 years ago[Input] Add GamePadCapabilities.IsMapped
thefiddler [Fri, 12 Sep 2014 06:36:52 +0000 (08:36 +0200)]
[Input] Add GamePadCapabilities.IsMapped