zeromus
50ee8ecf1e
increase threshold of opentk gamepad (and joystick) analog -> dpad conversion. previously 12% wasn't even enough for an ANALOG DEADZONE (my joystick idles outside that range routinely), let alone a firm direction press. The old xinput gamepad threshold for this was ~60% so I made opentk match it
...
fixes #1961
2020-05-01 17:04:47 -04:00
zeromus
c5ff7edba9
fiddle with race condition thing some more. uhhh full disclosure, I still got a crash once. Couldnt repro it (as compared to before where it was 100% fully reproducible for me. not sure why though
2020-04-23 20:40:16 -04:00
zeromus
3403ecacb7
fix race condition between OTK_Gamepad initialize and EnumerateDevices() from input thread
2020-04-23 20:35:04 -04:00
YoshiRulz
573aa13c64
Replace Tuple with ValueTuple in input system
2020-04-08 02:24:48 +10:00
YoshiRulz
0ba7a5a7df
Rename axis-related types, members, and locals
...
I left a few methods where they had an equivalent *Bool*() for buttons, and also
left some in TAStudio that get serialised.
2020-03-31 17:29:55 +10:00
YoshiRulz
4e5b763c38
Reenable OpenTK gamepad functionality
2019-10-07 03:08:41 +10:00
YoshiRulz
e6374ef477
Use string interpolation
2019-03-19 00:06:37 +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