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.

MainWindow.h 801B

123456789101112131415161718192021222324252627282930
  1. //
  2. // MainWindow.h
  3. // SerialGamepad
  4. //
  5. // Created by Thomas Buck on 14.12.15.
  6. // Copyright © 2015 xythobuz. All rights reserved.
  7. //
  8. #import <Cocoa/Cocoa.h>
  9. @class Thread;
  10. @interface MainWindow : NSWindow <NSWindowDelegate>
  11. @property (weak) IBOutlet NSPopUpButton *portList;
  12. @property (weak) IBOutlet NSButton *connectButton;
  13. @property (weak) IBOutlet NSButton *createButton;
  14. @property (weak) IBOutlet NSLevelIndicator *level1;
  15. @property (weak) IBOutlet NSLevelIndicator *level2;
  16. @property (weak) IBOutlet NSLevelIndicator *level3;
  17. @property (weak) IBOutlet NSLevelIndicator *level4;
  18. @property (weak) IBOutlet NSLevelIndicator *level5;
  19. @property (weak) IBOutlet NSLevelIndicator *level6;
  20. @property (strong) Thread *serialThread;
  21. - (void)populatePortList;
  22. - (void)setChannels:(id)data;
  23. @end