platform/core/csapi/opentk.git
10 years ago[Win] Retrieve joystick input even on background
thefiddler [Thu, 31 Jul 2014 20:52:50 +0000 (22:52 +0200)]
[Win] Retrieve joystick input even on background

10 years ago[Win] Do not re-query caps in ProcessEvents
thefiddler [Thu, 31 Jul 2014 20:50:33 +0000 (22:50 +0200)]
[Win] Do not re-query caps in ProcessEvents

We just do that once when a device is opened.

10 years ago[Input] Improved GamePadButtons.ToString()
thefiddler [Thu, 31 Jul 2014 20:40:57 +0000 (22:40 +0200)]
[Input] Improved GamePadButtons.ToString()

10 years ago[Win] Fixed axis, button and hat value updates
thefiddler [Thu, 31 Jul 2014 20:28:23 +0000 (22:28 +0200)]
[Win] Fixed axis, button and hat value updates

10 years ago[Win] Fixed axis range calculation
thefiddler [Thu, 31 Jul 2014 20:27:22 +0000 (22:27 +0200)]
[Win] Fixed axis range calculation

Values are now correctly scaled between [min, max]

10 years ago[Win] Added HidP status codes
thefiddler [Thu, 31 Jul 2014 19:58:18 +0000 (21:58 +0200)]
[Win] Added HidP status codes

10 years ago[Win] Implemented joystick button updates
thefiddler [Thu, 31 Jul 2014 18:44:30 +0000 (20:44 +0200)]
[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.

10 years ago[Win] Raw input parsing moved to input drivers
thefiddler [Thu, 31 Jul 2014 13:44:11 +0000 (15:44 +0200)]
[Win] Raw input parsing moved to input drivers

10 years ago[Win] Added helper raw input methods
thefiddler [Thu, 31 Jul 2014 13:43:13 +0000 (15:43 +0200)]
[Win] Added helper raw input methods

10 years ago[Win] Use DeviceCollection. Fix GUID detection
thefiddler [Thu, 31 Jul 2014 12:02:51 +0000 (14:02 +0200)]
[Win] Use DeviceCollection. Fix GUID detection

10 years ago[Common] Use long for device keys
thefiddler [Thu, 31 Jul 2014 12:02:37 +0000 (14:02 +0200)]
[Common] Use long for device keys

10 years ago[Win] Made internal struct non-public
thefiddler [Thu, 31 Jul 2014 12:02:13 +0000 (14:02 +0200)]
[Win] Made internal struct non-public

10 years ago[Win] Fixed axis/button detection
thefiddler [Thu, 31 Jul 2014 07:49:43 +0000 (09:49 +0200)]
[Win] Fixed axis/button detection

We can now discover button range collections.

10 years ago[Win] Improved HidP bindings
thefiddler [Thu, 31 Jul 2014 07:49:08 +0000 (09:49 +0200)]
[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.

10 years agoFixed minor compilation issues
thefiddler [Wed, 30 Jul 2014 09:38:22 +0000 (11:38 +0200)]
Fixed minor compilation issues

10 years ago[Win] Cleaned up public region
Stefanos A [Sat, 18 Jan 2014 15:53:30 +0000 (16:53 +0100)]
[Win] Cleaned up public region

10 years ago[Win] Corrected GetRawInputData invocation
Stefanos A [Sat, 18 Jan 2014 15:53:17 +0000 (16:53 +0100)]
[Win] Corrected GetRawInputData invocation

10 years ago[Win] Removed WinMM joystick driver
Stefanos A [Sat, 18 Jan 2014 15:25:52 +0000 (16:25 +0100)]
[Win] Removed WinMM joystick driver

10 years ago[Win] Completed raw input IJoystickDriver2
Stefanos A [Sat, 18 Jan 2014 15:00:27 +0000 (16:00 +0100)]
[Win] Completed raw input IJoystickDriver2

For improved safety, we are now using managed memory buffers instead of
stack allocations and pointers.

10 years ago[Win] Reduce duplication in device enumeration
Stefanos A [Fri, 17 Jan 2014 18:24:00 +0000 (19:24 +0100)]
[Win] Reduce duplication in device enumeration

10 years ago[Input] Added JoystickCapabilities.SetIsConnected
Stefanos A [Fri, 17 Jan 2014 18:23:25 +0000 (19:23 +0100)]
[Input] Added JoystickCapabilities.SetIsConnected

10 years ago[Win] Completed WinRawJoystick implementation
Stefanos A [Fri, 17 Jan 2014 18:11:16 +0000 (19:11 +0100)]
[Win] Completed WinRawJoystick implementation

10 years ago[Win] Fixed RawHID struct definition
Stefanos A [Fri, 17 Jan 2014 18:11:05 +0000 (19:11 +0100)]
[Win] Fixed RawHID struct definition

10 years ago[Common] Moved axis translation to common
Stefanos A [Fri, 17 Jan 2014 18:10:41 +0000 (19:10 +0100)]
[Common] Moved axis translation to common

10 years ago[Win] Wrapped additional HID APIs
Stefanos A [Fri, 17 Jan 2014 18:10:03 +0000 (19:10 +0100)]
[Win] Wrapped additional HID APIs

10 years ago[Win] Cleanup Raw Input HID usage/pages
Stefanos A [Fri, 17 Jan 2014 12:57:15 +0000 (13:57 +0100)]
[Win] Cleanup Raw Input HID usage/pages

10 years ago[Common] Cleaned up comments
Stefanos A [Fri, 17 Jan 2014 12:39:50 +0000 (13:39 +0100)]
[Common] Cleaned up comments

10 years ago[Win] Added HidProtocol binding
Stefanos A [Fri, 17 Jan 2014 12:38:22 +0000 (13:38 +0100)]
[Win] Added HidProtocol binding

10 years ago[Common] Added HID usage page definitions
Stefanos A [Fri, 17 Jan 2014 12:38:09 +0000 (13:38 +0100)]
[Common] Added HID usage page definitions

10 years ago[Win] Initial implementation of WinRawJoystick
Stefanos A [Fri, 17 Jan 2014 00:27:07 +0000 (01:27 +0100)]
[Win] Initial implementation of WinRawJoystick

10 years ago[Win] Improve WinMM.GetCapabilities performance
Stefanos A [Thu, 16 Jan 2014 22:35:31 +0000 (23:35 +0100)]
[Win] Improve WinMM.GetCapabilities performance

Polling joyGetCaps is very very slow, so we should not do that every
time GetCapabilities is called. Instead, we should call joyGetCaps once
and cache the results.

We need to find a different way to implement hotplugging.

10 years ago[Win] Implemented XInput vibration support
Stefanos A [Thu, 16 Jan 2014 00:20:32 +0000 (01:20 +0100)]
[Win] Implemented XInput vibration support

10 years ago[Win] Separate keyboard/mouse & joystick drivers
Stefanos A [Wed, 15 Jan 2014 22:40:28 +0000 (23:40 +0100)]
[Win] Separate keyboard/mouse & joystick drivers

Keyboard/mouse support comes through WinRawInput; joystick support
through CombinedJoystickDriver. These drivers are now instantiated
separately.

10 years ago[Win] Added combined XInput+WinMM joystick driver
Stefanos A [Wed, 15 Jan 2014 22:38:57 +0000 (23:38 +0100)]
[Win] Added combined XInput+WinMM joystick driver

Joystick devices will be queried through XInput first, with a fallback
to WinMM in case they are not recognized by the newer API.

10 years ago[Win] Corrected XInput Guid in gamepad database
Stefanos A [Wed, 15 Jan 2014 22:37:44 +0000 (23:37 +0100)]
[Win] Corrected XInput Guid in gamepad database

All XInput devices expose the same button layout, so they only need a
single entry in the gamepad configuration database.

10 years ago[Win] WinRawInput is IKeyboard/MouseDriver2
Stefanos A [Wed, 15 Jan 2014 22:36:35 +0000 (23:36 +0100)]
[Win] WinRawInput is IKeyboard/MouseDriver2

Since we do not use Raw Input for joystick devices, it does not make
sense to expose the IJoystickDriver2 interface through WinRawInput. This
keeps allows joystick and keyboard/mouse implementations to reside in
distinct, modular classes, instantiated separately through WinFactory.

10 years ago[Win] XInputJoystick is now IJoystickDriver2
Stefanos A [Wed, 15 Jan 2014 22:33:31 +0000 (23:33 +0100)]
[Win] XInputJoystick is now IJoystickDriver2

The IGamePadDriver interface is now implemented using
MappedGamePadDriver on all platforms. This minimizes code duplication
and simplifies all input driver implementations, since we only need
backends for IJoystickDriver2.

10 years ago[OpenTK] Removed unused CreateGraphicsMode API
Stefanos A [Wed, 15 Jan 2014 16:36:45 +0000 (17:36 +0100)]
[OpenTK] Removed unused CreateGraphicsMode API

IPlatformFactory.CreateGraphicsMode is no longer used or required.

10 years agoMerge pull request #178 from thefiddler/mac_crash
thefiddler [Thu, 11 Sep 2014 10:42:20 +0000 (12:42 +0200)]
Merge pull request #178 from thefiddler/mac_crash

[Mac] Avoid crash when combining with MonoMac/Xamarin.Mac

10 years agoMerge pull request #179 from thefiddler/issue152
thefiddler [Thu, 11 Sep 2014 10:42:12 +0000 (12:42 +0200)]
Merge pull request #179 from thefiddler/issue152

[ES][GL] Fix GetObjectLabel marked obsolete

10 years ago[ES][GL] Fix GetObjectLabel marked obsolete
thefiddler [Thu, 11 Sep 2014 10:34:35 +0000 (12:34 +0200)]
[ES][GL] Fix GetObjectLabel marked obsolete

Fixes issue #152

10 years ago[Mac] Avoid calling finishLaunching multiple times
thefiddler [Thu, 11 Sep 2014 10:21:05 +0000 (12:21 +0200)]
[Mac] Avoid calling finishLaunching multiple times

10 years ago[Mac] Do not modify existing mainMenu
thefiddler [Thu, 11 Sep 2014 10:07:53 +0000 (12:07 +0200)]
[Mac] Do not modify existing mainMenu

If an application already has a custom main menu, avoid overwriting
that in OpenTK.

10 years agoMerge pull request #177 from thefiddler/gw_input
thefiddler [Thu, 11 Sep 2014 07:33:07 +0000 (09:33 +0200)]
Merge pull request #177 from thefiddler/gw_input

[Input] Added GameWindow.Mouse/Keyboard.GetState()

10 years agoMerge pull request #166 from thefiddler/gl45
thefiddler [Thu, 11 Sep 2014 07:32:13 +0000 (09:32 +0200)]
Merge pull request #166 from thefiddler/gl45

[GL] Add OpenGL 4.5 support

10 years ago[Input] Added GameWindow.Mouse/Keyboard.GetState()
thefiddler [Wed, 10 Sep 2014 23:03:24 +0000 (01:03 +0200)]
[Input] Added GameWindow.Mouse/Keyboard.GetState()

GameWindow.Mouse/Keyboard hide OpenTK.Input.Mouse/Keyboard.
To simplify usage, the former now provide the same methods
as the latter.

10 years ago[API] Fixed tests for nested types
thefiddler [Wed, 10 Sep 2014 22:00:16 +0000 (00:00 +0200)]
[API] Fixed tests for nested types

10 years ago[Convert] Update to v4.5 by default
thefiddler [Wed, 10 Sep 2014 21:29:30 +0000 (23:29 +0200)]
[Convert] Update to v4.5 by default

10 years ago[API] Update test to cover extensions
thefiddler [Wed, 10 Sep 2014 21:29:15 +0000 (23:29 +0200)]
[API] Update test to cover extensions

10 years ago[ES][GL] Maintain compatibility with 1.1.4
thefiddler [Wed, 10 Sep 2014 21:29:03 +0000 (23:29 +0200)]
[ES][GL] Maintain compatibility with 1.1.4

10 years ago[GL] Sync signatures with OpenGL 4.5
thefiddler [Wed, 3 Sep 2014 18:56:43 +0000 (20:56 +0200)]
[GL] Sync signatures with OpenGL 4.5

10 years ago[Bind] Remove default debug parameter
thefiddler [Wed, 3 Sep 2014 18:55:42 +0000 (20:55 +0200)]
[Bind] Remove default debug parameter

10 years ago[Bind] Minor debug message beautification
thefiddler [Wed, 3 Sep 2014 18:55:25 +0000 (20:55 +0200)]
[Bind] Minor debug message beautification

10 years ago[Bind] Hardcode some common OpenGL IHV names
thefiddler [Thu, 14 Aug 2014 08:50:26 +0000 (10:50 +0200)]
[Bind] Hardcode some common OpenGL IHV names

These names are present in ES enums, even if no function uses them. We
need them for backwards-compatibility.

10 years ago[Bind] Use ES/1.1/obsolete.xml
thefiddler [Thu, 14 Aug 2014 08:49:47 +0000 (10:49 +0200)]
[Bind] Use ES/1.1/obsolete.xml

10 years ago[ES] Moved some ES 1.1 to ES/1.1/obsolete.xml
thefiddler [Thu, 14 Aug 2014 08:49:36 +0000 (10:49 +0200)]
[ES] Moved some ES 1.1 to ES/1.1/obsolete.xml

10 years ago[GL] Removed duplicate enums
thefiddler [Thu, 14 Aug 2014 08:31:02 +0000 (10:31 +0200)]
[GL] Removed duplicate enums

This duplication is no longer necessary, after the enum name
translation fix.

10 years ago[Bind] Added ES 3.1 generator
thefiddler [Thu, 14 Aug 2014 08:30:25 +0000 (10:30 +0200)]
[Bind] Added ES 3.1 generator

10 years ago[Bind] Do not re-translate translated enum names
thefiddler [Thu, 14 Aug 2014 08:30:14 +0000 (10:30 +0200)]
[Bind] Do not re-translate translated enum names

10 years ago[GL] Fixed COMPRESSED_SRGB_ALPHA_BPTC_UNORM token
thefiddler [Thu, 14 Aug 2014 06:29:53 +0000 (08:29 +0200)]
[GL] Fixed COMPRESSED_SRGB_ALPHA_BPTC_UNORM token

10 years ago[GL] Fixed TEXTURE_BINDING_RECTANGLE token
thefiddler [Thu, 14 Aug 2014 06:27:31 +0000 (08:27 +0200)]
[GL] Fixed TEXTURE_BINDING_RECTANGLE token

10 years ago[GL] Removed duplicate bindings
thefiddler [Thu, 14 Aug 2014 06:13:09 +0000 (08:13 +0200)]
[GL] Removed duplicate bindings

10 years ago[GL] Added missing VertexAttribDPointerType enum
thefiddler [Thu, 14 Aug 2014 06:12:14 +0000 (08:12 +0200)]
[GL] Added missing VertexAttribDPointerType enum

This enum used to be there, but somehow disappeared from the 4.5 specs.
It’s back now.

10 years ago[ES] Implemented ES 3.1 binding generator
thefiddler [Thu, 14 Aug 2014 06:11:30 +0000 (08:11 +0200)]
[ES] Implemented ES 3.1 binding generator

10 years ago[GL][ES] Implemented ARB_ES_3_1_compatibility
thefiddler [Thu, 14 Aug 2014 06:11:11 +0000 (08:11 +0200)]
[GL][ES] Implemented ARB_ES_3_1_compatibility

MemoryBarrier and MemoryBarrierByRegion now use the same enum name.

10 years ago[ES] Typo corrections in the ES 3.1 bindings
thefiddler [Thu, 14 Aug 2014 06:05:17 +0000 (08:05 +0200)]
[ES] Typo corrections in the ES 3.1 bindings

10 years ago[ES] Implemented bindings for ES 3.1 (2/2)
thefiddler [Wed, 13 Aug 2014 22:22:07 +0000 (00:22 +0200)]
[ES] Implemented bindings for ES 3.1 (2/2)

Implemented core functionality:
- KHR_shader_atomic_counters
- KHR_shader_image_load_store
- KHR_shader_storage_buffer_object
- KHR_stencil_texturing
- KHR_texture_gather
- KHR_texture_storage_multisample
- KHR_vertex_attrib_binding

10 years ago[ES] Implemented bindings for ES 3.1 (1/2)
thefiddler [Wed, 13 Aug 2014 13:01:51 +0000 (15:01 +0200)]
[ES] Implemented bindings for ES 3.1 (1/2)

Implemented core functionality:
- KHR_compute_shader
- KHR_draw_indirect
- KHR_explicit_uniform_location
- KHR_framebuffer_no_attachments
- KHR_program_interface_queries
- KHR_separate_shader_objects

10 years ago[Bind] Moved GL overrides to parent folder
thefiddler [Wed, 13 Aug 2014 09:23:33 +0000 (11:23 +0200)]
[Bind] Moved GL overrides to parent folder

10 years ago[GL] Added a missing enum
thefiddler [Wed, 13 Aug 2014 09:22:52 +0000 (11:22 +0200)]
[GL] Added a missing enum

10 years ago[Bind] Allow multiple overrides files
thefiddler [Wed, 13 Aug 2014 09:22:37 +0000 (11:22 +0200)]
[Bind] Allow multiple overrides files

Multiple overrides files allow us to split overrides by extension,
simplifying maintenance.

10 years ago[GL] Implemented ARB_direct_state_access
thefiddler [Tue, 12 Aug 2014 22:32:08 +0000 (00:32 +0200)]
[GL] Implemented ARB_direct_state_access

See http://www.opengl.org/registry/specs/ARB/direct_state_access.txt

10 years ago[GL] Added missing tokens for 4.2-4.4
thefiddler [Tue, 12 Aug 2014 22:31:38 +0000 (00:31 +0200)]
[GL] Added missing tokens for 4.2-4.4

10 years ago[GL][ES] Implemented KHR_context_robustness
thefiddler [Tue, 12 Aug 2014 15:11:45 +0000 (17:11 +0200)]
[GL][ES] Implemented KHR_context_robustness

10 years ago[GL] Implemented ARB_get_texture_sub_image
thefiddler [Tue, 12 Aug 2014 14:49:32 +0000 (16:49 +0200)]
[GL] Implemented ARB_get_texture_sub_image

Also fixed KHR_context_flush_control tokens in OpenGL ES.

10 years ago[GL][ES] Implemented KHR_context_flush_control
thefiddler [Tue, 12 Aug 2014 12:44:48 +0000 (14:44 +0200)]
[GL][ES] Implemented KHR_context_flush_control

10 years ago[GL] Implemented ARB_conditional_render_inverted
thefiddler [Mon, 11 Aug 2014 22:16:50 +0000 (00:16 +0200)]
[GL] Implemented ARB_conditional_render_inverted

10 years ago[GL] Implemented ARB_cull_distance
thefiddler [Mon, 11 Aug 2014 22:10:46 +0000 (00:10 +0200)]
[GL] Implemented ARB_cull_distance

10 years ago[GL][ES] Added tokens for backwards compatibility
thefiddler [Mon, 11 Aug 2014 22:08:15 +0000 (00:08 +0200)]
[GL][ES] Added tokens for backwards compatibility

The 4.5 spec moves BLEND_ADVANCED_COHERENT_KHR from
KHR_blend_equation_advanced to KHR_blend_equation_advanced_coherent.
Add a deprecated token to maintain binary compatibility.

10 years ago[GL] Added ARB_clip_control
thefiddler [Mon, 11 Aug 2014 21:54:58 +0000 (23:54 +0200)]
[GL] Added ARB_clip_control

10 years agoMerge pull request #173 from thefiddler/buffersize_to_int
thefiddler [Tue, 2 Sep 2014 11:03:42 +0000 (13:03 +0200)]
Merge pull request #173 from thefiddler/buffersize_to_int

[Bind] Add int overloads to buffer size (IntPtr) parameters

10 years agoMerge pull request #174 from thefiddler/issue171
thefiddler [Tue, 2 Sep 2014 11:02:01 +0000 (13:02 +0200)]
Merge pull request #174 from thefiddler/issue171

[GL] Added int overload to DrawElements for OpenGL4

10 years agoMerge pull request #175 from thefiddler/mono360
thefiddler [Tue, 2 Sep 2014 11:01:57 +0000 (13:01 +0200)]
Merge pull request #175 from thefiddler/mono360

[Build] Update Travis CI to mono 3.6.0

10 years ago[Build] Update Travis CI to mono 3.6.0
thefiddler [Tue, 2 Sep 2014 08:58:00 +0000 (10:58 +0200)]
[Build] Update Travis CI to mono 3.6.0

10 years ago[GL] Added int overload to DrawElements for OpenGL4
thefiddler [Tue, 2 Sep 2014 07:58:29 +0000 (09:58 +0200)]
[GL] Added int overload to DrawElements for OpenGL4

10 years agoMerge pull request #172 from thefiddler/intptr_fix
thefiddler [Tue, 2 Sep 2014 08:53:25 +0000 (10:53 +0200)]
Merge pull request #172 from thefiddler/intptr_fix

[Rewrite] Cast int32 overloads to native int

10 years ago[Bind] Add int overloads to buffer size (IntPtr) parameters
thefiddler [Tue, 2 Sep 2014 07:48:39 +0000 (09:48 +0200)]
[Bind] Add int overloads to buffer size (IntPtr) parameters

As a convenience, int overloads are provided for IntPtr size
parameters (corresponding to BufferSize or size_t). In the vast
majority of cases, a 32bit int is sufficient for buffer sizes,
so these overloads avoid the necessity of annoying (IntPtr) casts.

If more than 2^31-1 elements are required, the IntPtr overloads
remain available. (As always, this requires a 64bit runtime
environment.)

10 years ago[Rewrite] Cast int32 overloads to native int
thefiddler [Mon, 1 Sep 2014 16:09:46 +0000 (18:09 +0200)]
[Rewrite] Cast int32 overloads to native int

Int32 parameters should be converted to native int when
the native signature expects the latter.

10 years agoMerge pull request #164 from thefiddler/x11_scrollfix
thefiddler [Sun, 10 Aug 2014 10:10:07 +0000 (12:10 +0200)]
Merge pull request #164 from thefiddler/x11_scrollfix

[X11] Fix legacy scrolling and absolute pointer motion

10 years ago[X11] Fixed core X11 scrolling and absolute y motions
thefiddler [Sun, 10 Aug 2014 00:56:37 +0000 (02:56 +0200)]
[X11] Fixed core X11 scrolling and absolute y motions

10 years ago[X11] Fixed absolute motion valuators
thefiddler [Sat, 9 Aug 2014 20:09:32 +0000 (22:09 +0200)]
[X11] Fixed absolute motion valuators

10 years ago[X11] Added strong-typed enum for XIValuatorInfo.mode
thefiddler [Sat, 9 Aug 2014 20:09:16 +0000 (22:09 +0200)]
[X11] Added strong-typed enum for XIValuatorInfo.mode

10 years ago[X11] Check before using motion/scroll valuators
thefiddler [Sat, 9 Aug 2014 19:47:09 +0000 (21:47 +0200)]
[X11] Check before using motion/scroll valuators

These valuators are not available on all systems. We now check
explicitly for support, instead of returning invalid results.

Additionally, unknown valuator names are now printed to the
debug log.

10 years ago[X11] Added XGetAtomName() function
thefiddler [Sat, 9 Aug 2014 19:46:55 +0000 (21:46 +0200)]
[X11] Added XGetAtomName() function

10 years agoMerge pull request #163 from thefiddler/sdl_guid_crash
thefiddler [Sat, 9 Aug 2014 19:29:34 +0000 (21:29 +0200)]
Merge pull request #163 from thefiddler/sdl_guid_crash

[SDL] Workaround for a Mono crash in SDL.JoystickGetGUID

10 years ago[SDL] Workaround for a Mono crash in SDL.JoystickGetGUID
thefiddler [Sat, 9 Aug 2014 19:17:49 +0000 (21:17 +0200)]
[SDL] Workaround for a Mono crash in SDL.JoystickGetGUID

It appears that Mono 3.4.0 fails to marshal SDL_JoystickGUID
correctly when used as a return value. Changing the fixed buffer
to a couple of long fields allows the struct to be marshalled
correctly.

10 years agoMerge pull request #160 from thefiddler/pad_db_hat
thefiddler [Tue, 29 Jul 2014 21:37:06 +0000 (23:37 +0200)]
Merge pull request #160 from thefiddler/pad_db_hat

[Input] Implemented JoystickHat GamePad mapping

10 years ago[Input] Cleaned up line endings and joystick hat mapping
thefiddler [Tue, 29 Jul 2014 21:21:37 +0000 (23:21 +0200)]
[Input] Cleaned up line endings and joystick hat mapping

10 years ago[Input][SDL] Fix JoystickHat bugs
Andrew O'Connor [Sun, 27 Jul 2014 13:54:36 +0000 (14:54 +0100)]
[Input][SDL] Fix JoystickHat bugs

On SDL, DPad inputs were not correctly translated from joystick
hat inputs.
Updated MappedGamePadDriver so that it will correctly recognize
combined joystick hat directions e.g. DPadLeft should be true when
DownLeft, Left, or UpLeft are returned from the joystick hat.

10 years ago[Input] Implemented JoystickHat GamePad mapping
thefiddler [Fri, 25 Jul 2014 21:26:03 +0000 (23:26 +0200)]
[Input] Implemented JoystickHat GamePad mapping