Set mapping menu limit to 15/16, and show the number of unshown mappings in the item...
[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 : NSObject <NJInputPathElement>
12
13 @property (nonatomic, assign) IOHIDElementCookie cookie;
14 @property (nonatomic, copy) NSArray *children;
15 @property (nonatomic, weak) id base;
16 @property (nonatomic, copy) NSString *name;
17 @property (nonatomic, assign) BOOL active;
18 @property (nonatomic, assign) float magnitude;
19 @property (readonly) NSString *uid;
20
21 - (id)initWithName:(NSString *)newName base:(id <NJInputPathElement>)newBase;
22
23 - (void)notifyEvent:(IOHIDValueRef)value;
24 - (id)findSubInputForValue:(IOHIDValueRef)value;
25
26 @end