wren
Vulkan-based game engine
Loading...
Searching...
No Matches
keycode.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
wren
{
4
5
enum class
MouseCode
{
Left
,
Right
,
Middle
};
6
7
enum class
KeyCode
{
8
kUnknown
,
9
kEnter
,
10
kEscape
,
11
kBackspace
,
12
kTab
,
13
kSpace
,
14
kExclaim
,
15
kDoubleQuote
,
16
kHash
,
17
kPercent
,
18
kDollar
,
19
kAmpersand
,
20
kQuote
,
21
kLeftParen
,
22
kRightParen
,
23
kAsterix
,
24
kPlus
,
25
kComma
,
26
kMinus
,
27
kPeriod
,
28
kSlash
,
29
k0
,
30
k1
,
31
k2
,
32
k3
,
33
k4
,
34
k5
,
35
k6
,
36
k7
,
37
k8
,
38
k9
,
39
kColon
,
40
kSemicolon
,
41
kLess
,
42
kEquals
,
43
kGreater
,
44
kQuestion
,
45
kAt
,
46
kLeftBracket
,
47
kRightBracket
,
48
kBackslash
,
49
kCaret
,
50
kUnderscore
,
51
kBackquote
,
52
kA
,
53
kB
,
54
kC
,
55
kD
,
56
kE
,
57
kF
,
58
kG
,
59
kH
,
60
kI
,
61
kJ
,
62
kK
,
63
kL
,
64
kM
,
65
kN
,
66
kO
,
67
kP
,
68
kQ
,
69
kR
,
70
kS
,
71
kT
,
72
kU
,
73
kV
,
74
kW
,
75
kX
,
76
kY
,
77
kZ
,
78
kCapslock
,
79
kF1
,
80
kF2
,
81
kF3
,
82
kF4
,
83
kF5
,
84
kF6
,
85
kF7
,
86
kF8
,
87
kF9
,
88
kF10
,
89
kF11
,
90
kF12
,
91
kF13
,
92
kF14
,
93
kF15
,
94
kF16
,
95
kF17
,
96
kF18
,
97
kF19
,
98
kF20
,
99
kF21
,
100
kF22
,
101
kF23
,
102
kF24
,
103
kPrintScreen
,
104
kScrollLock
,
105
kPause
,
106
kInsert
,
107
kHome
,
108
kPageUp
,
109
kDelete
,
110
kEnd
,
111
kPageDown
,
112
kRight
,
113
kLeft
,
114
kUp
,
115
kDown
,
116
};
117
118
}
// namespace wren
wren
Definition
editor_scene.hpp:5
wren::MouseCode
MouseCode
Definition
keycode.hpp:5
wren::MouseCode::Right
@ Right
wren::MouseCode::Left
@ Left
wren::MouseCode::Middle
@ Middle
wren::KeyCode
KeyCode
Definition
keycode.hpp:7
wren::KeyCode::kH
@ kH
wren::KeyCode::k7
@ k7
wren::KeyCode::kF10
@ kF10
wren::KeyCode::k8
@ k8
wren::KeyCode::kRightBracket
@ kRightBracket
wren::KeyCode::kG
@ kG
wren::KeyCode::kBackquote
@ kBackquote
wren::KeyCode::kLeftBracket
@ kLeftBracket
wren::KeyCode::kX
@ kX
wren::KeyCode::kQuestion
@ kQuestion
wren::KeyCode::kI
@ kI
wren::KeyCode::kEscape
@ kEscape
wren::KeyCode::kPageUp
@ kPageUp
wren::KeyCode::kTab
@ kTab
wren::KeyCode::kQ
@ kQ
wren::KeyCode::kF16
@ kF16
wren::KeyCode::kJ
@ kJ
wren::KeyCode::kBackslash
@ kBackslash
wren::KeyCode::kF11
@ kF11
wren::KeyCode::kF9
@ kF9
wren::KeyCode::kUnknown
@ kUnknown
wren::KeyCode::kW
@ kW
wren::KeyCode::k0
@ k0
wren::KeyCode::kPlus
@ kPlus
wren::KeyCode::kLeft
@ kLeft
wren::KeyCode::kRight
@ kRight
wren::KeyCode::kF
@ kF
wren::KeyCode::kLeftParen
@ kLeftParen
wren::KeyCode::kA
@ kA
wren::KeyCode::kT
@ kT
wren::KeyCode::kP
@ kP
wren::KeyCode::kComma
@ kComma
wren::KeyCode::kHome
@ kHome
wren::KeyCode::kF3
@ kF3
wren::KeyCode::kAt
@ kAt
wren::KeyCode::kSemicolon
@ kSemicolon
wren::KeyCode::kEnd
@ kEnd
wren::KeyCode::kPrintScreen
@ kPrintScreen
wren::KeyCode::kY
@ kY
wren::KeyCode::kM
@ kM
wren::KeyCode::kDown
@ kDown
wren::KeyCode::kB
@ kB
wren::KeyCode::kPercent
@ kPercent
wren::KeyCode::kO
@ kO
wren::KeyCode::kEquals
@ kEquals
wren::KeyCode::kEnter
@ kEnter
wren::KeyCode::k6
@ k6
wren::KeyCode::kExclaim
@ kExclaim
wren::KeyCode::k9
@ k9
wren::KeyCode::kF2
@ kF2
wren::KeyCode::kPause
@ kPause
wren::KeyCode::kF14
@ kF14
wren::KeyCode::kL
@ kL
wren::KeyCode::k2
@ k2
wren::KeyCode::kV
@ kV
wren::KeyCode::kF13
@ kF13
wren::KeyCode::kD
@ kD
wren::KeyCode::kF7
@ kF7
wren::KeyCode::kLess
@ kLess
wren::KeyCode::kQuote
@ kQuote
wren::KeyCode::kAsterix
@ kAsterix
wren::KeyCode::kF23
@ kF23
wren::KeyCode::kCaret
@ kCaret
wren::KeyCode::kF5
@ kF5
wren::KeyCode::kF15
@ kF15
wren::KeyCode::kGreater
@ kGreater
wren::KeyCode::kSlash
@ kSlash
wren::KeyCode::kInsert
@ kInsert
wren::KeyCode::kColon
@ kColon
wren::KeyCode::kK
@ kK
wren::KeyCode::kUp
@ kUp
wren::KeyCode::kPeriod
@ kPeriod
wren::KeyCode::kAmpersand
@ kAmpersand
wren::KeyCode::kBackspace
@ kBackspace
wren::KeyCode::kDoubleQuote
@ kDoubleQuote
wren::KeyCode::kScrollLock
@ kScrollLock
wren::KeyCode::kSpace
@ kSpace
wren::KeyCode::k5
@ k5
wren::KeyCode::kDelete
@ kDelete
wren::KeyCode::kE
@ kE
wren::KeyCode::kCapslock
@ kCapslock
wren::KeyCode::kN
@ kN
wren::KeyCode::kF18
@ kF18
wren::KeyCode::k1
@ k1
wren::KeyCode::kF22
@ kF22
wren::KeyCode::kRightParen
@ kRightParen
wren::KeyCode::kF8
@ kF8
wren::KeyCode::kF4
@ kF4
wren::KeyCode::kF12
@ kF12
wren::KeyCode::kS
@ kS
wren::KeyCode::kF19
@ kF19
wren::KeyCode::kDollar
@ kDollar
wren::KeyCode::k4
@ k4
wren::KeyCode::kZ
@ kZ
wren::KeyCode::kMinus
@ kMinus
wren::KeyCode::kPageDown
@ kPageDown
wren::KeyCode::kF1
@ kF1
wren::KeyCode::kF20
@ kF20
wren::KeyCode::kR
@ kR
wren::KeyCode::kF21
@ kF21
wren::KeyCode::kF6
@ kF6
wren::KeyCode::kU
@ kU
wren::KeyCode::kHash
@ kHash
wren::KeyCode::kF17
@ kF17
wren::KeyCode::kF24
@ kF24
wren::KeyCode::kUnderscore
@ kUnderscore
wren::KeyCode::kC
@ kC
wren::KeyCode::k3
@ k3
wren
include
wren
keycode.hpp
Generated by
1.10.0