Fix localization changing mapping logical names.
[enjoyable.git] / Classes / NJInput.h
1 //
2 // NJInput.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 @interface NJInput : NJInputPathElement
12
13 - (id)initWithName:(NSString *)name
14 did:(NSString *)did
15 cookie:(IOHIDElementCookie)cookie
16 base:(NJInputPathElement *)base;
17
18 @property (nonatomic, assign) IOHIDElementCookie cookie;
19 @property (nonatomic, assign) BOOL active;
20 @property (nonatomic, assign) float magnitude;
21
22 - (void)notifyEvent:(IOHIDValueRef)value;
23 - (id)findSubInputForValue:(IOHIDValueRef)value;
24
25 @end