mirror of https://github.com/LIJI32/SameBoy.git
31 lines
754 B
Objective-C
31 lines
754 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <Core/gb.h>
|
|
#import "GCExtendedGamepad+AllElements.h"
|
|
#import "GBTheme.h"
|
|
|
|
typedef enum {
|
|
GBRight,
|
|
GBLeft,
|
|
GBUp,
|
|
GBDown,
|
|
GBA,
|
|
GBB,
|
|
GBSelect,
|
|
GBStart,
|
|
GBTurbo,
|
|
GBRewind,
|
|
GBUnderclock,
|
|
// GBHotkey1, // Todo
|
|
// GBHotkey2, // Todo
|
|
GBTotalButtonCount,
|
|
GBKeyboardButtonCount = GBUnderclock + 1,
|
|
GBPerPlayerButtonCount = GBStart + 1,
|
|
GBUnusedButton = 0xFF,
|
|
} GBButton;
|
|
|
|
@interface GBSettingsViewController : UITableViewController
|
|
+ (UIViewController *)settingsViewControllerWithLeftButton:(UIBarButtonItem *)button;
|
|
+ (GBButton)controller:(GCController *)controller convertUsageToButton:(GBControllerUsage)usage;
|
|
+ (GBTheme *)themeNamed:(NSString *)name;
|
|
@end
|