2012-03-12 04:44:26 +00:00
|
|
|
|
using System.IO;
|
2012-06-10 23:34:37 +00:00
|
|
|
|
using System.Drawing;
|
2012-03-12 04:44:26 +00:00
|
|
|
|
|
|
|
|
|
namespace BizHawk.MultiClient
|
2011-06-19 23:39:25 +00:00
|
|
|
|
{
|
|
|
|
|
public class Config
|
|
|
|
|
{
|
|
|
|
|
public Config()
|
|
|
|
|
{
|
|
|
|
|
SMSController[0] = new SMSControllerTemplate(true);
|
|
|
|
|
SMSController[1] = new SMSControllerTemplate(false);
|
|
|
|
|
PCEController[0] = new PCEControllerTemplate(true);
|
|
|
|
|
PCEController[1] = new PCEControllerTemplate(false);
|
|
|
|
|
PCEController[2] = new PCEControllerTemplate(false);
|
|
|
|
|
PCEController[3] = new PCEControllerTemplate(false);
|
|
|
|
|
PCEController[4] = new PCEControllerTemplate(false);
|
|
|
|
|
NESController[0] = new NESControllerTemplate(true);
|
|
|
|
|
NESController[1] = new NESControllerTemplate(false);
|
|
|
|
|
NESController[2] = new NESControllerTemplate(false);
|
|
|
|
|
NESController[3] = new NESControllerTemplate(false);
|
2012-09-04 00:20:36 +00:00
|
|
|
|
SNESController[0] = new SNESControllerTemplate(true);
|
|
|
|
|
SNESController[1] = new SNESControllerTemplate(false);
|
|
|
|
|
SNESController[2] = new SNESControllerTemplate(false);
|
|
|
|
|
SNESController[3] = new SNESControllerTemplate(false);
|
2012-05-18 18:28:12 +00:00
|
|
|
|
GBController[0] = new GBControllerTemplate(true);
|
|
|
|
|
GBAutoController[0] = new GBControllerTemplate(true);
|
2011-06-19 23:39:25 +00:00
|
|
|
|
TI83Controller[0] = new TI83ControllerTemplate(true);
|
2012-03-25 00:39:51 +00:00
|
|
|
|
|
2012-11-24 16:14:30 +00:00
|
|
|
|
GBAController[0] = new GBAControllerTemplate(true);
|
|
|
|
|
GBAAutoController[0] = new GBAControllerTemplate(false);
|
|
|
|
|
|
2011-12-24 01:59:51 +00:00
|
|
|
|
GenesisController[0] = new GenControllerTemplate(true);
|
2012-03-25 06:42:31 +00:00
|
|
|
|
GenesisAutoController[0] = new GenControllerTemplate(false);
|
2011-08-09 01:38:51 +00:00
|
|
|
|
|
2012-11-08 13:33:30 +00:00
|
|
|
|
Atari2600Controller[0] = new SingleButtonJoyStickTemplate(true);
|
|
|
|
|
Atari2600Controller[1] = new SingleButtonJoyStickTemplate(false);
|
|
|
|
|
Atari2600AutoController[0] = new SingleButtonJoyStickTemplate(false);
|
|
|
|
|
Atari2600AutoController[1] = new SingleButtonJoyStickTemplate(false);
|
2012-03-30 16:40:52 +00:00
|
|
|
|
Atari2600ConsoleButtons[0] = new Atari2600ConsoleButtonsTemplate(true);
|
2012-03-07 00:40:20 +00:00
|
|
|
|
|
2011-08-09 01:38:51 +00:00
|
|
|
|
NESAutoController[0] = new NESControllerTemplate(false);
|
|
|
|
|
NESAutoController[1] = new NESControllerTemplate(false);
|
|
|
|
|
NESAutoController[2] = new NESControllerTemplate(false);
|
|
|
|
|
NESAutoController[3] = new NESControllerTemplate(false);
|
2011-08-09 02:16:46 +00:00
|
|
|
|
|
2011-08-09 02:40:22 +00:00
|
|
|
|
SMSAutoController[0] = new SMSControllerTemplate(false);
|
2011-08-09 02:16:46 +00:00
|
|
|
|
SMSAutoController[1] = new SMSControllerTemplate(false);
|
2011-08-09 02:40:22 +00:00
|
|
|
|
|
|
|
|
|
PCEAutoController[0] = new PCEControllerTemplate(false);
|
|
|
|
|
PCEAutoController[1] = new PCEControllerTemplate(false);
|
|
|
|
|
PCEAutoController[2] = new PCEControllerTemplate(false);
|
|
|
|
|
PCEAutoController[3] = new PCEControllerTemplate(false);
|
|
|
|
|
PCEAutoController[4] = new PCEControllerTemplate(false);
|
|
|
|
|
|
2012-09-26 01:20:11 +00:00
|
|
|
|
SNESAutoController[0] = new SNESControllerTemplate(false);
|
|
|
|
|
SNESAutoController[1] = new SNESControllerTemplate(false);
|
|
|
|
|
SNESAutoController[2] = new SNESControllerTemplate(false);
|
|
|
|
|
SNESAutoController[3] = new SNESControllerTemplate(false);
|
|
|
|
|
|
2012-11-17 22:38:32 +00:00
|
|
|
|
ColecoController[0] = new ColecoVisionControllerTemplate(true);
|
|
|
|
|
ColecoController[1] = new ColecoVisionControllerTemplate(false);
|
|
|
|
|
ColecoAutoController[0] = new ColecoVisionControllerTemplate(false);
|
|
|
|
|
ColecoAutoController[1] = new ColecoVisionControllerTemplate(false);
|
2012-05-06 00:54:13 +00:00
|
|
|
|
|
2012-11-10 01:32:45 +00:00
|
|
|
|
C64Joysticks[0] = new SingleButtonJoyStickTemplate(true, true);
|
2012-11-08 13:33:30 +00:00
|
|
|
|
C64Joysticks[1] = new SingleButtonJoyStickTemplate(false);
|
|
|
|
|
C64AutoJoysticks[0] = new SingleButtonJoyStickTemplate(false);
|
|
|
|
|
C64AutoJoysticks[1] = new SingleButtonJoyStickTemplate(false);
|
2012-11-13 19:40:09 +00:00
|
|
|
|
C64Keyboard = new C64KeyboardTemplate(true);
|
2012-11-08 13:33:30 +00:00
|
|
|
|
|
2012-11-08 03:16:41 +00:00
|
|
|
|
NESConsoleButtons = new NESConsoleButtonTemplate();
|
2012-11-08 04:13:55 +00:00
|
|
|
|
SNESConsoleButtons = new NESConsoleButtonTemplate();
|
2012-11-08 03:16:41 +00:00
|
|
|
|
SMSConsoleButtons = new SMSConsoleButtonTemplate();
|
2012-11-08 04:33:18 +00:00
|
|
|
|
GenesisConsoleButtons = new GenConsoleButtonTemplate();
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Directories
|
|
|
|
|
public bool UseRecentForROMs = false;
|
|
|
|
|
public string LastRomPath = ".";
|
|
|
|
|
public string BasePath = ".";
|
|
|
|
|
|
2012-09-07 06:18:58 +00:00
|
|
|
|
public string BaseINTV = Path.Combine(".", "Intellivision");
|
|
|
|
|
public string PathINTVROMs = ".";
|
|
|
|
|
public string PathINTVSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathINTVSaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathINTVScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathINTVCheats = Path.Combine(".", "Cheats");
|
|
|
|
|
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string BaseNES = Path.Combine(".", "NES");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string PathNESROMs = ".";
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string PathNESSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathNESSaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathNESScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathNESCheats = Path.Combine(".", "Cheats");
|
|
|
|
|
public string PathNESPalette = Path.Combine(".", "Palettes");
|
2011-05-04 20:31:36 +00:00
|
|
|
|
|
2012-09-04 07:14:29 +00:00
|
|
|
|
public string BaseSNES = Path.Combine(".", "SNES");
|
|
|
|
|
public string PathSNESROMs = ".";
|
|
|
|
|
public string PathSNESSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathSNESSaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathSNESScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathSNESCheats = Path.Combine(".", "Cheats");
|
2012-09-27 07:27:47 +00:00
|
|
|
|
public string PathSNESFirmwares = Path.Combine(".", "Firmwares");
|
2012-09-04 07:14:29 +00:00
|
|
|
|
|
2012-11-20 03:17:53 +00:00
|
|
|
|
public string BaseGBA = Path.Combine(".", "GBA");
|
|
|
|
|
public string PathGBAROMs = ".";
|
|
|
|
|
public string PathGBASavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathGBASaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathGBAScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathGBACheats = Path.Combine(".", "Cheats");
|
|
|
|
|
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string BaseSMS = Path.Combine(".", "SMS");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string PathSMSROMs = ".";
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string PathSMSSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathSMSSaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathSMSScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathSMSCheats = Path.Combine(".", "Cheats");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string BaseGG = Path.Combine(".", "Game Gear");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string PathGGROMs = ".";
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string PathGGSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathGGSaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathGGScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathGGCheats = Path.Combine(".", "Cheats");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string BaseSG = Path.Combine(".", "SG-1000");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string PathSGROMs = ".";
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string PathSGSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathSGSaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathSGScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathSGCheats = Path.Combine(".", "Cheats");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string BaseGenesis = Path.Combine(".", "Genesis");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string PathGenesisROMs = ".";
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string PathGenesisSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathGenesisSaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathGenesisScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathGenesisCheats = Path.Combine(".", "Cheats");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string BasePCE = Path.Combine(".", "PC Engine");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string PathPCEROMs = ".";
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string PathPCESavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathPCESaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathPCEScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathPCECheats = Path.Combine(".", "Cheats");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string BaseGameboy = Path.Combine(".", "Gameboy");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string PathGBROMs = ".";
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string PathGBSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathGBSaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathGBScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathGBCheats = Path.Combine(".", "Cheats");
|
2012-09-15 18:15:55 +00:00
|
|
|
|
public string PathGBPalettes = Path.Combine(".", "Palettes");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string BaseTI83 = Path.Combine(".", "TI83");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string PathTI83ROMs = ".";
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string PathTI83Savestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathTI83SaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathTI83Screenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathTI83Cheats = Path.Combine(".", "Cheats");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-11-27 02:24:15 +00:00
|
|
|
|
public string BaseAtari2600 = Path.Combine(".", "Atari 2600");
|
|
|
|
|
public string PathAtari2600ROMs = ".";
|
|
|
|
|
public string PathAtari2600Savestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathAtari2600Screenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathAtari2600Cheats = Path.Combine(".", "Cheats");
|
|
|
|
|
|
|
|
|
|
public string BaseAtari7800 = Path.Combine(".", "Atari 7800");
|
|
|
|
|
public string PathAtari7800ROMs = ".";
|
|
|
|
|
public string PathAtari7800Savestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathAtari7800Screenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathAtari7800Cheats = Path.Combine(".", "Cheats");
|
|
|
|
|
public string PathAtari7800Firmwares = Path.Combine(".", "Firmwares");
|
2012-03-19 02:12:43 +00:00
|
|
|
|
|
2012-11-06 06:19:27 +00:00
|
|
|
|
public string BaseC64 = Path.Combine(".", "C64");
|
|
|
|
|
public string PathC64ROMs = ".";
|
|
|
|
|
public string PathC64Savestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathC64Screenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathC64Cheats = Path.Combine(".", "Cheats");
|
|
|
|
|
public string PathC64Firmwares = Path.Combine(".", "Firmwares");
|
|
|
|
|
|
2012-11-04 23:29:06 +00:00
|
|
|
|
public string BasePSX = Path.Combine(".", "PSX");
|
|
|
|
|
public string PathPSXROMs = ".";
|
|
|
|
|
public string PathPSXSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathPSXSaveRAM = Path.Combine(".", "SaveRAM");
|
|
|
|
|
public string PathPSXScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
public string PathPSXCheats = Path.Combine(".", "Cheats");
|
|
|
|
|
public string PathPSXFirmwares = Path.Combine(".", "Firmwares");
|
|
|
|
|
|
2012-11-17 21:12:51 +00:00
|
|
|
|
public string BaseCOL = Path.Combine(".", "ColecoVision");
|
|
|
|
|
public string PathCOLROMs = ".";
|
|
|
|
|
public string PathCOLSavestates = Path.Combine(".", "State");
|
|
|
|
|
public string PathCOLScreenshots = Path.Combine(".", "Screenshots");
|
|
|
|
|
|
|
|
|
|
public string PathCOLCheats = Path.Combine(".", "Cheats");
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string MoviesPath = Path.Combine(".", "Movies");
|
2012-09-13 00:44:17 +00:00
|
|
|
|
public string MoviesBackupPath = Path.Combine(".", "Movies", "backup");
|
2012-03-12 04:44:26 +00:00
|
|
|
|
public string LuaPath = Path.Combine(".", "Lua");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string WatchPath = ".";
|
|
|
|
|
public string AVIPath = ".";
|
2012-09-30 16:50:00 +00:00
|
|
|
|
public string LogPath = ".";
|
2011-05-08 09:07:46 +00:00
|
|
|
|
|
2011-07-25 01:30:18 +00:00
|
|
|
|
//BIOS Paths
|
2012-11-25 03:47:58 +00:00
|
|
|
|
public string PathGBABIOS = Path.Combine(".", "gbabios.rom");
|
2012-09-15 18:15:55 +00:00
|
|
|
|
public string PathPCEBios = Path.Combine(".", "PCECDBios.pce");
|
2012-11-17 19:08:43 +00:00
|
|
|
|
public string PathCOLBios = Path.Combine(".", "ColecoBios.bin");
|
2012-09-07 06:18:58 +00:00
|
|
|
|
public string PathINTVGROM = Path.Combine(".", "grom.bin");
|
|
|
|
|
public string PathINTVEROM = Path.Combine(".", "erom.bin");
|
2012-10-21 15:58:24 +00:00
|
|
|
|
public string PathFDSBios = Path.Combine(".", "disksys.rom");
|
2011-07-25 01:30:18 +00:00
|
|
|
|
|
2012-10-09 21:25:58 +00:00
|
|
|
|
public string FFMpegPath = "%exe%/dll/ffmpeg.exe";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
// General Client Settings
|
2012-09-26 04:00:42 +00:00
|
|
|
|
public bool StackOSDMessages = true;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public int TargetZoomFactor = 2;
|
2012-07-15 08:50:24 +00:00
|
|
|
|
public int TargetDisplayFilter = 0;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool AutoLoadMostRecentRom = false;
|
|
|
|
|
public RecentFiles RecentRoms = new RecentFiles(8);
|
|
|
|
|
public bool PauseWhenMenuActivated = true;
|
|
|
|
|
public bool SaveWindowPosition = true;
|
|
|
|
|
public bool StartPaused = false;
|
|
|
|
|
public int MainWndx = -1; //Negative numbers will be ignored
|
|
|
|
|
public int MainWndy = -1;
|
|
|
|
|
public bool RunInBackground = true;
|
|
|
|
|
public bool AcceptBackgroundInput = false;
|
|
|
|
|
public bool SingleInstanceMode = false;
|
|
|
|
|
public bool AllowUD_LR = false;
|
2011-06-18 17:01:57 +00:00
|
|
|
|
public bool ShowContextMenu = true;
|
2011-06-18 19:16:05 +00:00
|
|
|
|
public bool EnableBackupMovies = true;
|
2011-07-04 23:02:37 +00:00
|
|
|
|
public bool HotkeyConfigAutoTab = true;
|
2011-07-09 18:01:46 +00:00
|
|
|
|
public bool InputConfigAutoTab = true;
|
2011-09-17 00:04:50 +00:00
|
|
|
|
public bool ShowLogWindow = false;
|
2011-07-31 21:39:54 +00:00
|
|
|
|
public bool BackupSavestates = true;
|
2012-09-29 15:32:44 +00:00
|
|
|
|
public bool BackupSaveram = true;
|
2012-06-10 22:43:43 +00:00
|
|
|
|
public bool AutoSavestates = false;
|
2011-09-17 00:04:50 +00:00
|
|
|
|
public bool SaveScreenshotWithStates = true;
|
2011-08-09 22:13:57 +00:00
|
|
|
|
public int AutofireOn = 1;
|
|
|
|
|
public int AutofireOff = 1;
|
2011-08-29 22:25:40 +00:00
|
|
|
|
public bool AutofireLagFrames = true;
|
2011-09-17 00:04:50 +00:00
|
|
|
|
public int SaveSlot = 0; //currently selected savestate slot
|
2011-09-17 00:25:34 +00:00
|
|
|
|
public bool AutoLoadLastSaveSlot = false;
|
2011-09-21 00:48:40 +00:00
|
|
|
|
public bool WIN32_CONSOLE = true;
|
2012-03-17 21:59:56 +00:00
|
|
|
|
public bool SkipLagFrame = false;
|
2012-03-31 00:38:39 +00:00
|
|
|
|
public string MovieExtension = "bkm";
|
2012-07-10 17:22:23 +00:00
|
|
|
|
public bool SupressAskSave = false;
|
2012-09-22 00:07:02 +00:00
|
|
|
|
public bool AVI_CaptureOSD = false;
|
2012-09-22 04:04:35 +00:00
|
|
|
|
public bool Screenshot_CaptureOSD = false;
|
2011-01-11 02:55:51 +00:00
|
|
|
|
|
2011-02-21 09:48:53 +00:00
|
|
|
|
// Run-Control settings
|
|
|
|
|
public int FrameProgressDelayMs = 500; //how long until a frame advance hold turns into a frame progress?
|
2011-07-28 05:28:03 +00:00
|
|
|
|
public int FrameSkip = 4;
|
2011-02-21 09:48:53 +00:00
|
|
|
|
public int SpeedPercent = 100;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public int SpeedPercentAlternate = 400;
|
2012-11-12 17:57:11 +00:00
|
|
|
|
public bool ClockThrottle = true;
|
2011-02-21 09:48:53 +00:00
|
|
|
|
public bool AutoMinimizeSkipping = true;
|
2012-11-12 17:57:11 +00:00
|
|
|
|
public bool VSyncThrottle = false;
|
2011-03-01 09:32:12 +00:00
|
|
|
|
public bool RewindEnabled = true;
|
2012-11-12 17:57:11 +00:00
|
|
|
|
/// <summary>use vsync. if VSyncThrottle = false, this will try to use vsync without throttling to it</summary>
|
|
|
|
|
public bool VSync = false;
|
2011-02-21 09:48:53 +00:00
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
// Display options
|
|
|
|
|
public int MessagesColor = -1;
|
|
|
|
|
public int AlertMessageColor = -65536;
|
|
|
|
|
public int LastInputColor = -23296;
|
2011-07-10 03:13:07 +00:00
|
|
|
|
public int MovieInput = -8355712;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool DisplayFPS = false;
|
|
|
|
|
public int DispFPSx = 0;
|
|
|
|
|
public int DispFPSy = 0;
|
2011-06-16 02:39:35 +00:00
|
|
|
|
public int DispFPSanchor = 0; //0 = UL, 1 = UR, 2 = DL, 3 = DR
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool DisplayFrameCounter = false;
|
|
|
|
|
public int DispFrameCx = 0;
|
2012-04-16 12:17:25 +00:00
|
|
|
|
public int DispFrameCy = 14;
|
2011-06-16 02:39:35 +00:00
|
|
|
|
public int DispFrameanchor = 0;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool DisplayLagCounter = false;
|
|
|
|
|
public int DispLagx = 0;
|
2012-04-16 12:17:25 +00:00
|
|
|
|
public int DispLagy = 42;
|
2011-06-16 02:39:35 +00:00
|
|
|
|
public int DispLaganchor = 0;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool DisplayInput = false;
|
|
|
|
|
public int DispInpx = 0;
|
2012-04-16 12:17:25 +00:00
|
|
|
|
public int DispInpy = 28;
|
2011-06-16 02:39:35 +00:00
|
|
|
|
public int DispInpanchor = 0;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool DisplayRerecordCount = false;
|
|
|
|
|
public int DispRecx = 0;
|
2012-04-16 12:17:25 +00:00
|
|
|
|
public int DispRecy = 56;
|
2011-06-16 02:39:35 +00:00
|
|
|
|
public int DispRecanchor = 0;
|
2011-07-10 03:38:46 +00:00
|
|
|
|
public int DispMultix = 36;
|
|
|
|
|
public int DispMultiy = 0;
|
|
|
|
|
public int DispMultianchor = 0;
|
2011-08-21 01:07:58 +00:00
|
|
|
|
public bool DisplayGDI = false;
|
2012-06-10 02:19:36 +00:00
|
|
|
|
public bool SuppressGui = false;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool DisplayStatusBar = true;
|
2011-09-12 23:08:42 +00:00
|
|
|
|
public int DispRamWatchx = 0;
|
2012-04-16 12:17:25 +00:00
|
|
|
|
public int DispRamWatchy = 70;
|
2011-09-12 23:08:42 +00:00
|
|
|
|
public bool DisplayRamWatch = false;
|
2011-09-24 23:00:59 +00:00
|
|
|
|
public bool ShowMenuInFullscreen = false;
|
2012-09-25 04:04:54 +00:00
|
|
|
|
public int DispMessagex = 3;
|
|
|
|
|
public int DispMessagey = 0;
|
|
|
|
|
public int DispMessageanchor = 2;
|
2012-09-26 23:25:43 +00:00
|
|
|
|
public int DispAutoholdx = 0;
|
|
|
|
|
public int DispAutoholdy = 0;
|
|
|
|
|
public int DispAutoholdanchor = 1;
|
2012-10-01 02:30:25 +00:00
|
|
|
|
public bool DispBlurry = false; // make display look ugly
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
// Sound options
|
|
|
|
|
public bool SoundEnabled = true;
|
|
|
|
|
public bool MuteFrameAdvance = true;
|
|
|
|
|
public int SoundVolume = 100; //Range 0-100
|
2012-10-01 15:20:41 +00:00
|
|
|
|
public bool SoundThrottle = false;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2011-09-21 23:31:48 +00:00
|
|
|
|
// Log Window
|
|
|
|
|
public bool LogWindowSaveWindowPosition = true;
|
|
|
|
|
public int LogWindowWndx = -1;
|
|
|
|
|
public int LogWindowWndy = -1;
|
|
|
|
|
public int LogWindowWidth = -1;
|
|
|
|
|
public int LogWindowHeight = -1;
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
// Lua Console
|
|
|
|
|
public RecentFiles RecentLua = new RecentFiles(8);
|
2012-03-17 21:59:56 +00:00
|
|
|
|
public RecentFiles RecentLuaSession = new RecentFiles(8);
|
2012-03-19 16:49:47 +00:00
|
|
|
|
public bool AutoLoadLuaSession = false;
|
2011-06-26 03:03:15 +00:00
|
|
|
|
public bool AutoLoadLuaConsole = false;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool LuaConsoleSaveWindowPosition = true;
|
|
|
|
|
public int LuaConsoleWndx = -1; //Negative numbers will be ignored even with save window position set
|
|
|
|
|
public int LuaConsoleWndy = -1;
|
|
|
|
|
public int LuaConsoleWidth = -1;
|
|
|
|
|
public int LuaConsoleHeight = -1;
|
2012-03-19 16:19:31 +00:00
|
|
|
|
public bool DisableLuaScriptsOnLoad = false;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
// RamWatch Settings
|
|
|
|
|
public bool AutoLoadRamWatch = false;
|
|
|
|
|
public RecentFiles RecentWatches = new RecentFiles(8);
|
|
|
|
|
public bool RamWatchSaveWindowPosition = true;
|
|
|
|
|
public int RamWatchWndx = -1; //Negative numbers will be ignored even with save window position set
|
|
|
|
|
public int RamWatchWndy = -1;
|
|
|
|
|
public int RamWatchWidth = -1;
|
|
|
|
|
public int RamWatchHeight = -1;
|
|
|
|
|
public bool RamWatchShowChangeColumn = true;
|
|
|
|
|
public bool RamWatchShowPrevColumn = false;
|
2012-07-04 23:11:17 +00:00
|
|
|
|
public bool RamWatchShowDiffColumn = false;
|
2012-09-15 14:35:13 +00:00
|
|
|
|
public bool RamWatchShowDomainColumn = true;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public int RamWatchAddressWidth = -1;
|
|
|
|
|
public int RamWatchValueWidth = -1;
|
|
|
|
|
public int RamWatchPrevWidth = -1;
|
|
|
|
|
public int RamWatchChangeWidth = -1;
|
2012-07-04 23:11:17 +00:00
|
|
|
|
public int RamWatchDiffWidth = -1;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public int RamWatchNotesWidth = -1;
|
2012-09-10 02:37:44 +00:00
|
|
|
|
public int RamWatchDomainWidth = -1;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public int RamWatchAddressIndex = 0;
|
|
|
|
|
public int RamWatchValueIndex = 1;
|
|
|
|
|
public int RamWatchPrevIndex = 2;
|
|
|
|
|
public int RamWatchChangeIndex = 3;
|
2012-07-04 23:11:17 +00:00
|
|
|
|
public int RamWatchDiffIndex = 4;
|
2012-09-10 02:37:44 +00:00
|
|
|
|
public int RamWatchDomainIndex = 5;
|
|
|
|
|
public int RamWatchNotesIndex = 6;
|
2012-07-05 01:58:33 +00:00
|
|
|
|
public int RamWatchPrev_Type = 1;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
// RamSearch Settings
|
|
|
|
|
public bool AutoLoadRamSearch = false;
|
|
|
|
|
public bool RamSearchSaveWindowPosition = true;
|
|
|
|
|
public RecentFiles RecentSearches = new RecentFiles(8);
|
|
|
|
|
public int RamSearchWndx = -1; //Negative numbers will be ignored even with save window position set
|
|
|
|
|
public int RamSearchWndy = -1;
|
|
|
|
|
public int RamSearchWidth = -1; //Negative numbers will be ignored
|
|
|
|
|
public int RamSearchHeight = -1;
|
|
|
|
|
public int RamSearchPreviousAs = 0;
|
|
|
|
|
public bool RamSearchPreviewMode = true;
|
2012-06-07 20:24:29 +00:00
|
|
|
|
public bool AlwaysExcludeRamWatch = false;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public int RamSearchAddressWidth = -1;
|
|
|
|
|
public int RamSearchValueWidth = -1;
|
|
|
|
|
public int RamSearchPrevWidth = -1;
|
|
|
|
|
public int RamSearchChangesWidth = -1;
|
|
|
|
|
public int RamSearchAddressIndex = 0;
|
|
|
|
|
public int RamSearchValueIndex = 1;
|
|
|
|
|
public int RamSearchPrevIndex = 2;
|
|
|
|
|
public int RamSearchChangesIndex = 3;
|
|
|
|
|
|
|
|
|
|
// HexEditor Settings
|
|
|
|
|
public bool AutoLoadHexEditor = false;
|
|
|
|
|
public bool HexEditorSaveWindowPosition = true;
|
|
|
|
|
public int HexEditorWndx = -1; //Negative numbers will be ignored even with save window position set
|
|
|
|
|
public int HexEditorWndy = -1;
|
|
|
|
|
public int HexEditorWidth = -1;
|
|
|
|
|
public int HexEditorHeight = -1;
|
2011-08-25 00:55:46 +00:00
|
|
|
|
public bool HexEditorBigEndian = false;
|
|
|
|
|
public int HexEditorDataSize = 1;
|
2012-06-10 22:43:43 +00:00
|
|
|
|
//Hex Editor Colors
|
2012-06-12 03:54:40 +00:00
|
|
|
|
public Color HexBackgrndColor = Color.FromName("Control");
|
|
|
|
|
public Color HexForegrndColor = Color.FromName("ControlText");
|
|
|
|
|
public Color HexMenubarColor = Color.FromName("Control");
|
2012-06-10 23:34:37 +00:00
|
|
|
|
public Color HexFreezeColor = Color.LightBlue;
|
|
|
|
|
public Color HexHighlightColor = Color.Pink;
|
|
|
|
|
public Color HexHighlightFreezeColor = Color.Violet;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-09-30 03:09:41 +00:00
|
|
|
|
//Trace Logger Settings
|
|
|
|
|
public bool TraceLoggerAutoLoad = false;
|
|
|
|
|
public bool TraceLoggerSaveWindowPosition = true;
|
|
|
|
|
public int TraceLoggerMaxLines = 100000;
|
|
|
|
|
public int TraceLoggerWndx = -1;
|
|
|
|
|
public int TraceLoggerWndy = -1;
|
|
|
|
|
public int TraceLoggerWidth = -1;
|
|
|
|
|
public int TraceLoggerHeight = -1;
|
|
|
|
|
|
2012-05-10 00:38:26 +00:00
|
|
|
|
// Video dumping settings
|
2012-06-17 15:09:53 +00:00
|
|
|
|
public string VideoWriter = "";
|
2012-05-10 00:38:26 +00:00
|
|
|
|
public int JMDCompression = 3;
|
|
|
|
|
public int JMDThreads = 3;
|
2012-06-17 15:04:41 +00:00
|
|
|
|
public string FFmpegFormat = "";
|
|
|
|
|
public string FFmpegCustomCommand = "-c:a foo -c:v bar -f baz";
|
2012-08-03 17:43:17 +00:00
|
|
|
|
public string AVICodecToken = "";
|
2012-09-22 00:44:59 +00:00
|
|
|
|
public int GifWriterFrameskip = 3;
|
2012-09-22 21:24:20 +00:00
|
|
|
|
public int GifWriterDelay = -1;
|
2012-05-10 00:38:26 +00:00
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
// NESPPU Settings
|
|
|
|
|
public bool AutoLoadNESPPU = false;
|
|
|
|
|
public bool NESPPUSaveWindowPosition = true;
|
|
|
|
|
public int NESPPUWndx = -1;
|
|
|
|
|
public int NESPPUWndy = -1;
|
2011-08-28 18:49:03 +00:00
|
|
|
|
public int NESPPURefreshRate = 4;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
// NESDebuger Settings
|
|
|
|
|
public bool AutoLoadNESDebugger = false;
|
|
|
|
|
public bool NESDebuggerSaveWindowPosition = true;
|
|
|
|
|
public int NESDebuggerWndx = -1;
|
|
|
|
|
public int NESDebuggerWndy = -1;
|
|
|
|
|
public int NESDebuggerWidth = -1;
|
|
|
|
|
public int NESDebuggerHeight = -1;
|
|
|
|
|
|
|
|
|
|
// NESNameTableViewer Settings
|
|
|
|
|
public bool AutoLoadNESNameTable = false;
|
|
|
|
|
public bool NESNameTableSaveWindowPosition = true;
|
|
|
|
|
public int NESNameTableWndx = -1;
|
|
|
|
|
public int NESNameTableWndy = -1;
|
2011-08-29 01:26:36 +00:00
|
|
|
|
public int NESNameTableRefreshRate = 4;
|
2011-03-30 00:09:07 +00:00
|
|
|
|
|
2011-06-11 12:54:26 +00:00
|
|
|
|
// NES Graphics settings
|
|
|
|
|
public bool NESAllowMoreThanEightSprites = false;
|
|
|
|
|
public bool NESClipLeftAndRight = false;
|
|
|
|
|
public bool NESAutoLoadPalette = true;
|
|
|
|
|
public bool NESDispBackground = true;
|
|
|
|
|
public bool NESDispSprites = true;
|
|
|
|
|
public int NESBackgroundColor = 0;
|
|
|
|
|
public string NESPaletteFile = "";
|
2011-09-04 01:12:12 +00:00
|
|
|
|
public int NESTopLine = 8;
|
|
|
|
|
public int NESBottomLine = 231;
|
2011-06-11 12:54:26 +00:00
|
|
|
|
|
2012-11-09 18:55:59 +00:00
|
|
|
|
// gb gpu view settings
|
|
|
|
|
public bool AutoLoadGBGPUView = false;
|
|
|
|
|
public bool GBGPUViewSaveWindowPosition = true;
|
|
|
|
|
public int GBGPUViewWndx = -1;
|
|
|
|
|
public int GBGPUViewWndy = -1;
|
2012-11-14 15:23:38 +00:00
|
|
|
|
public Color GBGPUSpriteBack = Color.Lime;
|
2012-11-09 18:55:59 +00:00
|
|
|
|
|
2012-09-10 19:44:44 +00:00
|
|
|
|
// SNES Graphics Debugger Dialog Settings
|
|
|
|
|
public bool AutoLoadSNESGraphicsDebugger = false;
|
|
|
|
|
public bool SNESGraphicsDebuggerSaveWindowPosition = true;
|
|
|
|
|
public int SNESGraphicsDebuggerWndx = -1;
|
|
|
|
|
public int SNESGraphicsDebuggerWndy = -1;
|
|
|
|
|
public int SNESGraphicsDebuggerRefreshRate = 4;
|
2012-10-19 17:23:54 +00:00
|
|
|
|
public bool SNESGraphicsUseUserBackdropColor = false;
|
|
|
|
|
public int SNESGraphicsUserBackdropColor = -1;
|
2012-11-25 20:06:31 +00:00
|
|
|
|
public string SNESPalette = "BizHawk";
|
2012-09-10 19:44:44 +00:00
|
|
|
|
|
2012-09-04 19:12:16 +00:00
|
|
|
|
// SNES Graphics settings
|
|
|
|
|
//bsnes allows the layers to be enabled for each priority level.
|
|
|
|
|
//this may not be important for the bg (there are two priority levels)
|
|
|
|
|
//but it may be useful for OBJ, so we might want to control them separately
|
|
|
|
|
public bool SNES_ShowBG1_0 = true;
|
|
|
|
|
public bool SNES_ShowBG2_0 = true;
|
|
|
|
|
public bool SNES_ShowBG3_0 = true;
|
|
|
|
|
public bool SNES_ShowBG4_0 = true;
|
|
|
|
|
public bool SNES_ShowBG1_1 = true;
|
|
|
|
|
public bool SNES_ShowBG2_1 = true;
|
|
|
|
|
public bool SNES_ShowBG3_1 = true;
|
|
|
|
|
public bool SNES_ShowBG4_1 = true;
|
2012-09-15 16:43:16 +00:00
|
|
|
|
public bool SNES_ShowOBJ1 = true;
|
|
|
|
|
public bool SNES_ShowOBJ2 = true;
|
|
|
|
|
public bool SNES_ShowOBJ3 = true;
|
|
|
|
|
public bool SNES_ShowOBJ4 = true;
|
2012-09-04 19:12:16 +00:00
|
|
|
|
|
2012-03-11 15:18:24 +00:00
|
|
|
|
// PCE Graphics settings
|
2012-03-11 09:51:23 +00:00
|
|
|
|
public bool PCEDispBG1 = true;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
public bool PCEDispOBJ1 = true;
|
2012-03-11 09:51:23 +00:00
|
|
|
|
public bool PCEDispBG2 = true;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
public bool PCEDispOBJ2 = true;
|
2012-03-11 06:50:46 +00:00
|
|
|
|
|
2012-03-13 02:41:10 +00:00
|
|
|
|
// PCE BG Viewer settings
|
|
|
|
|
public bool PCEBGViewerSaveWIndowPosition = true;
|
|
|
|
|
public bool PCEBGViewerAutoload = false;
|
|
|
|
|
public int PCEBGViewerWndx = -1;
|
|
|
|
|
public int PCEBGViewerWndy = -1;
|
2012-07-13 00:38:04 +00:00
|
|
|
|
public int PCEBGViewerRefreshRate = 16;
|
2012-03-13 02:41:10 +00:00
|
|
|
|
|
2012-03-11 16:15:20 +00:00
|
|
|
|
// SMS Graphics settings
|
|
|
|
|
public bool SMSDispBG = true;
|
|
|
|
|
public bool SMSDispOBJ = true;
|
|
|
|
|
|
2012-11-22 02:01:15 +00:00
|
|
|
|
// Coleco Settings
|
|
|
|
|
public bool ColecoSkipBiosIntro = false;
|
|
|
|
|
|
2011-06-27 00:15:47 +00:00
|
|
|
|
//GB Debugger settings
|
|
|
|
|
public bool AutoloadGBDebugger = false;
|
|
|
|
|
public bool GBDebuggerSaveWindowPosition = true;
|
2012-05-19 15:17:32 +00:00
|
|
|
|
public bool GameBoySkipBIOS = true;
|
2011-06-27 00:15:47 +00:00
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
// Cheats Dialog
|
2012-09-29 14:03:32 +00:00
|
|
|
|
public bool Cheats_ValuesAsHex = true;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool AutoLoadCheats = false;
|
|
|
|
|
public bool CheatsSaveWindowPosition = true;
|
|
|
|
|
public bool DisableCheatsOnLoad = false;
|
|
|
|
|
public bool LoadCheatFileByGame = true;
|
|
|
|
|
public bool CheatsAutoSaveOnClose = true;
|
|
|
|
|
public RecentFiles RecentCheats = new RecentFiles(8);
|
|
|
|
|
public int CheatsWndx = -1;
|
|
|
|
|
public int CheatsWndy = -1;
|
|
|
|
|
public int CheatsWidth = -1;
|
|
|
|
|
public int CheatsHeight = -1;
|
|
|
|
|
public int CheatsNameWidth = -1;
|
|
|
|
|
public int CheatsAddressWidth = -1;
|
|
|
|
|
public int CheatsValueWidth = -1;
|
2012-09-01 17:09:44 +00:00
|
|
|
|
public int CheatsCompareWidth = -1;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public int CheatsDomainWidth = -1;
|
|
|
|
|
public int CheatsOnWidth = -1;
|
|
|
|
|
public int CheatsNameIndex = 0;
|
|
|
|
|
public int CheatsAddressIndex = 1;
|
|
|
|
|
public int CheatsValueIndex = 2;
|
2012-09-01 17:09:44 +00:00
|
|
|
|
public int CheatsCompareIndex = 3;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public int CheatsOnIndex = 4;
|
2012-09-01 17:09:44 +00:00
|
|
|
|
public int CheatsDomainIndex = 5;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
// TAStudio Dialog
|
|
|
|
|
public bool TAStudioSaveWindowPosition = true;
|
2011-06-11 22:32:12 +00:00
|
|
|
|
public bool AutoloadTAStudio = false;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public int TASWndx = -1;
|
|
|
|
|
public int TASWndy = -1;
|
|
|
|
|
public int TASWidth = -1;
|
|
|
|
|
public int TASHeight = -1;
|
2011-07-30 17:59:18 +00:00
|
|
|
|
public bool TASUpdatePads = true;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-10-29 22:57:15 +00:00
|
|
|
|
// VirtualPad Dialog
|
|
|
|
|
public bool VirtualPadSaveWindowPosition = true;
|
|
|
|
|
public bool AutoloadVirtualPad = false;
|
|
|
|
|
public bool VirtualPadSticky = true;
|
|
|
|
|
public int VPadWndx = -1;
|
|
|
|
|
public int VPadWndy = -1;
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
// NES Game Genie Encoder/Decoder
|
|
|
|
|
public bool NESGGAutoload = false;
|
|
|
|
|
public bool NESGGSaveWindowPosition = true;
|
|
|
|
|
public int NESGGWndx = -1;
|
|
|
|
|
public int NESGGWndy = -1;
|
|
|
|
|
|
|
|
|
|
//Movie Settings
|
|
|
|
|
public RecentFiles RecentMovies = new RecentFiles(8);
|
|
|
|
|
public bool AutoLoadMostRecentMovie = false;
|
|
|
|
|
public bool BindSavestatesToMovies = true;
|
2011-06-30 01:37:54 +00:00
|
|
|
|
public string DefaultAuthor = "default user";
|
|
|
|
|
public bool UseDefaultAuthor = true;
|
2011-07-10 00:04:33 +00:00
|
|
|
|
public bool DisplaySubtitles = true;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2011-07-10 18:13:02 +00:00
|
|
|
|
//Play Movie Dialog
|
|
|
|
|
public bool PlayMovie_IncludeSubdir = true;
|
2011-07-23 20:52:47 +00:00
|
|
|
|
public bool PlayMovie_ShowStateFiles = false;
|
2012-04-02 01:35:34 +00:00
|
|
|
|
public bool PlayMovie_MatchGameName = false;
|
2011-07-10 18:13:02 +00:00
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
//TI83
|
|
|
|
|
public bool TI83autoloadKeyPad = true;
|
|
|
|
|
public bool TI83KeypadSaveWindowPosition = true;
|
|
|
|
|
public int TI83KeyPadWndx = -1;
|
|
|
|
|
public int TI83KeyPadWndy = -1;
|
|
|
|
|
public bool TI83ToolTips = true;
|
|
|
|
|
|
|
|
|
|
// Client Hotkey Bindings
|
2012-07-12 21:56:59 +00:00
|
|
|
|
public string ToggleBackgroundInput = "";
|
2012-07-12 21:39:11 +00:00
|
|
|
|
public string IncreaseSpeedBinding = "Equals";
|
|
|
|
|
public string DecreaseSpeedBinding = "Minus";
|
2012-09-16 17:10:33 +00:00
|
|
|
|
public string HardResetBinding = "";
|
2012-09-16 16:06:28 +00:00
|
|
|
|
public string RebootCoreResetBinding = "Ctrl+R";
|
2012-09-30 07:05:18 +00:00
|
|
|
|
public string FastForwardBinding = "Tab, X1 RightShoulder";
|
|
|
|
|
public string RewindBinding = "Shift+R, X1 LeftShoulder";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string EmulatorPauseBinding = "Pause";
|
|
|
|
|
public string FrameAdvanceBinding = "F";
|
2012-08-28 01:29:07 +00:00
|
|
|
|
public string TurboBinding = "";
|
|
|
|
|
public string MaxTurboBinding = "Shift+Tab";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string ScreenshotBinding = "F12";
|
2011-06-21 00:36:31 +00:00
|
|
|
|
public string ToggleFullscreenBinding = "Alt+Return";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string QuickSave = "I";
|
|
|
|
|
public string QuickLoad = "P";
|
2011-07-23 20:52:47 +00:00
|
|
|
|
public string SelectSlot0 = "D0";
|
|
|
|
|
public string SelectSlot1 = "D1";
|
|
|
|
|
public string SelectSlot2 = "D2";
|
|
|
|
|
public string SelectSlot3 = "D3";
|
|
|
|
|
public string SelectSlot4 = "D4";
|
|
|
|
|
public string SelectSlot5 = "D5";
|
|
|
|
|
public string SelectSlot6 = "D6";
|
|
|
|
|
public string SelectSlot7 = "D7";
|
|
|
|
|
public string SelectSlot8 = "D8";
|
|
|
|
|
public string SelectSlot9 = "D9";
|
2011-06-21 00:36:31 +00:00
|
|
|
|
public string SaveSlot0 = "Shift+F10";
|
|
|
|
|
public string SaveSlot1 = "Shift+F1";
|
|
|
|
|
public string SaveSlot2 = "Shift+F2";
|
|
|
|
|
public string SaveSlot3 = "Shift+F3";
|
|
|
|
|
public string SaveSlot4 = "Shift+F4";
|
|
|
|
|
public string SaveSlot5 = "Shift+F5";
|
|
|
|
|
public string SaveSlot6 = "Shift+F6";
|
|
|
|
|
public string SaveSlot7 = "Shift+F7";
|
|
|
|
|
public string SaveSlot8 = "Shift+F8";
|
|
|
|
|
public string SaveSlot9 = "Shift+F9";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string LoadSlot0 = "F10";
|
|
|
|
|
public string LoadSlot1 = "F1";
|
|
|
|
|
public string LoadSlot2 = "F2";
|
|
|
|
|
public string LoadSlot3 = "F3";
|
|
|
|
|
public string LoadSlot4 = "F4";
|
|
|
|
|
public string LoadSlot5 = "F5";
|
|
|
|
|
public string LoadSlot6 = "F6";
|
|
|
|
|
public string LoadSlot7 = "F7";
|
|
|
|
|
public string LoadSlot8 = "F8";
|
|
|
|
|
public string LoadSlot9 = "F9";
|
|
|
|
|
public string ToolBox = "T";
|
|
|
|
|
public string SaveNamedState = "";
|
|
|
|
|
public string LoadNamedState = "";
|
|
|
|
|
public string PreviousSlot = "";
|
|
|
|
|
public string NextSlot = "";
|
|
|
|
|
public string RamWatch = "";
|
|
|
|
|
public string RamSearch = "";
|
|
|
|
|
public string RamPoke = "";
|
|
|
|
|
public string HexEditor = "";
|
|
|
|
|
public string LuaConsole = "";
|
|
|
|
|
public string Cheats = "";
|
2012-04-24 00:11:58 +00:00
|
|
|
|
public string TASTudio = "";
|
2011-06-21 01:22:27 +00:00
|
|
|
|
public string OpenROM = "Ctrl+O";
|
|
|
|
|
public string CloseROM = "Ctrl+W";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string FrameCounterBinding = "";
|
|
|
|
|
public string FPSBinding = "";
|
|
|
|
|
public string LagCounterBinding = "";
|
|
|
|
|
public string InputDisplayBinding = "";
|
|
|
|
|
public string ReadOnlyToggleBinding = "Q";
|
|
|
|
|
public string PlayMovieBinding = "";
|
|
|
|
|
public string RecordMovieBinding = "";
|
|
|
|
|
public string StopMovieBinding = "";
|
|
|
|
|
public string PlayBeginningBinding = "";
|
|
|
|
|
public string VolUpBinding = "";
|
|
|
|
|
public string VolDownBinding = "";
|
2011-06-30 02:22:12 +00:00
|
|
|
|
public string SoftResetBinding = "";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public string ToggleMultiTrack = "";
|
|
|
|
|
public string MTRecordAll = "";
|
|
|
|
|
public string MTRecordNone = "";
|
|
|
|
|
public string MTIncrementPlayer = "";
|
|
|
|
|
public string MTDecrementPlayer = "";
|
2011-07-12 00:05:14 +00:00
|
|
|
|
public string AVIRecordBinding = "";
|
|
|
|
|
public string AVIStopBinding = "";
|
2011-10-01 03:43:37 +00:00
|
|
|
|
public string ToggleMenuBinding = "";
|
2012-03-28 02:32:05 +00:00
|
|
|
|
public string IncreaseWindowSize = "Alt+UpArrow";
|
|
|
|
|
public string DecreaseWindowSize = "Alt+DownArrow";
|
2012-09-14 21:31:00 +00:00
|
|
|
|
public string AutoholdBinding = "";
|
|
|
|
|
public string AutoholdClear = "";
|
2012-09-15 16:43:16 +00:00
|
|
|
|
public string ToggleSNESBG1Binding = "";
|
|
|
|
|
public string ToggleSNESBG2Binding = "";
|
|
|
|
|
public string ToggleSNESBG3Binding = "";
|
|
|
|
|
public string ToggleSNESBG4Binding = "";
|
|
|
|
|
public string ToggleSNESOBJ1Binding = "";
|
|
|
|
|
public string ToggleSNESOBJ2Binding = "";
|
|
|
|
|
public string ToggleSNESOBJ3Binding = "";
|
|
|
|
|
public string ToggleSNESOBJ4Binding = "";
|
2012-10-28 23:38:41 +00:00
|
|
|
|
public string SaveMovieBinding = "";
|
2012-11-23 17:03:10 +00:00
|
|
|
|
public string OpenVirtualPadBinding = "";
|
2012-03-25 00:39:51 +00:00
|
|
|
|
|
2012-07-12 23:13:22 +00:00
|
|
|
|
// NES Sound settings
|
|
|
|
|
public bool NESEnableSquare1 = true;
|
|
|
|
|
public bool NESEnableSquare2 = true;
|
|
|
|
|
public bool NESEnableTriangle = true;
|
|
|
|
|
public bool NESEnableNoise = true;
|
|
|
|
|
public bool NESEnableDMC = true;
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
// SMS / GameGear Settings
|
|
|
|
|
public bool SmsEnableFM = true;
|
|
|
|
|
public bool SmsAllowOverlock = false;
|
|
|
|
|
public bool SmsForceStereoSeparation = false;
|
2012-06-10 22:43:43 +00:00
|
|
|
|
public bool SmsSpriteLimit = false;
|
2012-10-06 12:27:56 +00:00
|
|
|
|
public bool GGShowClippedRegions = false;
|
2012-10-06 12:37:38 +00:00
|
|
|
|
public bool GGHighlightActiveDisplayRegion = false;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
public SMSControllerTemplate[] SMSController = new SMSControllerTemplate[2];
|
2011-08-09 02:16:46 +00:00
|
|
|
|
public SMSControllerTemplate[] SMSAutoController = new SMSControllerTemplate[2];
|
2012-11-08 03:16:41 +00:00
|
|
|
|
public SMSConsoleButtonTemplate SMSConsoleButtons = new SMSConsoleButtonTemplate();
|
2012-03-25 00:39:51 +00:00
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
// PCEngine Settings
|
2012-03-07 00:40:20 +00:00
|
|
|
|
public bool PceSpriteLimit = false;
|
|
|
|
|
public bool PceEqualizeVolume = false;
|
|
|
|
|
public bool PceArcadeCardRewindHack = true;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public PCEControllerTemplate[] PCEController = new PCEControllerTemplate[5];
|
2011-08-09 02:40:22 +00:00
|
|
|
|
public PCEControllerTemplate[] PCEAutoController = new PCEControllerTemplate[5];
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
// Genesis Settings
|
2012-03-07 00:40:20 +00:00
|
|
|
|
public GenControllerTemplate[] GenesisController = new GenControllerTemplate[1];
|
|
|
|
|
public GenControllerTemplate[] GenesisAutoController = new GenControllerTemplate[1];
|
2012-11-08 04:33:18 +00:00
|
|
|
|
public GenConsoleButtonTemplate GenesisConsoleButtons = new GenConsoleButtonTemplate();
|
2012-03-07 00:40:20 +00:00
|
|
|
|
|
|
|
|
|
//Atari 2600 Settings
|
2012-11-08 13:33:30 +00:00
|
|
|
|
public SingleButtonJoyStickTemplate[] Atari2600Controller = new SingleButtonJoyStickTemplate[2];
|
|
|
|
|
public SingleButtonJoyStickTemplate[] Atari2600AutoController = new SingleButtonJoyStickTemplate[2];
|
2012-03-30 16:40:52 +00:00
|
|
|
|
public Atari2600ConsoleButtonsTemplate[] Atari2600ConsoleButtons = new Atari2600ConsoleButtonsTemplate[1];
|
2012-04-29 02:48:33 +00:00
|
|
|
|
public bool Atari2600_BW = false;
|
|
|
|
|
public bool Atari2600_LeftDifficulty = true;
|
|
|
|
|
public bool Atari2600_RightDifficulty = true;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-05-06 00:54:13 +00:00
|
|
|
|
//ColecoVision
|
2012-11-17 22:38:32 +00:00
|
|
|
|
public ColecoVisionControllerTemplate[] ColecoController = new ColecoVisionControllerTemplate[2];
|
|
|
|
|
public ColecoVisionControllerTemplate[] ColecoAutoController = new ColecoVisionControllerTemplate[2];
|
2012-05-06 00:54:13 +00:00
|
|
|
|
|
2011-04-24 02:01:36 +00:00
|
|
|
|
//NES settings
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public NESControllerTemplate[] NESController = new NESControllerTemplate[4];
|
2011-08-09 01:38:51 +00:00
|
|
|
|
public NESControllerTemplate[] NESAutoController = new NESControllerTemplate[4];
|
2012-11-08 02:20:34 +00:00
|
|
|
|
public NESConsoleButtonTemplate NESConsoleButtons = new NESConsoleButtonTemplate();
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-09-04 00:20:36 +00:00
|
|
|
|
//SNES settings
|
|
|
|
|
public SNESControllerTemplate[] SNESController = new SNESControllerTemplate[4];
|
2012-09-26 01:20:11 +00:00
|
|
|
|
public SNESControllerTemplate[] SNESAutoController = new SNESControllerTemplate[4];
|
2012-11-08 04:13:55 +00:00
|
|
|
|
public NESConsoleButtonTemplate SNESConsoleButtons = new NESConsoleButtonTemplate();
|
2012-09-04 00:20:36 +00:00
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
//TI 83 settings
|
|
|
|
|
public TI83ControllerTemplate[] TI83Controller = new TI83ControllerTemplate[1];
|
2011-06-27 01:24:26 +00:00
|
|
|
|
|
|
|
|
|
//GB settings
|
2012-05-18 18:28:12 +00:00
|
|
|
|
public GBControllerTemplate[] GBController = new GBControllerTemplate[1];
|
|
|
|
|
public GBControllerTemplate[] GBAutoController = new GBControllerTemplate[1];
|
2012-09-15 16:14:03 +00:00
|
|
|
|
public bool GB_ForceDMG = false;
|
|
|
|
|
public bool GB_GBACGB = false;
|
|
|
|
|
public bool GB_MulticartCompat = false;
|
2012-09-15 23:50:18 +00:00
|
|
|
|
public string GB_PaletteFile = "";
|
2012-09-26 15:59:14 +00:00
|
|
|
|
public bool GB_AsSGB = false;
|
2012-11-18 18:46:57 +00:00
|
|
|
|
public Emulation.Consoles.GB.GBColors.ColorType CGBColors = Emulation.Consoles.GB.GBColors.ColorType.gambatte;
|
2012-03-04 20:37:49 +00:00
|
|
|
|
|
2012-11-24 16:14:30 +00:00
|
|
|
|
//GBA settings
|
|
|
|
|
public GBAControllerTemplate[] GBAController = new GBAControllerTemplate[1];
|
|
|
|
|
public GBAControllerTemplate[] GBAAutoController = new GBAControllerTemplate[1];
|
|
|
|
|
|
2012-11-08 13:33:30 +00:00
|
|
|
|
//Commodore 64 Settings
|
|
|
|
|
public SingleButtonJoyStickTemplate[] C64Joysticks = new SingleButtonJoyStickTemplate[2];
|
|
|
|
|
public SingleButtonJoyStickTemplate[] C64AutoJoysticks = new SingleButtonJoyStickTemplate[2];
|
2012-11-10 03:19:42 +00:00
|
|
|
|
public C64KeyboardTemplate C64Keyboard = new C64KeyboardTemplate();
|
|
|
|
|
public C64KeyboardTemplate C64AutofireKeyboard = new C64KeyboardTemplate();
|
2012-11-08 13:33:30 +00:00
|
|
|
|
|
2012-03-04 20:37:49 +00:00
|
|
|
|
//GIF Animator Settings
|
|
|
|
|
public int GifAnimatorNumFrames;
|
|
|
|
|
public int GifAnimatorFrameSkip;
|
|
|
|
|
public int GifAnimatorSpeed;
|
|
|
|
|
public bool GifAnimatorReversable;
|
2012-07-21 19:29:45 +00:00
|
|
|
|
|
2012-07-27 00:15:02 +00:00
|
|
|
|
//LuaWriter Settings
|
|
|
|
|
public int LuaDefaultTextColor = -16777216;
|
2012-08-04 03:35:17 +00:00
|
|
|
|
public bool LuaDefaultTextBold = false;
|
|
|
|
|
public int LuaWriterBackColor = -1;
|
|
|
|
|
|
2012-07-27 00:15:02 +00:00
|
|
|
|
public int LuaKeyWordColor = -16776961;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
public bool LuaKeyWordBold = false;
|
2012-07-27 00:15:02 +00:00
|
|
|
|
public int LuaCommentColor = -16744448;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
public bool LuaCommentBold = false;
|
2012-07-27 00:15:02 +00:00
|
|
|
|
public int LuaStringColor = -8355712;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
public bool LuaStringBold = false;
|
2012-07-27 00:15:02 +00:00
|
|
|
|
public int LuaSymbolColor = -16777216;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
public bool LuaSymbolBold = false;
|
|
|
|
|
public int LuaLibraryColor = -16711681;
|
|
|
|
|
public bool LuaLibraryBold = false;
|
2012-08-12 07:06:38 +00:00
|
|
|
|
public int LuaDecimalColor = -23296;
|
|
|
|
|
public bool LuaDecimalBold = false;
|
2012-07-27 00:15:02 +00:00
|
|
|
|
public float LuaWriterFontSize = 11;
|
|
|
|
|
public string LuaWriterFont = "Courier New";
|
2012-08-01 02:56:38 +00:00
|
|
|
|
public float LuaWriterZoom = 1;
|
2012-08-03 02:59:36 +00:00
|
|
|
|
public bool LuaWriterStartEmpty = false;
|
2012-10-30 00:18:56 +00:00
|
|
|
|
|
|
|
|
|
//Atari 2600 Settings
|
|
|
|
|
public bool Atari2600_ShowBG = true;
|
|
|
|
|
public bool Atari2600_ShowPlayer1 = true;
|
|
|
|
|
public bool Atari2600_ShowPlayer2 = true;
|
|
|
|
|
public bool Atari2600_ShowMissle1 = true;
|
|
|
|
|
public bool Atari2600_ShowMissle2 = true;
|
|
|
|
|
public bool Atari2600_ShowBall = true;
|
2012-10-30 23:38:53 +00:00
|
|
|
|
public bool Atari2600_ShowPlayfield = true;
|
2012-11-08 02:20:34 +00:00
|
|
|
|
}
|
2012-11-06 03:27:24 +00:00
|
|
|
|
|
2012-11-08 02:20:34 +00:00
|
|
|
|
public class NESConsoleButtonTemplate
|
|
|
|
|
{
|
2012-11-08 03:16:41 +00:00
|
|
|
|
public string Reset = "";
|
|
|
|
|
public string Power = "";
|
2012-11-09 02:47:50 +00:00
|
|
|
|
//public string FDS_Eject = ""; //Not supporting this for now
|
|
|
|
|
//public string FDS_Insert = ""; //Need to support inserting of disk 1,2,3,4,etc so not supporting this for now
|
|
|
|
|
//public string VS_Coin_1 = ""; //Not supported yet
|
|
|
|
|
//public string VS_Coin_2 = ""; //Not supported yet
|
2012-11-08 03:16:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class SMSConsoleButtonTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Reset = "C";
|
|
|
|
|
public string Pause = "V, X1 Start";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
2012-11-08 04:33:18 +00:00
|
|
|
|
public class GenConsoleButtonTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Reset = "";
|
|
|
|
|
}
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public class SMSControllerTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Up;
|
|
|
|
|
public string Down;
|
|
|
|
|
public string Left;
|
|
|
|
|
public string Right;
|
|
|
|
|
public string B1;
|
|
|
|
|
public string B2;
|
|
|
|
|
public bool Enabled;
|
|
|
|
|
public SMSControllerTemplate() { }
|
|
|
|
|
public SMSControllerTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
2012-09-30 07:05:18 +00:00
|
|
|
|
Up = "UpArrow, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "DownArrow, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "LeftArrow, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "RightArrow, X1 DpadRight, X1 LStickRight";
|
|
|
|
|
B1 = "Z, X1 A";
|
|
|
|
|
B2 = "X, X1 B";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Enabled = false;
|
|
|
|
|
Up = "";
|
|
|
|
|
Down = "";
|
|
|
|
|
Right = "";
|
|
|
|
|
Left = "";
|
|
|
|
|
B1 = "";
|
|
|
|
|
B2 = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class PCEControllerTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Up;
|
|
|
|
|
public string Down;
|
|
|
|
|
public string Left;
|
|
|
|
|
public string Right;
|
|
|
|
|
public string I;
|
|
|
|
|
public string II;
|
|
|
|
|
public string Select;
|
2012-11-26 02:22:15 +00:00
|
|
|
|
public string Run;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool Enabled;
|
|
|
|
|
public PCEControllerTemplate() { }
|
|
|
|
|
public PCEControllerTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
2012-09-30 07:05:18 +00:00
|
|
|
|
Up = "UpArrow, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "DownArrow, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "LeftArrow, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "RightArrow, X1 DpadRight, X1 LStickRight";
|
|
|
|
|
I = "Z, X1 B";
|
|
|
|
|
II = "X, X1 A";
|
|
|
|
|
Run = "C, X1 Start";
|
|
|
|
|
Select = "V, X1 Back";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Enabled = false;
|
|
|
|
|
Up = "";
|
|
|
|
|
Down = "";
|
|
|
|
|
Right = "";
|
|
|
|
|
Left = "";
|
|
|
|
|
I = "";
|
|
|
|
|
II = "";
|
|
|
|
|
Run = "";
|
|
|
|
|
Select = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2012-09-04 00:20:36 +00:00
|
|
|
|
public class SNESControllerTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Up;
|
|
|
|
|
public string Down;
|
|
|
|
|
public string Left;
|
|
|
|
|
public string Right;
|
|
|
|
|
public string A;
|
|
|
|
|
public string B;
|
|
|
|
|
public string Start;
|
|
|
|
|
public string Select;
|
|
|
|
|
public string Y, X, L, R;
|
|
|
|
|
public bool Enabled;
|
|
|
|
|
public SNESControllerTemplate() { }
|
|
|
|
|
public SNESControllerTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
2012-09-30 07:05:18 +00:00
|
|
|
|
Up = "UpArrow, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "DownArrow, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "LeftArrow, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "RightArrow, X1 DpadRight, X1 LStickRight";
|
|
|
|
|
A = "X, X1 B";
|
|
|
|
|
B = "Z, X1 A";
|
|
|
|
|
Y = "A, X1 X";
|
|
|
|
|
X = "S, X1 Y";
|
|
|
|
|
L = "W, X1 LeftTrigger";
|
|
|
|
|
R = "E, X1 RightTrigger";
|
|
|
|
|
Start = "Return, X1 Start";
|
|
|
|
|
Select = "Space, X1 Back";
|
2012-09-04 00:20:36 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Enabled = false;
|
|
|
|
|
Up = "";
|
|
|
|
|
Down = "";
|
|
|
|
|
Right = "";
|
|
|
|
|
Left = "";
|
|
|
|
|
A = "";
|
|
|
|
|
B = "";
|
|
|
|
|
Start = "";
|
|
|
|
|
Select = "";
|
|
|
|
|
X = Y = L = R = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2012-11-24 16:14:30 +00:00
|
|
|
|
public class GBAControllerTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Up;
|
|
|
|
|
public string Down;
|
|
|
|
|
public string Left;
|
|
|
|
|
public string Right;
|
|
|
|
|
public string A;
|
|
|
|
|
public string B;
|
|
|
|
|
public string Start;
|
|
|
|
|
public string Select;
|
|
|
|
|
public string L, R;
|
|
|
|
|
public string Power;
|
|
|
|
|
public bool Enabled;
|
|
|
|
|
public GBAControllerTemplate() { }
|
|
|
|
|
public GBAControllerTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
|
|
|
|
Up = "UpArrow, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "DownArrow, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "LeftArrow, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "RightArrow, X1 DpadRight, X1 LStickRight";
|
|
|
|
|
A = "X, X1 B";
|
|
|
|
|
B = "Z, X1 A";
|
|
|
|
|
L = "W, X1 LeftTrigger";
|
|
|
|
|
R = "E, X1 RightTrigger";
|
|
|
|
|
Start = "Return, X1 Start";
|
|
|
|
|
Select = "Space, X1 Back";
|
|
|
|
|
Power = "";
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Enabled = false;
|
|
|
|
|
Up = "";
|
|
|
|
|
Down = "";
|
|
|
|
|
Right = "";
|
|
|
|
|
Left = "";
|
|
|
|
|
A = "";
|
|
|
|
|
B = "";
|
|
|
|
|
Start = "";
|
|
|
|
|
Select = "";
|
|
|
|
|
L = R = "";
|
|
|
|
|
Power = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public class NESControllerTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Up;
|
|
|
|
|
public string Down;
|
|
|
|
|
public string Left;
|
|
|
|
|
public string Right;
|
|
|
|
|
public string A;
|
|
|
|
|
public string B;
|
|
|
|
|
public string Select;
|
2012-11-08 04:33:18 +00:00
|
|
|
|
public string Start;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public bool Enabled;
|
|
|
|
|
public NESControllerTemplate() { }
|
|
|
|
|
public NESControllerTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
Up = "UpArrow, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "DownArrow, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "LeftArrow, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "RightArrow, X1 DpadRight, X1 LStickRight";
|
2012-09-30 07:05:18 +00:00
|
|
|
|
A = "X, X1 B";
|
|
|
|
|
B = "Z, X1 A";
|
|
|
|
|
Start = "Return, X1 Start";
|
|
|
|
|
Select = "Space, X1 Back";
|
2011-06-27 01:24:26 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Enabled = false;
|
|
|
|
|
Up = "";
|
|
|
|
|
Down = "";
|
|
|
|
|
Right = "";
|
|
|
|
|
Left = "";
|
|
|
|
|
A = "";
|
|
|
|
|
B = "";
|
|
|
|
|
Start = "";
|
|
|
|
|
Select = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class GBControllerTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Up;
|
|
|
|
|
public string Down;
|
|
|
|
|
public string Left;
|
|
|
|
|
public string Right;
|
|
|
|
|
public string A;
|
|
|
|
|
public string B;
|
|
|
|
|
public string Select;
|
2012-11-08 04:43:07 +00:00
|
|
|
|
public string Start;
|
|
|
|
|
public string Power = "";
|
2011-06-27 01:24:26 +00:00
|
|
|
|
public bool Enabled;
|
|
|
|
|
public GBControllerTemplate() { }
|
|
|
|
|
public GBControllerTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
Up = "UpArrow, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "DownArrow, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "LeftArrow, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "RightArrow, X1 DpadRight, X1 LStickRight";
|
2012-09-30 07:05:18 +00:00
|
|
|
|
A = "X, X1 B";
|
|
|
|
|
B = "Z, X1 A";
|
|
|
|
|
Start = "Return, X1 Start";
|
|
|
|
|
Select = "Space, X1 Back";
|
2012-11-08 04:43:07 +00:00
|
|
|
|
Power = "";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Enabled = false;
|
|
|
|
|
Up = "";
|
|
|
|
|
Down = "";
|
|
|
|
|
Right = "";
|
|
|
|
|
Left = "";
|
|
|
|
|
A = "";
|
|
|
|
|
B = "";
|
|
|
|
|
Start = "";
|
|
|
|
|
Select = "";
|
2012-11-08 04:43:07 +00:00
|
|
|
|
Power = "";
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-12-24 01:59:51 +00:00
|
|
|
|
public class GenControllerTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Up = "";
|
|
|
|
|
public string Down = "";
|
|
|
|
|
public string Left = "";
|
|
|
|
|
public string Right = "";
|
|
|
|
|
public string A = "";
|
|
|
|
|
public string B = "";
|
|
|
|
|
public string C = "";
|
|
|
|
|
public string Start = "";
|
|
|
|
|
public bool Enabled;
|
|
|
|
|
|
|
|
|
|
public GenControllerTemplate() { }
|
|
|
|
|
public GenControllerTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
Up = "UpArrow, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "DownArrow, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "LeftArrow, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "RightArrow, X1 DpadRight, X1 LStickRight";
|
2012-09-30 07:05:18 +00:00
|
|
|
|
A = "Z, X1 A";
|
|
|
|
|
B = "X, X1 X";
|
|
|
|
|
C = "C, X1 Y";
|
|
|
|
|
Start = "Return, X1 Start";
|
2011-12-24 01:59:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-10-01 17:06:25 +00:00
|
|
|
|
|
2012-11-08 13:33:30 +00:00
|
|
|
|
public class SingleButtonJoyStickTemplate
|
2012-03-07 00:40:20 +00:00
|
|
|
|
{
|
|
|
|
|
public string Up = "";
|
|
|
|
|
public string Down = "";
|
|
|
|
|
public string Left = "";
|
|
|
|
|
public string Right = "";
|
|
|
|
|
public string Button = "";
|
|
|
|
|
public bool Enabled;
|
|
|
|
|
|
2012-11-08 13:33:30 +00:00
|
|
|
|
public SingleButtonJoyStickTemplate() { }
|
2012-11-10 01:32:45 +00:00
|
|
|
|
public SingleButtonJoyStickTemplate(bool defaults, bool useNumpad = false)
|
2012-03-07 00:40:20 +00:00
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
2012-11-10 01:32:45 +00:00
|
|
|
|
if (useNumpad)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
|
|
|
|
Up = "NumberPad8, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "NumberPad2, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "NumberPad4, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "NumberPad6, X1 DpadRight, X1 LStickRight";
|
|
|
|
|
Button = "NumberPad8, X1 A";
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
|
|
|
|
Up = "UpArrow, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "DownArrow, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "LeftArrow, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "RightArrow, X1 DpadRight, X1 LStickRight";
|
|
|
|
|
Button = "Z, X1 A";
|
|
|
|
|
}
|
2012-03-07 00:40:20 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2012-03-30 16:40:52 +00:00
|
|
|
|
public class Atari2600ConsoleButtonsTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Reset = "";
|
|
|
|
|
public string Select = "";
|
|
|
|
|
public bool Enabled;
|
|
|
|
|
|
|
|
|
|
public Atari2600ConsoleButtonsTemplate() { }
|
|
|
|
|
public Atari2600ConsoleButtonsTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
|
|
|
|
Reset = "";
|
|
|
|
|
Select = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2012-05-06 00:54:13 +00:00
|
|
|
|
public class ColecoVisionControllerTemplate
|
|
|
|
|
{
|
|
|
|
|
public string Up = "";
|
|
|
|
|
public string Down = "";
|
|
|
|
|
public string Left = "";
|
|
|
|
|
public string Right = "";
|
2012-11-18 02:36:30 +00:00
|
|
|
|
public string L = "";
|
|
|
|
|
public string R = "";
|
2012-11-17 21:38:21 +00:00
|
|
|
|
public string _0 = "";
|
2012-05-06 00:54:13 +00:00
|
|
|
|
public string _1 = "";
|
|
|
|
|
public string _2 = "";
|
|
|
|
|
public string _3 = "";
|
|
|
|
|
public string _4 = "";
|
|
|
|
|
public string _5 = "";
|
|
|
|
|
public string _6 = "";
|
|
|
|
|
public string _7 = "";
|
|
|
|
|
public string _8 = "";
|
|
|
|
|
public string _9 = "";
|
|
|
|
|
public string Star = "";
|
|
|
|
|
public string Pound = "";
|
|
|
|
|
public bool Enabled;
|
|
|
|
|
|
|
|
|
|
public ColecoVisionControllerTemplate() { }
|
|
|
|
|
public ColecoVisionControllerTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
2012-10-13 21:27:12 +00:00
|
|
|
|
Up = "UpArrow, X1 DpadUp, X1 LStickUp";
|
|
|
|
|
Down = "DownArrow, X1 DpadDown, X1 LStickDown";
|
|
|
|
|
Left = "LeftArrow, X1 DpadLeft, X1 LStickLeft";
|
|
|
|
|
Right = "RightArrow, X1 DpadRight, X1 LStickRight";
|
2012-11-18 02:36:30 +00:00
|
|
|
|
L = "Z, J1 B1";
|
|
|
|
|
R = "X, J1 B1";
|
2012-11-17 21:38:21 +00:00
|
|
|
|
_0 = "NumberPad0";
|
2012-05-06 00:54:13 +00:00
|
|
|
|
_1 = "NumberPad1";
|
|
|
|
|
_2 = "NumberPad2";
|
|
|
|
|
_3 = "NumberPad3";
|
|
|
|
|
_4 = "NumberPad4";
|
|
|
|
|
_5 = "NumberPad5";
|
|
|
|
|
_6 = "NumberPad6";
|
|
|
|
|
_7 = "NumberPad7";
|
|
|
|
|
_8 = "NumberPad8";
|
|
|
|
|
_9 = "NumberPad9";
|
|
|
|
|
Pound = "NumberPadPeriod";
|
2012-11-17 21:38:21 +00:00
|
|
|
|
Star = "NumberPadEnter";
|
2012-05-06 00:54:13 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2012-11-10 03:19:42 +00:00
|
|
|
|
public class C64KeyboardTemplate
|
2012-11-10 02:40:43 +00:00
|
|
|
|
{
|
|
|
|
|
public string F1;
|
|
|
|
|
public string F3;
|
|
|
|
|
public string F5;
|
|
|
|
|
public string F7;
|
|
|
|
|
|
|
|
|
|
public string Left_Arrow;
|
|
|
|
|
public string _1;
|
|
|
|
|
public string _2;
|
|
|
|
|
public string _3;
|
2012-11-15 19:36:23 +00:00
|
|
|
|
public string _4;
|
2012-11-10 02:40:43 +00:00
|
|
|
|
public string _5;
|
|
|
|
|
public string _6;
|
|
|
|
|
public string _7;
|
|
|
|
|
public string _8;
|
|
|
|
|
public string _9;
|
|
|
|
|
public string _0;
|
|
|
|
|
public string Plus;
|
|
|
|
|
public string Minus;
|
|
|
|
|
public string Pound;
|
|
|
|
|
public string Clear_Home;
|
|
|
|
|
public string Insert_Delete;
|
|
|
|
|
|
|
|
|
|
public string Control;
|
|
|
|
|
public string Q;
|
|
|
|
|
public string W;
|
|
|
|
|
public string E;
|
|
|
|
|
public string R;
|
|
|
|
|
public string T;
|
|
|
|
|
public string Y;
|
|
|
|
|
public string U;
|
|
|
|
|
public string I;
|
|
|
|
|
public string O;
|
|
|
|
|
public string P;
|
|
|
|
|
public string At;
|
|
|
|
|
public string Asterisk;
|
|
|
|
|
public string Up_Arrow;
|
2012-11-25 21:49:07 +00:00
|
|
|
|
public string Restore;
|
2012-11-10 02:40:43 +00:00
|
|
|
|
|
|
|
|
|
public string Run_Stop;
|
2012-11-19 00:56:26 +00:00
|
|
|
|
public string Lck;
|
2012-11-10 02:40:43 +00:00
|
|
|
|
public string A;
|
|
|
|
|
public string S;
|
|
|
|
|
public string D;
|
|
|
|
|
public string F;
|
|
|
|
|
public string G;
|
|
|
|
|
public string H;
|
|
|
|
|
public string J;
|
|
|
|
|
public string K;
|
|
|
|
|
public string L;
|
|
|
|
|
public string Colon;
|
|
|
|
|
public string Semicolon;
|
|
|
|
|
public string Equal;
|
|
|
|
|
public string Return;
|
|
|
|
|
|
|
|
|
|
public string Commodore;
|
|
|
|
|
public string Left_Shift;
|
|
|
|
|
public string Z;
|
|
|
|
|
public string X;
|
|
|
|
|
public string C;
|
|
|
|
|
public string V;
|
|
|
|
|
public string B;
|
|
|
|
|
public string N;
|
|
|
|
|
public string M;
|
|
|
|
|
public string Comma;
|
|
|
|
|
public string Period;
|
|
|
|
|
public string Slash;
|
|
|
|
|
public string Right_Shift;
|
|
|
|
|
public string Cursor_Up_Down;
|
|
|
|
|
public string Cursor_Left_Right;
|
|
|
|
|
|
|
|
|
|
public string Space;
|
|
|
|
|
|
2012-11-10 03:19:42 +00:00
|
|
|
|
public bool enabled;
|
2012-11-10 02:40:43 +00:00
|
|
|
|
|
2012-11-10 03:19:42 +00:00
|
|
|
|
public C64KeyboardTemplate() { }
|
|
|
|
|
public C64KeyboardTemplate(bool defaults)
|
2012-11-10 02:40:43 +00:00
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
F1 = "F1";
|
|
|
|
|
F3 = "F3";
|
|
|
|
|
F5 = "F5";
|
|
|
|
|
F7 = "F7";
|
|
|
|
|
|
2012-11-15 19:27:20 +00:00
|
|
|
|
Left_Arrow = "Grave";
|
|
|
|
|
_1 = "D1";
|
|
|
|
|
_2 = "D2";
|
|
|
|
|
_3 = "D3";
|
2012-11-15 19:36:23 +00:00
|
|
|
|
_4 = "D4";
|
2012-11-15 19:27:20 +00:00
|
|
|
|
_5 = "D5";
|
|
|
|
|
_6 = "D6";
|
|
|
|
|
_7 = "D7";
|
|
|
|
|
_8 = "D8";
|
|
|
|
|
_9 = "D9";
|
|
|
|
|
_0 = "D0";
|
2012-11-10 02:40:43 +00:00
|
|
|
|
Plus = "Equals";
|
|
|
|
|
Minus = "Minus";
|
2012-11-15 19:27:20 +00:00
|
|
|
|
Pound = "Insert";
|
|
|
|
|
Clear_Home = "Delete";
|
|
|
|
|
Insert_Delete = "Backspace";
|
2012-11-10 02:40:43 +00:00
|
|
|
|
|
2012-11-15 19:27:20 +00:00
|
|
|
|
Control = "Tab";
|
2012-11-10 02:40:43 +00:00
|
|
|
|
Q = "Q";
|
|
|
|
|
W = "W";
|
|
|
|
|
E = "E";
|
|
|
|
|
R = "R";
|
|
|
|
|
T = "T";
|
|
|
|
|
Y = "Y";
|
|
|
|
|
U = "U";
|
|
|
|
|
I = "I";
|
|
|
|
|
O = "O";
|
|
|
|
|
P = "P";
|
2012-11-15 19:27:20 +00:00
|
|
|
|
At = "LeftBracket";
|
|
|
|
|
Asterisk = "RightBracket";
|
|
|
|
|
Up_Arrow = "Backslash";
|
2012-11-10 02:40:43 +00:00
|
|
|
|
|
2012-11-15 19:27:20 +00:00
|
|
|
|
Run_Stop = "CapsLock";
|
2012-11-10 02:40:43 +00:00
|
|
|
|
A = "A";
|
|
|
|
|
S = "S";
|
|
|
|
|
D = "D";
|
|
|
|
|
F = "F";
|
|
|
|
|
G = "G";
|
|
|
|
|
H = "H";
|
|
|
|
|
J = "J";
|
|
|
|
|
K = "K";
|
|
|
|
|
L = "L";
|
|
|
|
|
Colon = "Semicolon";
|
|
|
|
|
Semicolon = "Apostrophe";
|
2012-11-15 19:27:20 +00:00
|
|
|
|
Equal = "RightControl";
|
2012-11-10 02:40:43 +00:00
|
|
|
|
Return = "Return";
|
|
|
|
|
|
2012-11-15 19:27:20 +00:00
|
|
|
|
Commodore = "LeftControl";
|
2012-11-10 02:40:43 +00:00
|
|
|
|
Left_Shift = "LeftShift";
|
|
|
|
|
Z = "Z";
|
|
|
|
|
X = "X";
|
|
|
|
|
C = "C";
|
|
|
|
|
V = "V";
|
|
|
|
|
B = "B";
|
|
|
|
|
N = "N";
|
|
|
|
|
M = "M";
|
|
|
|
|
Comma = "Comma";
|
|
|
|
|
Period = "Period";
|
|
|
|
|
Slash = "Slash";
|
|
|
|
|
Right_Shift = "RightShift";
|
2012-11-15 19:27:20 +00:00
|
|
|
|
Cursor_Up_Down = "DownArrow";
|
|
|
|
|
Cursor_Left_Right = "RightArrow";
|
2012-11-10 02:40:43 +00:00
|
|
|
|
|
|
|
|
|
Space = "Space";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public class TI83ControllerTemplate
|
|
|
|
|
{
|
|
|
|
|
public string _0;
|
|
|
|
|
public string _1;
|
|
|
|
|
public string _2;
|
|
|
|
|
public string _3;
|
|
|
|
|
public string _4;
|
|
|
|
|
public string _5;
|
|
|
|
|
public string _6;
|
|
|
|
|
public string _7;
|
|
|
|
|
public string _8;
|
|
|
|
|
public string _9;
|
|
|
|
|
public string DOT;
|
|
|
|
|
public string ON;
|
|
|
|
|
public string ENTER;
|
|
|
|
|
public string DOWN;
|
|
|
|
|
public string UP;
|
|
|
|
|
public string LEFT;
|
|
|
|
|
public string RIGHT;
|
|
|
|
|
public string PLUS;
|
|
|
|
|
public string MINUS;
|
|
|
|
|
public string MULTIPLY;
|
|
|
|
|
public string DIVIDE;
|
|
|
|
|
public string CLEAR;
|
|
|
|
|
public string EXP;
|
|
|
|
|
public string DASH;
|
|
|
|
|
public string PARACLOSE;
|
|
|
|
|
public string TAN;
|
|
|
|
|
public string VARS;
|
|
|
|
|
public string PARAOPEN;
|
|
|
|
|
public string COS;
|
|
|
|
|
public string PRGM;
|
|
|
|
|
public string STAT;
|
|
|
|
|
public string SIN;
|
|
|
|
|
public string MATRIX;
|
|
|
|
|
public string X;
|
|
|
|
|
public string STO;
|
|
|
|
|
public string LN;
|
|
|
|
|
public string LOG;
|
|
|
|
|
public string SQUARED;
|
|
|
|
|
public string NEG1;
|
|
|
|
|
public string MATH;
|
|
|
|
|
public string ALPHA;
|
|
|
|
|
public string GRAPH;
|
|
|
|
|
public string TRACE;
|
|
|
|
|
public string ZOOM;
|
|
|
|
|
public string WINDOW;
|
|
|
|
|
public string Y;
|
|
|
|
|
public string SECOND;
|
|
|
|
|
public string MODE;
|
|
|
|
|
public string DEL;
|
|
|
|
|
public TI83ControllerTemplate() { }
|
|
|
|
|
public bool Enabled;
|
|
|
|
|
public string COMMA;
|
|
|
|
|
public TI83ControllerTemplate(bool defaults)
|
|
|
|
|
{
|
|
|
|
|
if (defaults)
|
|
|
|
|
{
|
|
|
|
|
Enabled = true;
|
|
|
|
|
_0 = "NumberPad0"; //0
|
|
|
|
|
_1 = "NumberPad1"; //1
|
|
|
|
|
_2 = "NumberPad2"; //2
|
|
|
|
|
_3 = "NumberPad3"; //3
|
|
|
|
|
_4 = "NumberPad4"; //4
|
|
|
|
|
_5 = "NumberPad5"; //5
|
|
|
|
|
_6 = "NumberPad6"; //6
|
|
|
|
|
_7 = "NumberPad7"; //7
|
|
|
|
|
_8 = "NumberPad8"; //8
|
|
|
|
|
_9 = "NumberPad9"; //9
|
|
|
|
|
DOT = "NumberPadPeriod";//10
|
|
|
|
|
ON = "Space"; //11
|
2011-08-04 03:00:40 +00:00
|
|
|
|
ENTER = "Return, NumberPadEnter"; //12
|
2011-06-19 23:39:25 +00:00
|
|
|
|
UP = "UpArrow"; //13
|
|
|
|
|
DOWN = "DownArrow"; //14
|
|
|
|
|
LEFT = "LeftArrow"; //15
|
|
|
|
|
RIGHT = "RightArrow"; //16
|
|
|
|
|
PLUS = "NumberPadPlus"; //17
|
|
|
|
|
MINUS = "NumberPadMinus"; //18
|
|
|
|
|
MULTIPLY = "NumberPadStar"; //19
|
|
|
|
|
DIVIDE = "NumberPadSlash"; //20
|
|
|
|
|
CLEAR = "Escape"; //21
|
|
|
|
|
EXP = "6"; //22
|
|
|
|
|
DASH = "Minus"; //23
|
|
|
|
|
PARACLOSE = "0"; //24
|
|
|
|
|
PARAOPEN = "9"; //25
|
|
|
|
|
TAN = "T"; //26
|
|
|
|
|
VARS = "V"; //27
|
|
|
|
|
COS = "C"; //28
|
|
|
|
|
PRGM = "R"; //29
|
|
|
|
|
STAT = "S"; //30
|
|
|
|
|
MATRIX = "LeftBracket"; //31
|
|
|
|
|
X = "X"; //32
|
|
|
|
|
STO = "Insert"; //33
|
|
|
|
|
LN = "L"; //34
|
|
|
|
|
LOG = "O"; //35
|
|
|
|
|
SQUARED = "2"; //36
|
|
|
|
|
NEG1 = "1"; //37
|
|
|
|
|
MATH = "M"; //38
|
|
|
|
|
ALPHA = "A"; //39
|
|
|
|
|
GRAPH = "G"; //40
|
|
|
|
|
TRACE = "Home"; //41
|
|
|
|
|
ZOOM = "Z"; //42
|
|
|
|
|
WINDOW = "W"; //43
|
|
|
|
|
Y = "Y"; //44
|
|
|
|
|
SECOND = "Slash"; //45
|
|
|
|
|
MODE = "BackSlash"; //46
|
|
|
|
|
DEL = "Delete"; //47
|
|
|
|
|
COMMA = "Comma"; //48
|
|
|
|
|
SIN = "Period"; //49
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Enabled = false;
|
|
|
|
|
_0 = "";
|
|
|
|
|
_1 = "";
|
|
|
|
|
_2 = "";
|
|
|
|
|
_3 = "";
|
|
|
|
|
_4 = "";
|
|
|
|
|
_5 = "";
|
|
|
|
|
_6 = "";
|
|
|
|
|
_7 = "";
|
|
|
|
|
_8 = "";
|
|
|
|
|
_9 = "";
|
|
|
|
|
DOT = "";
|
|
|
|
|
ON = "";
|
|
|
|
|
ENTER = "";
|
|
|
|
|
UP = "";
|
|
|
|
|
DOWN = "";
|
|
|
|
|
LEFT = "";
|
|
|
|
|
RIGHT = "";
|
|
|
|
|
PLUS = "";
|
|
|
|
|
MINUS = "";
|
|
|
|
|
MULTIPLY = "";
|
|
|
|
|
DIVIDE = "";
|
|
|
|
|
CLEAR = "";
|
|
|
|
|
EXP = "";
|
|
|
|
|
DASH = "";
|
|
|
|
|
PARACLOSE = "";
|
|
|
|
|
TAN = "";
|
|
|
|
|
VARS = "";
|
|
|
|
|
PARAOPEN = "";
|
|
|
|
|
COS = "";
|
|
|
|
|
PRGM = "";
|
|
|
|
|
STAT = "";
|
|
|
|
|
SIN = "";
|
|
|
|
|
MATRIX = "";
|
|
|
|
|
X = "";
|
|
|
|
|
STO = "";
|
|
|
|
|
LN = "";
|
|
|
|
|
LOG = "";
|
|
|
|
|
SQUARED = "";
|
|
|
|
|
NEG1 = "";
|
|
|
|
|
MATH = "";
|
|
|
|
|
ALPHA = "";
|
|
|
|
|
GRAPH = "";
|
|
|
|
|
TRACE = "";
|
|
|
|
|
ZOOM = "";
|
|
|
|
|
WINDOW = "";
|
|
|
|
|
Y = "";
|
|
|
|
|
SECOND = "";
|
|
|
|
|
MODE = "";
|
|
|
|
|
DEL = "";
|
|
|
|
|
COMMA = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-03-25 00:39:51 +00:00
|
|
|
|
}
|