Commit Graph

11 Commits

Author SHA1 Message Date
Moritz Bender a0800862b3
Refactor InputDisplayGenerator + LogEntryGenerator + ControllerDefinition (#3782)
* refactor InputDisplayGenerator and LogEntryGenerator handling
* Fix NRE in Tastudio. I can already see this avalanching into 100 different bugs
* cba, revert 48f4e13de and bring back bullshit dummy default MovieController
* Refactor MnemonicCache + make Bk2LogEntryGenerator and Bk2InputDisplayGenerator static. This should simplify stuff and make the logic clearer
2024-09-10 22:19:54 +03:00
YoshiRulz ccb69b18a9
Use a global import for `System.*` 2024-07-03 22:51:48 +10:00
YoshiRulz a11d0381b2 Cache `Bk2InputDisplayGenerator`s for long-lasting `IController`s 2021-12-07 13:40:28 +10:00
YoshiRulz 15a03a26e8 Require `ControllerDefinition.Name` to be set (via ctor)
src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink/GBHawkLinkControllers.cs
src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink3x/GBHawkLink3xControllers.cs
src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink4x/GBHawkLink4xControllers.cs
2021-12-07 13:40:28 +10:00
YoshiRulz c52c880101
Backport `KeyValuePair<,>.Deconstruct`
it's infuriating that you can't use this for lambda parameters
2021-11-13 15:17:30 +10:00
YoshiRulz b4738411a2
Invert nullability in Emulation.Common, enabling it some trivial files 2021-07-24 19:23:18 +10:00
YoshiRulz 1ffc0435b3
Remove haptics from ControllerDefinitionMerger (fixes #2690) 2021-04-01 09:22:06 +10:00
YoshiRulz 6f47492d95
Add haptics support to ControllerDefinition and the Controller stack
still no cores which support it, "Debug" is still hardcoded, still uses holding
Fast Forward hotkey to trigger
no idea how OverrideAdapter, or the IInputAdapters, or the Bk2/BkmController
will work, I've just thrown NotImplementedException from those
2021-03-30 10:06:26 +10:00
YoshiRulz 6cb60aa9fd Merge AxisControls, AxisRanges, and AxisConstraints into a single dict 2020-06-26 08:08:58 +10:00
YoshiRulz 33ff00714d
Change more input code to use int for axes instead of float
This probably breaks TAStudio or something, on the bright side a lot of the
float equality checks are gone. see e12b5d813
2020-05-26 21:45:20 +10:00
YoshiRulz 3a3b22c03b
Move projects to src subdir (breaks build) 2020-05-03 10:57:38 +10:00