objc
include
Application
InputManager+Protocols.h
Go to the documentation of this file.
1
10
#pragma once
11
18
@protocol
InputManagerSource
19
20
// TODO: Nothing here yet
21
22
@end
23
30
@protocol
InputManagerDelegate
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
InputManagerDelegate-p
A protocol that defines the methods for an input manager delegate.
Definition:
InputManager+Protocols.h:30
NXInputState
NXInputState
Input state flags used by the input manager and key handling.
Definition:
NXInputManager+Types.h:19
InputManagerSource-p
A protocol that defines the methods for an input manager source.
Definition:
InputManager+Protocols.h:18
NXPoint
A structure representing a point in 2D space.
Definition:
NXPoint.h:18