5 // Created by Sam McCall on 5/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
9 #import <Cocoa/Cocoa.h>
11 @interface Target
: NSObject
{
17 @
property(readwrite
) BOOL running
;
18 @
property(readonly
) BOOL isContinuous
;
19 @
property(readwrite
) double inputValue
;
20 -(void) trigger
: (JoystickController
*)jc
;
21 -(void) untrigger
: (JoystickController
*)jc
;
22 - (BOOL
)update
:(JoystickController
*)jc
;
23 -(NSString
*) stringify
;
24 +(Target
*) unstringify
: (NSString
*) str withConfigList
: (NSArray
*) configs
;