git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

iOS/GBSettingsViewController.h

      1 #import <UIKit/UIKit.h>
      2 #import <Core/gb.h>
      3 #import "GCControllerGetElements.h"
      4 #import "GBTheme.h"
      5 
      6 typedef enum {
      7     GBRight,
      8     GBLeft,
      9     GBUp,
     10     GBDown,
     11     GBA,
     12     GBB,
     13     GBSelect,
     14     GBStart,
     15     GBTurbo,
     16     GBRewind,
     17     GBUnderclock,
     18     GBRapidA,
     19     GBRapidB,
     20     GBSaveState1,
     21     GBLoadState1,
     22     GBOpenMenu,
     23     GBReset,
     24     GBUnusedButton = 0xFF,
     25 } GBButton;
     26 
     27 typedef enum {
     28     GBControllerFocusOff,
     29     GBControllerFocusOn,
     30     GBControllerFocusDoNotCenter,
     31 } GBControllerFocus;
     32 
     33 @interface GBSettingsViewController : UITableViewController
     34 + (UIViewController *)settingsViewControllerWithLeftButton:(UIBarButtonItem *)button;
     35 + (GBButton)controller:(GCController *)controller convertUsageToButton:(GBControllerUsage)usage;
     36 + (GBTheme *)themeNamed:(NSString *)name;
     37 @end

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.