objc

InputManager+Protocols.h
Go to the documentation of this file.
1 
10 #pragma once
11 
19 
20 // TODO: Nothing here yet
21 
22 @end
23 
31 
53 - (void)keyEvent:(id<InputManagerSource>)sender
54  code:(uint16_t)keyCode
55  scanCode:(uint16_t)scanCode
56  char:(char)ch
57  state:(NXInputState)state;
58 
71 - (void)moveEvent:(id<InputManagerSource>)sender
72  point:(NXPoint)point
73  slot:(uint8_t)slot;
74 
75 @end
A protocol that defines the methods for an input manager delegate.
NXInputState
Input state flags used by the input manager and key handling.
A protocol that defines the methods for an input manager source.
A structure representing a point in 2D space.
Definition: NXPoint.h:18