5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
9 #import "NJInputPathElement.h"
13 @interface NJDevice
: NJInputPathElement
15 - (id
)initWithDevice
:(IOHIDDeviceRef
)device
;
17 @
property (nonatomic
, assign
) int index
;
18 @
property (nonatomic
, copy
) NSString
*productName
;
19 @
property (nonatomic
, assign
) IOHIDDeviceRef device
;
21 - (NJInput
*)handlerForEvent
:(IOHIDValueRef
)value
;
22 - (NJInput
*)inputForEvent
:(IOHIDValueRef
)value
;