Commit Graph

20 Commits

Author SHA1 Message Date
YoshiRulz 34b84e7098
Reverse SNES Mouse (for BSNES) 2020-04-27 09:23:46 +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 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 cdcc1eabde use inline out variables in Emulation.Cores 2020-02-18 15:10:29 -06:00
adelikat 54ba1e12eb set get only properties in Emulation.Cores, and a few other simplfiications 2020-02-18 11:11:59 -06:00
YoshiRulz 2642ef4049
Remove empty docs 2019-06-06 16:41:10 +10:00
nattthebear 5bebd0685a snes: add a toggle multitap button 2017-04-22 17:08:33 -04:00
nattthebear 12b4be4fbc justifier 2017-04-22 10:41:45 -04:00
adelikat 242b0e09ab SNES - support the Justifier, because why not 2017-04-22 08:55:39 -05:00
adelikat 62ed1b5b73 snes - change x,y button names to something less vauge 2017-04-20 21:05:11 -05:00
nattthebear a46acca981 It's like archaeology. We're the first ones to use this ancient Mayan super scope code 2017-04-20 21:29:58 -04:00
adelikat 99d70a1c7f SNES - super scope support 2017-04-20 19:50:58 -05:00
adelikat 27e7edcaf1 SNES - add a "Limit mouse speed" options on by default, to make controls a sueable for casual playing and a config option to turn it off 2017-04-19 20:30:54 -05:00
adelikat 18017b5e23 SNES - better mouse button names 2017-04-17 16:32:09 -05:00
nattthebear 0393e9241b coreside, this is a short, so yeah... 2017-04-16 18:08:57 -04:00
adelikat 7571781f87 SNES - an attempt at mouse support 2017-04-16 16:39:21 -05:00
adelikat 5e177db320 Multitap button orders too 2017-04-15 20:34:31 -05:00
adelikat 2daa1b3d68 snes - some progress on controller configuration support - use controller deck for ControllerDefinition and hack in appropriate button orders 2017-04-15 20:34:30 -05:00
nattthebear 41f8875a4f more snes controller stuff 2017-04-15 18:27:04 -04:00
nattthebear 5b41b7260b some snes controller rough in 2017-04-15 15:40:34 -04:00