adelikat
2b281116ed
misc cleanups
2020-04-08 16:03:35 -05: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
e12b5d8137
Refactor FloatRange creation and usage
...
effectively resolves #1200
* Replaced floats in FloatRange with ints (would have used shorts but
SubGBHawk/SubNesHawk use an axis to hack in cycle count or something), added
both Range<int> and Range<float> auto-properties
* Added bool field IsReversed to FloatRange
* Added enum AxisPairOrientation and factory method using it
* Cleaned up usages of FloatRange fields and properties
* Added new properties to PadSchema.ButtonSchema for type
PadInputType.AnalogStick (to hold the two FloatRanges) and used
ControllerDefinitions from cores to dedup these ranges in the schemata
* Made VirtualPadAnalogStick work properly: both the direction and bounds are
correctly set from the controller schemata, the polar conversion measures angles
consistently (though I think it might not work outside -128..127 e.g. for PSX),
and I didn't break the sensitivity override, plus negative percentages might
work now but I didn't allow those
* Renamed FloatRange to AxisRange, but did not rename related symbols
2020-03-14 20:47:45 +10:00
adelikat
13bc770063
misc cleanups in Emulation.Common
2020-02-26 16:32:00 -06:00
adelikat
6e5a3910de
ControllerDefinition - auto-initialize properties
2020-01-19 13:32:43 -06:00
YoshiRulz
7932c401e1
Improve exception docs in BizHawk.Emulation.Common
2020-01-02 21:51:21 +10:00
adelikat
40ac534f51
Memory callback system - simplify and remove now unused methods
2019-11-05 20:02:45 -06:00
adelikat
2b7cb1bb7d
BizHawk.Emulation.Common - cleanups -> C#6/7isms, fix some typos, variable naming, spaces to tabs
2019-10-29 13:59:08 -05:00
zeromus
89e87bc4e3
fix crash in axis constraints application when not connecting any n64 controllers ( fixes #946 )
2017-07-29 13:57:50 -05:00
nattthebear
cf608bfca9
playernumber stuff: This is all medium whack
2017-06-11 10:49:22 -04:00
adelikat
c696195ad0
Remove this todo, I think the previous commit qualifies as having done it
2017-04-28 08:19:08 -05:00
nattthebear
967c18aa34
linq linq baby
2017-04-27 18:28:55 -04:00
adelikat
4c313e2a6a
ControllerDefinition - ToList() is better here I think?
2017-04-27 12:45:33 -05:00
adelikat
17fe836926
Emulation.Common - misc cleanups in Base Implementations
2017-04-27 08:24:21 -05:00
adelikat
76b9367378
more misc cleanups
2017-04-24 07:43:02 -05:00
adelikat
7ab8455e84
misc code cleanups in BizHawk.Emulation.Common
2017-04-14 12:28:23 -05:00
adelikat
961aec90dc
ControllerDefinition - clean up the code some and add documentation
2016-12-19 10:50:03 -06:00
adelikat
8e4142e839
ControllerDefinition - fix CategoryLabels not being copied in the copy constructor
2016-12-14 14:24:37 -06:00
feos
e2d5a1d390
tastudio analog editing: typing past max digits overwrites existing value
...
this required a new method in FloatRange class
2016-11-12 15:30:44 +03:00
adelikat
b3dd9d26dc
Misc code cleanups in Emulation.Common
2016-02-28 19:03:01 -05:00
zeromus
7702ae5f3c
work on keyboard input, but hasnt been tested yet. also reorg the core a bit
2015-11-08 22:05:48 -06:00
Suuper
f9cd2f4075
-TAStudio: Players' 2, 4, etc input columns have darkened bg colors.
...
-LagLog is now moved over to new savestate-anchored movies
2015-07-23 12:55:22 -05:00
goyuken
3bf2d8f00b
fix an apple II controller crash problem introduced in r9264
2015-04-04 00:20:28 +00:00
SuuperW
52659ac9a9
-Hacky removal of a useless save when loading a TasProj
...
-Made ControlsOrdered much faster
2015-03-23 21:16:13 +00:00
adelikat
1c54c52fff
bk2 - when ordering buttons, support up to 8 players, fixes issues 361 and the remaining problem with issue 360
2015-01-11 15:54:01 +00:00
adelikat
c4768c102e
Move ControllerDefinition to its own file
2014-11-30 23:05:00 +00:00