Skip to content

Commit

Permalink
Merge pull request #293 from ToddLa/mouse-input
Browse files Browse the repository at this point in the history
Mouse Input
  • Loading branch information
yoshisuga authored Mar 7, 2021
2 parents 5600ced + 9840a55 commit d2a5245
Show file tree
Hide file tree
Showing 14 changed files with 468 additions and 156 deletions.
5 changes: 3 additions & 2 deletions iOS/Bootstrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,11 @@ - (void)application:(UIApplication *)application performActionForShortcutItem:(U
#endif

- (void)applicationDidEnterBackground:(UIApplication *)application {
[hrViewController runPause];
[hrViewController enterBackground];
}

- (void)applicationWillResignActive:(UIApplication *)application {
- (void)applicationWillEnterForeground:(UIApplication *)application {
[hrViewController enterForeground];
}

- (void)applicationWillTerminate:(UIApplication *)application {
Expand Down
4 changes: 3 additions & 1 deletion iOS/EmulatorController.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ enum {BTN_A,BTN_B,BTN_Y,BTN_X,BTN_L1,BTN_R1,

- (void)runMenu;
- (void)runExit;
- (void)runPause;
- (void)runServer;
- (void)runReset;
- (void)endMenu;
Expand All @@ -152,6 +151,9 @@ enum {BTN_A,BTN_B,BTN_Y,BTN_X,BTN_L1,BTN_R1,
- (void)runExportSkin;
#endif

- (void)enterBackground;
- (void)enterForeground;

- (void)handle_INPUT;
- (void)commandKey:(char)key;

Expand Down
Loading

0 comments on commit d2a5245

Please sign in to comment.