forked from OpenEmu/OpenEmu
-
Notifications
You must be signed in to change notification settings - Fork 0
Developers: How to Build System and Core Plugins
clobber edited this page Feb 21, 2012
·
45 revisions
System Plugins describe a core system and contain:
- SystemController and SystemResponder classes
- Plugin name and system identifier
- Supported rom types (file suffixes)
- Button mapping defaults and settings
- Controller preference layouts, graphics and icons.
These settings are stored in property list (.plist) files.
... .oesystemplugin 1(classes) 2(supporting files, plists)
OpenEmu includes plugins for several systems. In this example, we will create a new system plugin for the TurboGrafx-16/PC Engine.
NSString *OEPCEButtonNameTable[] =
{
@"OEPCEButton1",
@"OEPCEButton2",
@"OEPCEButtonUp",
@"OEPCEButtonDown",
@"OEPCEButtonLeft",
@"OEPCEButtonRight",
@"OEPCEButtonRun",
@"OEPCEButtonSelect"
};
...
Core Plugins implement systems and contain: ...
...
porting...
...
