adelikat
cb3df74105
Atari - console buttons now work in input config dialog
2012-03-30 23:34:38 +00:00
andres.delikat
e4acb65ed1
Controller Config - hook up atari console buttons mostly, still one thing to fix up, currently crashes when trying to save
2012-03-30 22:03:08 +00:00
brandman211
81586afc20
Finished merging...499 lines. Not as good as I had hoped, but the file would have been significantly smaller if controller templates just used dictionaries and had just a little bit more consistency.
2012-03-25 07:10:11 +00:00
brandman211
da65f8bdd4
-Merged Atari.
...
-Line count: 583.
TODO: The one I really didn't want to deal with...Gameboy. Why did you have to make this a NESControllerTemplate instead of a GameboyControllerTemplate[]?
2012-03-25 07:00:21 +00:00
brandman211
bc1804dcdb
-Made it so that the right controllers use the default settings.
...
-Merged Genesis.
--This was completely broken beforehand.
---Update updated PCE.
---It had 8 joypads instead of 1.
-Line count: 661.
Note: Atari Auto 2 throws an exception.
2012-03-25 06:42:31 +00:00
brandman211
b28cfca204
-Merged TI-83.
...
--As it'd be obnoxious to make CONTROLS a string, object dictionary and have casts all over the place, I just made a TI83Controls string array to match CONTROLS["TI-83"].
--Positioned the fields as well as I could.
--The config for ( and ) were switched. Fixed. Yet another example of redundant code failing! :)
-Line count: 741.
2012-03-25 06:05:13 +00:00
brandman211
5e126bf04f
-Made the last two TI-83 buttons visible in the Config by increasing the height from 556 to 580.
...
-Started merging TI-83 to Do:
--This is going to be difficult because the field names are not the same as the label names, meaning that I'm going to have to use a dictionary for TI-83, if not for all of the controls.
--I have to create a formula that calculates the proper row / column for a given field to be placed. Sounds like fun.
2012-03-25 02:36:20 +00:00
brandman211
a07165cffd
-"PC Engine / SGX" -> "PC Engine / SuperGrafx".
...
-Line count: 978.
2012-03-25 02:11:26 +00:00
brandman211
4f2ebdfbd4
-Fixed InputConfig_Load...forgot that the switch syntax from before acts like an OR statement; I thought it meant "don't do anything".
...
-PCE.
2012-03-25 01:58:33 +00:00
brandman211
1d21a89f3a
Converting merges one at a time...here's SMS.
...
-Because of Reset and Pause being separate from everything else, I had to code a special condition for these.
-Line count: 1081.
2012-03-25 01:32:44 +00:00
brandman211
8686cc87ff
Converted the switch statement in InputConfig_Load to a dictionary.
2012-03-25 00:54:40 +00:00
brandman211
0eae992403
Created general functions Do and Update.
...
-Because I have been advised not to convert the objects to dictionaries, and because using the equivalent of typedef seems confusing if it isn't outright impossible, I had to implement switch statements to handle certain aspects on a platform to platform basis.
-These will end up being much bigger than I would have hoped, but the entire file will be much, much smaller.
TODO: Implement all of the other platforms using these functions.
Note: It seems that the Enabled checkbox doesn't do anything other than persist its state. I checked the latest release, and the same issue was there, so I didn't break it!
2012-03-25 00:39:51 +00:00
brandman211
d7453a3770
-Shrunk UpdateNES.
2012-03-24 21:06:47 +00:00
brandman211
f6a353196d
-Started refactoring InputConfig.cs as adelikat requested:
...
--Created CONTROLS constant which contains all of the controls in one dictionary.
--Shrunk DoNES significantly.
TODO:
-Shrink UpdateNES.
-Generalize both functions and apply to NES.
-Have all of the platform specific functions utilize these generalized functions.
-Combine all of the platforms.
2012-03-24 19:45:50 +00:00
adelikat
2e5ec4fdcb
Fix bugs in input config regarding atari controllers, fix auto-fire controllers for atari (both controllers)
2012-03-23 02:15:58 +00:00
adelikat
715d46ed1d
Hook up atari controller 2 to input config dialog.
2012-03-23 00:39:21 +00:00
adelikat
684252a816
Fix mainform context menu logic from the screenshot to clipboard addition
2012-03-23 00:06:20 +00:00
adelikat
365f60988e
Hook up Atari to the controller config dialog (interim only)
2012-03-21 02:44:01 +00:00
andres.delikat
b2748b7836
Genesis - hook up lag counter (shows all frames as lag currently), and hook core up to input config dialog (1 controller only currently)
2011-12-24 01:59:51 +00:00
andres.delikat
9196e5d1ec
Input Config - auto focus when drop down menus change
2011-09-11 04:23:35 +00:00
beirich
4b65d9e9cf
Fix someone's freudian typo
2011-08-10 00:14:21 +00:00
andres.delikat
8fa630c0fa
Autofire UI for PCE, GG, GB
2011-08-09 02:40:22 +00:00
andres.delikat
63b1f9b93a
Input Config - autofire for SMS/GG/SG, disable autofire pulldown item for TI83
2011-08-09 02:16:46 +00:00
andres.delikat
4cd457ada6
Hook up autofire nes controls to the input config dialog
2011-08-09 01:38:51 +00:00
andres.delikat
9b2ba5c85c
Basic implementation of Global.ActiveController, uses an ORAdapter to OR against Active Controller. Still TODO: setting up autofire controllers for platforms and a UI in the Controller Config
2011-08-09 00:51:46 +00:00
zeromus
f8f1906a3c
make alt hotkeys more useful by preventing interference from windows menu system
2011-07-10 19:50:59 +00:00
andres.delikat
3a9acac5a4
Input config - fix height resizing of TI83, fix ordering of controllers in combo box. Remove calls to hardcoded indexes of the comboboxes (use the string names instead!)
2011-07-10 13:16:24 +00:00
andres.delikat
7f2079beed
Input config - autotab toggle
2011-07-09 18:01:46 +00:00
andres.delikat
7dbe4472d9
Default key mappings - switch so keyboard bindings are first, joypads 2nd
2011-07-09 17:40:26 +00:00
andres.delikat
8d856ccd53
Input Config - remove now obsolete TruncateButtonMapping function
2011-06-22 17:35:19 +00:00
andres.delikat
0e36c7d401
Input Widget - allow mapping to just ctrl, alt, or shift
2011-06-19 03:35:57 +00:00
andres.delikat
3a8721f600
Input Config - fix so that multiple mappings are at least displayed again
2011-06-19 02:55:15 +00:00
kylethomson
18fe637193
Start of MultiTrack.
2011-06-16 01:18:16 +00:00
andres.delikat
2fcb35a4e4
Input Config - Fix NES select & start (I had the saving of the key mappings flip flopped)
2011-06-09 00:58:09 +00:00
andres.delikat
0224eebbf1
Allow L+R/U+D toggle (just the GUI & config work, not hooked up yet)
2011-06-04 23:17:59 +00:00
andres.delikat
2a7996c228
Input Config - NES controls - swap Select & Start
2011-06-04 14:07:55 +00:00
andres.delikat
c9bca52ccb
Fix up more TI83 buttons stuff, input display no longer crashes when navigating away from the TI83 section.
2011-04-25 00:45:22 +00:00
andres.delikat
c9067cc2ee
Input Config - automatically resize bigger when selecting TI83 and downsize when selecting something else
2011-04-24 23:22:52 +00:00
andres.delikat
552649445a
Input Config - make TI83 buttons in 3 separate columns
2011-04-24 19:38:08 +00:00
andres.delikat
c94662ce00
Fix comma mapping for input/hotkey config, make TI83 buttons remappable. TODO: find bit that maps to APPS button in TI83.cs
2011-04-24 16:57:43 +00:00
andres.delikat
b79d179760
Hook up TI83 to controller config + snazzy "controller" image
2011-04-24 02:01:36 +00:00
zeromus
046d815bd3
refresh controls immediately when rebinding instead of requiring emulator reboot
2011-04-06 05:43:59 +00:00
zeromus
5bd70da7f1
dont crash when opening controller config without a rom open
2011-04-06 04:57:59 +00:00
andres.delikat
8dfffb0d04
Make NES controls remappable, Make input config recognize a NES game is loaded and load the correct controller on form load
2011-03-01 13:25:23 +00:00
andres.delikat
6adf6c10bb
Input Config Dialog - fix so that initial selection of controller type actually invokes the selected index event so that the dialog is set up to the proper controller. Also make the default (Null emulator) be SMS
2011-03-01 04:32:00 +00:00
kylethomson
005138b453
More cleanup of input Config
2011-02-20 15:25:00 +00:00
kylethomson
25364163a6
More tweaks to InputConfig
2011-02-20 07:30:16 +00:00
kylethomson
2b145b5d6e
Add NES controllers to config and Input dialog.
2011-02-20 07:16:34 +00:00
kylethomson
3cf44657c1
Need to have instances in Controller types if no defaults.
...
Also added more HotKeys
2011-02-20 06:52:39 +00:00
kylethomson
1197a1bd33
First Run of Hotkey Dialog.
2011-02-20 02:59:15 +00:00