X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JoystickController.h;h=5e46256b2898725bbfd57e0c6e724ccecbf6b55b;hp=4c878f254d0a0142bebd21031e0ef936415e62d9;hb=68fe4de58269fc00e70e59453e05098ccd4341a2;hpb=530009447c5bbd360ac5023979cffc6d32a28df3 diff --git a/JoystickController.h b/JoystickController.h index 4c878f2..5e46256 100644 --- a/JoystickController.h +++ b/JoystickController.h @@ -6,27 +6,26 @@ // Copyright 2009 University of Otago. All rights reserved. // -#import -#import @class Joystick; +@class JSAction; @class ConfigsController; - @class TargetController; +@class Config; @interface JoystickController : NSObject { - NSMutableArray *joysticks; - IOHIDManagerRef hidManager; - IBOutlet NSOutlineView* outlineView; - IBOutlet TargetController* targetController; - IBOutlet ConfigsController* configsController; - id selectedAction; - BOOL programmaticallySelecting; + IBOutlet NSOutlineView *outlineView; + IBOutlet TargetController *targetController; + IBOutlet ConfigsController *configsController; } --(void) setup; --(Joystick*) findJoystickByRef: (IOHIDDeviceRef) device; +- (void)setup; +- (Joystick *)findJoystickByRef:(IOHIDDeviceRef)device; -@property(readonly) id selectedAction; -@property(readonly) NSMutableArray *joysticks; +@property (readonly) Config *currentConfig; +@property (readonly) JSAction *selectedAction; +@property (readonly) NSMutableArray *joysticks; +@property (assign) NSPoint mouseLoc; +@property (assign) BOOL frontWindowOnly; +@property (assign) BOOL sendingRealEvents; @end