Commit Graph

3 Commits

Author SHA1 Message Date
James Groom e483c94498
Fix controllers from OpenTK (mostly)
* update reference version numbers and fix a null exception this causes (apparently something changes functionality-wise when the *.csproj references version 3.0.1.0 rather than the original 1.x.x.x (on windows at least) - which is interesting)
* Modified GTK_Gamepad to use OpenTK.Input.Gamepad
* use gamepad class if automap exists, otherwise use joystick class
* forgot GetFloats()
* fixed axis and hats - fixed GetFloats() so analog controls can be bound for cores that support it
* changed controller identifier from 'T' to 'J' (in the case of OpenTK.Input.Joystick) and 'X' (in the case of OpenTK.Input.GamePad). This means config defaults in most cases will work (where they worked before with directinput and xinput).
* fixed hat event detection when using OpenTK.Input.Joystick
* disabled forcing OpenTK controllers on windows
* unused variable cleanup
* testing changes
* another test
* other test
* revert previous tests
2019-01-18 01:08:13 +10:00
YoshiRulz 2fe818c324
Wire up OTK_GamePad 2019-01-16 15:52:03 +10:00
James Groom ca021d96cc Allow bizhawk to be built and run w/ MSBuild and Wine+Mono on GNU+Linux (#1237)
- Update to latest OpenTK, add input code from `mono-stable` branch
(kudos), and fix bugs arisen from version differences
- Move some functionality into Win-specific classes and add Wine+Mono
implementation where simple
- Add conditions to main loop so some things only run on Windows
2018-11-04 20:05:20 +03:00