5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
9 #import "NJInputPathElement.h"
11 @interface NJInput
: NSObject
<NJInputPathElement
>
13 @
property (nonatomic
, assign
) IOHIDElementCookie cookie
;
14 @
property (nonatomic
, copy
) NSArray
*children
;
15 @
property (nonatomic
, weak
) id
<NJInputPathElement
> base
;
16 @
property (nonatomic
, copy
) NSString
*name
;
17 @
property (nonatomic
, assign
) BOOL active
;
18 @
property (nonatomic
, assign
) float magnitude
;
19 @
property (readonly
) NSString
*uid
;
21 - (id
)initWithName
:(NSString
*)newName base
:(id
<NJInputPathElement
>)newBase
;
23 - (void)notifyEvent
:(IOHIDValueRef
)value
;
24 - (id
)findSubInputForValue
:(IOHIDValueRef
)value
;