Photon Editor Library
2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
EKeyCode.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <Common/primitive_type.h>
4
5
namespace
ph::editor
6
{
7
8
enum class
EKeyCode
: uint8
9
{
10
// Unknow/unsupported key
11
Unknown
= 0,
12
13
// F<X> keys
14
F1
= 1,
15
F2
= 2,
16
F3
= 3,
17
F4
= 4,
18
F5
= 5,
19
F6
= 6,
20
F7
= 7,
21
F8
= 8,
22
F9
= 9,
23
F10
= 10,
24
F11
= 11,
25
F12
= 12,
26
27
// Characters
28
A
= 20,
29
B
= 21,
30
C
= 22,
31
D
= 23,
32
E
= 24,
33
F
= 25,
34
G
= 26,
35
H
= 27,
36
I
= 28,
37
J
= 29,
38
K
= 30,
39
L
= 31,
40
M
= 32,
41
N
= 33,
42
O
= 34,
43
P
= 35,
44
Q
= 36,
45
R
= 37,
46
S
= 38,
47
T
= 39,
48
U
= 40,
49
V
= 41,
50
W
= 42,
51
X
= 43,
52
Y
= 44,
53
Z
= 45,
54
55
Space
= 46,
56
Apostrophe
= 47,
/* ' */
57
Comma
= 48,
/* , */
58
Minus
= 49,
/* - */
59
Period
= 50,
/* . */
60
Slash
= 51,
/* / */
61
Semicolon
= 52,
/* ; */
62
Equal
= 53,
/* = */
63
LeftBracket
= 54,
/* [ */
64
Backslash
= 55,
/* \ */
65
RightBracket
= 56,
/* ] */
66
GraveAccent
= 57,
/* ` */
67
68
// Common functional keys
69
Escape
= 60,
70
Enter
= 61,
71
Tab
= 62,
72
Backspace
= 63,
73
Insert
= 64,
74
Delete
= 65,
75
Right
= 66,
76
Left
= 67,
77
Down
= 68,
78
Up
= 69,
79
PageUp
= 70,
80
PageDown
= 71,
81
Home
= 72,
82
End
= 73,
83
CapsLock
= 74,
84
ScrollLock
= 75,
85
NumLock
= 76,
86
PrintScreen
= 77,
87
Pause
= 78,
88
LeftShift
= 79,
89
LeftControl
= 80,
90
LeftAlt
= 81,
91
LeftSuper
= 82,
92
RightShift
= 83,
93
RightControl
= 84,
94
RightAlt
= 85,
95
RightSuper
= 86,
96
Menu
= 87,
97
98
// Keypad keys
99
K0
= 90,
100
K1
= 91,
101
K2
= 92,
102
K3
= 93,
103
K4
= 94,
104
K5
= 95,
105
K6
= 96,
106
K7
= 97,
107
K8
= 98,
108
K9
= 99,
109
KDecimal
= 100,
110
KDivide
= 101,
111
KMultiply
= 102,
112
KSubtract
= 103,
113
KAdd
= 104,
114
KEnter
= 105,
115
KEqual
= 106,
116
117
// Number keys (normally below F<X> keys)
118
D0
= 110,
/* 0 */
119
D1
= 111,
/* 1 */
120
D2
= 112,
/* 2 */
121
D3
= 113,
/* 3 */
122
D4
= 114,
/* 4 */
123
D5
= 115,
/* 5 */
124
D6
= 116,
/* 6 */
125
D7
= 117,
/* 7 */
126
D8
= 118,
/* 8 */
127
D9
= 119,
/* 9 */
128
129
// Number of values
130
Num
,
131
};
// end EKeyCode
132
133
}
// end namespace ph::editor
ph::editor
Definition
ph_editor.h:10
ph::editor::EKeyCode
EKeyCode
Definition
EKeyCode.h:9
ph::editor::EKeyCode::Escape
@ Escape
ph::editor::EKeyCode::X
@ X
ph::editor::EKeyCode::Down
@ Down
ph::editor::EKeyCode::K5
@ K5
ph::editor::EKeyCode::RightSuper
@ RightSuper
ph::editor::EKeyCode::C
@ C
ph::editor::EKeyCode::D0
@ D0
ph::editor::EKeyCode::Pause
@ Pause
ph::editor::EKeyCode::KEnter
@ KEnter
ph::editor::EKeyCode::Period
@ Period
ph::editor::EKeyCode::F6
@ F6
ph::editor::EKeyCode::K9
@ K9
ph::editor::EKeyCode::Z
@ Z
ph::editor::EKeyCode::K4
@ K4
ph::editor::EKeyCode::D4
@ D4
ph::editor::EKeyCode::Up
@ Up
ph::editor::EKeyCode::K3
@ K3
ph::editor::EKeyCode::RightShift
@ RightShift
ph::editor::EKeyCode::Slash
@ Slash
ph::editor::EKeyCode::F5
@ F5
ph::editor::EKeyCode::E
@ E
ph::editor::EKeyCode::P
@ P
ph::editor::EKeyCode::Minus
@ Minus
ph::editor::EKeyCode::GraveAccent
@ GraveAccent
ph::editor::EKeyCode::RightBracket
@ RightBracket
ph::editor::EKeyCode::F7
@ F7
ph::editor::EKeyCode::F8
@ F8
ph::editor::EKeyCode::LeftBracket
@ LeftBracket
ph::editor::EKeyCode::KDivide
@ KDivide
ph::editor::EKeyCode::D1
@ D1
ph::editor::EKeyCode::F3
@ F3
ph::editor::EKeyCode::LeftSuper
@ LeftSuper
ph::editor::EKeyCode::U
@ U
ph::editor::EKeyCode::V
@ V
ph::editor::EKeyCode::Y
@ Y
ph::editor::EKeyCode::KSubtract
@ KSubtract
ph::editor::EKeyCode::Comma
@ Comma
ph::editor::EKeyCode::Tab
@ Tab
ph::editor::EKeyCode::KMultiply
@ KMultiply
ph::editor::EKeyCode::S
@ S
ph::editor::EKeyCode::W
@ W
ph::editor::EKeyCode::LeftControl
@ LeftControl
ph::editor::EKeyCode::F11
@ F11
ph::editor::EKeyCode::M
@ M
ph::editor::EKeyCode::K8
@ K8
ph::editor::EKeyCode::ScrollLock
@ ScrollLock
ph::editor::EKeyCode::A
@ A
ph::editor::EKeyCode::F
@ F
ph::editor::EKeyCode::RightControl
@ RightControl
ph::editor::EKeyCode::End
@ End
ph::editor::EKeyCode::Unknown
@ Unknown
ph::editor::EKeyCode::F9
@ F9
ph::editor::EKeyCode::Home
@ Home
ph::editor::EKeyCode::CapsLock
@ CapsLock
ph::editor::EKeyCode::N
@ N
ph::editor::EKeyCode::Right
@ Right
ph::editor::EKeyCode::Left
@ Left
ph::editor::EKeyCode::D7
@ D7
ph::editor::EKeyCode::LeftAlt
@ LeftAlt
ph::editor::EKeyCode::Semicolon
@ Semicolon
ph::editor::EKeyCode::LeftShift
@ LeftShift
ph::editor::EKeyCode::KAdd
@ KAdd
ph::editor::EKeyCode::PageUp
@ PageUp
ph::editor::EKeyCode::B
@ B
ph::editor::EKeyCode::K1
@ K1
ph::editor::EKeyCode::D3
@ D3
ph::editor::EKeyCode::Insert
@ Insert
ph::editor::EKeyCode::K
@ K
ph::editor::EKeyCode::D9
@ D9
ph::editor::EKeyCode::D8
@ D8
ph::editor::EKeyCode::F10
@ F10
ph::editor::EKeyCode::Num
@ Num
ph::editor::EKeyCode::Menu
@ Menu
ph::editor::EKeyCode::Apostrophe
@ Apostrophe
ph::editor::EKeyCode::T
@ T
ph::editor::EKeyCode::K7
@ K7
ph::editor::EKeyCode::PrintScreen
@ PrintScreen
ph::editor::EKeyCode::K0
@ K0
ph::editor::EKeyCode::H
@ H
ph::editor::EKeyCode::D2
@ D2
ph::editor::EKeyCode::Backspace
@ Backspace
ph::editor::EKeyCode::NumLock
@ NumLock
ph::editor::EKeyCode::L
@ L
ph::editor::EKeyCode::Space
@ Space
ph::editor::EKeyCode::RightAlt
@ RightAlt
ph::editor::EKeyCode::KEqual
@ KEqual
ph::editor::EKeyCode::K6
@ K6
ph::editor::EKeyCode::I
@ I
ph::editor::EKeyCode::G
@ G
ph::editor::EKeyCode::D6
@ D6
ph::editor::EKeyCode::F1
@ F1
ph::editor::EKeyCode::R
@ R
ph::editor::EKeyCode::F4
@ F4
ph::editor::EKeyCode::F12
@ F12
ph::editor::EKeyCode::D5
@ D5
ph::editor::EKeyCode::K2
@ K2
ph::editor::EKeyCode::PageDown
@ PageDown
ph::editor::EKeyCode::Q
@ Q
ph::editor::EKeyCode::Enter
@ Enter
ph::editor::EKeyCode::O
@ O
ph::editor::EKeyCode::Delete
@ Delete
ph::editor::EKeyCode::Equal
@ Equal
ph::editor::EKeyCode::D
@ D
ph::editor::EKeyCode::Backslash
@ Backslash
ph::editor::EKeyCode::KDecimal
@ KDecimal
ph::editor::EKeyCode::F2
@ F2
ph::editor::EKeyCode::J
@ J
Source
EditorCore
EKeyCode.h
Generated by
1.11.0