Fix permissions.
[enjoyable.git] / Classes / NJDevice.h
1 //
2 // NJDevice.h
3 // Enjoy
4 //
5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
7 //
8
9 #import "NJInputPathElement.h"
10
11 @class NJInput;
12
13 @interface NJDevice : NJInputPathElement
14
15 - (id)initWithDevice:(IOHIDDeviceRef)device;
16
17 @property (nonatomic, assign) int index;
18 @property (nonatomic, assign) IOHIDDeviceRef device;
19
20 - (NJInput *)handlerForEvent:(IOHIDValueRef)value;
21 - (NJInput *)inputForEvent:(IOHIDValueRef)value;
22
23 @end