adelikat
c0fde42a0c
don't expose Bk2Controller, clients need to depend on an interface and rely on the Movie (well, MovieSession currently) to generate an IMovieController instance, since different implementations of IMovie need to be able to create their own controller implementations
2020-04-14 21:35:44 -05:00
adelikat
cdfeda8b71
rename IMovieController methods and classes to better describe what they are
2020-04-14 20:10:50 -05:00
adelikat
aa80c3a0d6
majorly refactor Bk2Controller more
2020-04-14 19:33:49 -05:00
adelikat
13e58cbac5
refactor IMovieController
2020-04-14 19:05:17 -05:00
adelikat
ff029968f3
fix compile error, some nitpick cleanups
2020-04-12 15:30:40 -05:00
adelikat
2b281116ed
misc cleanups
2020-04-08 16:03:35 -05: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
zeromus
e45943c26a
raw capability for DisplayManager handling the NDS screen layouts. someone else will have to hook up the configuration in "CreateCoreScreenControl()". Gap, rotation, and layouts all supported. You will see that other configurations with varying view sizes won't be hard either.
...
Note that this was actually not very difficult, compared to dealing with the client sizing logic, which was teetering on the brink of total collapse. I may have messed something up while trying to support it here (mainly related to emu-space and client-space padding). There were many assumptions that the core's videoProvider would remain sensible, which this "core screen control" system subverts. The padding and sizing was added after I designed the pipeline specifically for this, so the padding and sizing is not handling it very well. Nonetheless, I think it works.
2020-03-29 21:50:06 -04:00
adelikat
6d5c444252
Move Global controller adapters into InputManager, it's a step in the right direction
2020-03-15 17:50:48 -05:00
adelikat
1f617221fc
Make InputManager not static, but make a static instance in globals, phase 1 of some refactoring
2020-03-15 17:19:11 -05:00
adelikat
5617950f50
InputManager - pass some dependencies into SyncControls
2020-03-15 17:13:56 -05:00
adelikat
fb52d3fc5d
cleanups
2020-03-01 16:18:20 -06:00
adelikat
10df3b194e
simplify StickyAdapters a bit
2020-03-01 15:59:30 -06:00
adelikat
2349a92de6
remove StickyOrAdapter, and ISticky interface, they became vestigial at some point
2020-03-01 15:56:38 -06:00
adelikat
18762c75ee
misc cleanups in Client.Common
2020-03-01 15:49:48 -06:00
adelikat
c3811721c2
delete unused KeyTurbo.cs and misc small cleanups to InputAdapters
2020-02-22 12:44:03 -06:00
adelikat
ef13754f79
consistent variable naming in config.cs
2020-01-25 10:57:39 -06:00
YoshiRulz
6f3f01125c
Enable SA1504 and fix noncompliance
...
"All accessors should be single-line or multi-line"
i.e. no block form on one line
2020-01-25 14:56:56 +10:00
adelikat
04a5db6214
break AnalogBind out of Config.cs into its own file
2020-01-21 09:21:12 -06:00
adelikat
48a16806cf
cleanups in InputManager
2020-01-03 14:05:59 -06:00
YoshiRulz
a8408ed3be
Improve exception docs in BizHawk.Client.Common
2020-01-02 21:51:27 +10:00
YoshiRulz
9d0ee22885
Use string interpolation
2019-03-20 15:01:12 +10:00
zeromus
053ee9a45e
feos, i dont know, try this
2018-03-14 16:49:42 -04:00
adelikat
82ee945782
Misc controller adapter cleanups
2017-05-19 08:51:35 -05:00
adelikat
2a54517b52
more misc Client.Common cleanups
2017-05-17 13:18:26 -05:00
adelikat
dfea029fe4
Misc cleanups in Client.Common, documentation fixes
2017-05-17 11:16:55 -05:00
adelikat
698c6741ae
Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method
2017-05-01 20:09:11 -05:00
J.D. Purcell
b53502eed8
Spaces -> tabs.
2017-04-15 16:37:30 -04:00
adelikat
b6f335e4c8
misc code cleanups in BizHawk.Client.Common
2017-04-14 14:59:01 -05:00
adelikat
2d9213c379
IController - Remove the indexer property and refactor code accordingly, also simplify and cleanup many of the IController implementations
2016-12-14 14:12:16 -06:00
adelikat
a955e6a3a2
Break up InputAdapters into separate files because it was getting unwieldy
2016-12-14 13:12:37 -06:00
adelikat
72a59087b5
Use the IController indexing property less in preparation for removing it from the interface. Replaced with its more explicity counter-part .IsPressed()
2016-12-14 12:42:15 -06:00
adelikat
5ff33e7569
Rename IController.Type to IController.Definition to more clearly describe the property
2016-12-12 12:30:32 -06:00
adelikat
d38b5396c3
Remove some commented out code that has been commented out for quite some time
2016-12-06 10:22:03 -06:00
feos
d3b6364db0
bk2 log generator:
...
- pick actually neutral analog values for empty entry
- properly hide all neutral values from input display
2016-11-26 17:41:00 +03:00
zeromus
75be59a650
revise UDLR mutexing to be a bit more graceful
2015-11-15 00:18:52 -06:00
zeromus
d24f778a40
try supporting U+D/L+R priority control in addition to allow and forbid
2015-11-14 01:49:16 -06:00
Suuper
d1fa718120
Put my AutofireStickyXORAdapter back and fixed the bug it had.
2015-10-03 09:36:07 -05:00
adelikat
407f44bf96
Fix issue #461 - broken by Tastudio autofire patterns, THIS BREAKS TAStudio autofire patterns, they need to be fixed, in a way that doesn't break autofire
2015-08-24 20:51:53 -04:00
SuuperW
7360badb4a
Added AutoFire support in TAStudio, fixed/improved patterns.
...
-A couple minor fixes
2015-03-08 04:42:04 +00:00
SuuperW
0e34b36fbc
-Added AutoFire patterns, changed AutoFireStickyXorAdapter to use them.
...
-Bugfix: Painted input after the movie was recorded over.
2015-03-04 21:04:31 +00:00
adelikat
7e92f38eb3
AutofireController - pass in an instance of an emulator rather than use Global.Emulator
2015-02-22 18:02:56 +00:00
adelikat
fdc290cc14
Roll back last commit, nevermind.
2015-01-06 02:29:30 +00:00
adelikat
f88b5389c1
Break everything. Seriously, a total cock-up. But also: Fix issue 358, duplicated input after a movie ends. Movie recording isn't obviously horribly busted from this, but just about anything movie related is now possibly busted, if you are looking for some mysterious regression in some movie feature, here's a good place to start!
2015-01-06 02:10:21 +00:00
adelikat
6c4a32d517
Virtualpads - when right-click auto-firing - take lag frames into account
2015-01-04 13:45:43 +00:00
adelikat
6835da1e45
VirtualPad - basic buttons - when right-clicking for autofire, respect the frame that autofire started on
2015-01-03 20:05:04 +00:00
zeromus
81e1cfe549
satisfy my own comment about the " C "
2014-09-14 18:01:20 +00:00
zeromus
8447c46761
fix UDRL mutex. fixes issue #264
2014-09-14 01:43:42 +00:00
adelikat
95bdfaba42
ugh, oops
2014-08-17 16:00:46 +00:00