Mac OS X gamepad emulator for serial RC transmitters
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AppDelegate.m 658B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // AppDelegate.m
  3. // SerialGamepad
  4. //
  5. // Created by Thomas Buck on 14.12.15.
  6. // Copyright © 2015 xythobuz. All rights reserved.
  7. //
  8. #import "AppDelegate.h"
  9. #import "MainWindow.h"
  10. @interface AppDelegate ()
  11. @property (weak) IBOutlet MainWindow *window;
  12. @end
  13. @implementation AppDelegate
  14. @synthesize window;
  15. - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)application {
  16. return YES;
  17. }
  18. - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
  19. [window populatePortList];
  20. }
  21. - (void)applicationWillTerminate:(NSNotification *)aNotification {
  22. // Insert code here to tear down your application
  23. }
  24. @end