X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JoystickController.h;h=5e46256b2898725bbfd57e0c6e724ccecbf6b55b;hp=c698c17679c5a0208bd3d5f6dc80ca2bef266951;hb=68fe4de58269fc00e70e59453e05098ccd4341a2;hpb=e68c19b5923618b763543c74bf8dd6f85d4d323e diff --git a/JoystickController.h b/JoystickController.h index c698c17..5e46256 100644 --- a/JoystickController.h +++ b/JoystickController.h @@ -6,35 +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; - NSMutableArray *runningTargets; - IOHIDManagerRef hidManager; - IBOutlet NSOutlineView* outlineView; - IBOutlet TargetController* targetController; - IBOutlet ConfigsController* configsController; - id selectedAction; - BOOL programmaticallySelecting; - BOOL frontWindowOnly; - - @public - NSPoint mouseLoc; + IBOutlet NSOutlineView *outlineView; + IBOutlet TargetController *targetController; + IBOutlet ConfigsController *configsController; } --(void) setup; --(Joystick*) findJoystickByRef: (IOHIDDeviceRef) device; +- (void)setup; +- (Joystick *)findJoystickByRef:(IOHIDDeviceRef)device; +@property (readonly) Config *currentConfig; @property (readonly) JSAction *selectedAction; @property (readonly) NSMutableArray *joysticks; -@property (readonly) NSMutableArray *runningTargets; -@property (readwrite) BOOL frontWindowOnly; +@property (assign) NSPoint mouseLoc; +@property (assign) BOOL frontWindowOnly; +@property (assign) BOOL sendingRealEvents; @end