YoshiRulz
3decfa5019
Use inheritance instead of Type for PadSchema controls
...
* Rename ButtonSchema to PadSchemaControl, create ButtonSchema subclass, rename
AnalogSchema to AnalogStickSchema, and make PadSchemaControl abstract
* Replace switching on PadSchemaControl.Type (enum PadInputType) with type
checks
* Refactor and merge VirtualpadTool.CheckPads() into .CreatePads() (it was
easier than just using type checks in the old algorithm)
* Move members from PadSchemaControl to subtypes and cleanup
2020-03-31 21:40:36 +10:00
adelikat
b52d674959
virtualpads - cleanup
2020-03-22 20:14:09 -05:00
adelikat
b2c2b5c362
VirtualPads - Genesis activator - attempt to fix it up, it at least maps to correct buttons now
2020-03-22 20:10:30 -05:00
adelikat
f98003f98e
virtualpad schema - cleanups
2020-03-22 16:47:33 -05:00
adelikat
1f8171fc9b
PadSchema - remove MaxSize as it wasn't being used, rename DefaultSize to just Size
2020-03-22 16:23:01 -05:00
adelikat
1b7698aa71
ButtonSchema - simplify UDLR helper methods more
2020-03-22 15:57:43 -05:00
adelikat
554e0dcf80
ButtonSchema - simplify more
2020-03-22 15:09:19 -05:00
adelikat
c0ffe0e0e3
ButtonSchema - use overloads more
2020-03-22 14:32:27 -05:00
adelikat
7b6ff18775
ButtonSchema - use more constructor overloads to simplify
2020-03-22 14:13:01 -05:00
adelikat
1c9260f7cf
ButtonSchema - use name overload more
2020-03-22 13:16:30 -05:00
adelikat
0344b0affb
make PadSchema.IsConsole not settable, force the use of inheritance
2020-03-22 12:37:28 -05:00
adelikat
ec36ed6206
ButtonSchema - make Type not directly settable and force the use of inheritance to set it
2020-03-22 12:18:47 -05:00
adelikat
2560def438
Virtual Pad - ButtonSchema - make location constructor the only option since location is always required, change param order on Directional helper methods for consistency
2020-03-21 22:24:06 -05:00
adelikat
a52c46339e
VirtualPad Schema - add some helper methods for creating directional pad buttons, since those are so common
2020-03-21 18:12:26 -05:00
adelikat
4476cc53af
VirtualPads - unnest ButtonScehma and PadInputType
2020-03-21 18:12:26 -05:00
adelikat
0ecc1e8023
VirtualPad Schema - default to type Button, and remove now redundant setting of this value
2020-03-21 16:10:01 -05:00
adelikat
c1e2f6afe5
VirtualPad Schema - don't show display name if icon is preset, default to Name if displayName is not present (and no icon). Delete a lot of now redundant DisplayName assignments
2020-03-21 15:22:30 -05:00
adelikat
b390c2829c
cleanup virtualpad code
2019-12-31 11:36:22 -06:00
YoshiRulz
e6374ef477
Use string interpolation
2019-03-19 00:06:37 +10:00
adelikat
6d77f5a3c0
virtual pads for picoDrive
2017-07-13 12:02:08 -05:00
adelikat
5d855ef60b
more attribute renaming
2017-07-12 14:40:10 -05:00
adelikat
50b5f4a1a9
Virtualpad misc cleanups
2017-05-24 09:07:03 -05:00
adelikat
436a853c96
Fix typo - Scema -> Schema
2017-04-29 15:41:27 -05:00
adelikat
f1e528f68f
Virtual pads - pass the current core into schema objects instead of using Global.Emulator
2016-12-05 19:33:21 -06:00
jdpurcell
260176e458
Fix NES Zapper target being 210 pixels tall instead of 240.
...
Fix max X/Y value of target being high by 1.
2015-01-01 22:14:03 +00:00
adelikat
f875792c74
TAStudio - column names for float values
2014-07-07 16:03:22 +00:00
adelikat
b9bb1635a1
more tweaks to the Analog Stick variable size logic, and positioning fixes to Genesis mouse schema
2014-07-06 17:02:35 +00:00
adelikat
2225811743
Virtualpad Analog stick - refactor to be variable size instead of a hardcoded 127, Implement Genesis mouse as a 255 analog stick. Note: some positioning bugginess is present in this check in, and probably some things got broken
2014-07-06 16:44:50 +00:00
adelikat
1df9f49f37
fix a typo in method name
2014-07-06 16:06:38 +00:00
adelikat
5c8cf8b141
Virtualpad Target screen - cleanup some unneeded code
2014-07-04 15:12:14 +00:00
adelikat
49955a3447
Virtualpads - targeting pair - support ability to set a range to translate values to, and set genesis lightgun to 10000
2014-07-04 00:04:18 +00:00
xmikecampx7
7e3e29820f
Added Genesis Activator Schema
2014-06-30 01:27:35 +00:00
christhecoolist
1024c5dc9f
initial XE1AP schema (unfinished)
2014-06-30 01:09:15 +00:00
adelikat
ee6d73aac7
Virtualpads - some code cleanup
2014-06-29 03:14:40 +00:00
goyuken
92bf602a70
genesis virtualpad fixup
2014-06-28 15:59:26 +00:00
adelikat
9378dc5921
N64 - oops
2014-06-28 12:58:13 +00:00
adelikat
88d4a2a5a8
Genesis mouse - mnemonics, default buttons and virtual pad
2014-06-28 12:45:12 +00:00
adelikat
1361e2ff23
Genesis - default controls for lightgun, mnemonics lightgun buttons, support lightgun and console buttons on the virtual pad
2014-06-28 12:31:28 +00:00
goyuken
a1b03a4a20
genesis: virtual pad support multitap
2014-06-27 17:59:45 +00:00
adelikat
75d4ff5117
Virtualpads - refactor schema objects to return a PadSchema collection instead of Virtualpad collection, and create the pads in the calling code
2014-06-27 17:02:46 +00:00
adelikat
20ab331404
Virtual Pad - fix logic for genesis, supports 3 button, 6 button or none options
2014-06-27 01:37:09 +00:00
adelikat
a33f926675
Do genesis controller logic for none, one player, and "normal", don't know what the other options mean
2014-06-26 21:09:14 +00:00
adelikat
0fa75a5d77
Virtualpads - fix 3 vs 6 button controller logic in genesis
2014-06-26 20:59:00 +00:00