Jypeli
10
The simple game programming library
Key.cs
Siirry tämän tiedoston dokumentaatioon.
1
#region MIT License
2
/*
3
* Copyright (c) 2009 University of Jyväskylä, Department of Mathematical
4
* Information Technology.
5
*
6
* Permission is hereby granted, free of charge, to any person obtaining a copy
7
* of this software and associated documentation files (the "Software"), to deal
8
* in the Software without restriction, including without limitation the rights
9
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
* copies of the Software, and to permit persons to whom the Software is
11
* furnished to do so, subject to the following conditions:
12
*
13
* The above copyright notice and this permission notice shall be included in
14
* all copies or substantial portions of the Software.
15
*
16
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
* THE SOFTWARE.
23
*/
24
#endregion
25
26
/*
27
* Authors: Tero Jäntti, Tomi Karppinen, Janne Nikkanen.
28
*/
29
30
using
Microsoft.Xna.Framework.Input;
31
32
namespace
Jypeli
33
{
34
#pragma warning disable CS1591
// Missing XML comment for publicly visible type or member
38
public enum Key
39
{
40
None
= Keys.None,
41
Back
= Keys.Back,
42
Tab
= Keys.Tab,
43
Enter
= Keys.Enter,
44
Pause
= Keys.Pause,
45
CapsLock
= Keys.CapsLock,
46
Escape
= Keys.Escape,
47
Space
= Keys.Space,
48
PageUp
= Keys.PageUp,
49
PageDown
= Keys.PageDown,
50
End
= Keys.End,
51
Home
= Keys.Home,
52
Left
= Keys.Left,
53
Up
= Keys.Up,
54
Right
= Keys.Right,
55
Down
= Keys.Down,
56
PrintScreen
= Keys.PrintScreen,
57
Insert
= Keys.Insert,
58
Delete
= Keys.Delete,
59
D0
= Keys.D0,
60
D1
= Keys.D1,
61
D2
= Keys.D2,
62
D3
= Keys.D3,
63
D4
= Keys.D4,
64
D5
= Keys.D5,
65
D6
= Keys.D6,
66
D7
= Keys.D7,
67
D8
= Keys.D8,
68
D9
= Keys.D9,
69
A
= Keys.A,
70
B
= Keys.B,
71
C
= Keys.C,
72
D
= Keys.D,
73
E
= Keys.E,
74
F
= Keys.F,
75
G
= Keys.G,
76
H
= Keys.H,
77
I
= Keys.I,
78
J
= Keys.J,
79
K
= Keys.K,
80
L
= Keys.L,
81
M
= Keys.M,
82
N
= Keys.N,
83
O
= Keys.O,
84
P
= Keys.P,
85
Q
= Keys.Q,
86
R
= Keys.R,
87
S
= Keys.S,
88
T
= Keys.T,
89
U
= Keys.U,
90
V
= Keys.V,
91
W
= Keys.W,
92
X
= Keys.X,
93
Y
= Keys.Y,
94
Z
= Keys.Z,
95
NumPad0
= Keys.NumPad0,
96
NumPad1
= Keys.NumPad1,
97
NumPad2
= Keys.NumPad2,
98
NumPad3
= Keys.NumPad3,
99
NumPad4
= Keys.NumPad4,
100
NumPad5
= Keys.NumPad5,
101
NumPad6
= Keys.NumPad6,
102
NumPad7
= Keys.NumPad7,
103
NumPad8
= Keys.NumPad8,
104
NumPad9
= Keys.NumPad9,
105
Multiply
= Keys.Multiply,
106
Add
= Keys.Add,
107
Separator
= Keys.Separator,
108
Subtract
= Keys.Subtract,
109
Decimal
= Keys.Decimal,
110
Divide
= Keys.Divide,
111
F1
= Keys.F1,
112
F2
= Keys.F2,
113
F3
= Keys.F3,
114
F4
= Keys.F4,
115
F5
= Keys.F5,
116
F6
= Keys.F6,
117
F7
= Keys.F7,
118
F8
= Keys.F8,
119
F9
= Keys.F9,
120
F10
= Keys.F10,
121
F11
= Keys.F11,
122
F12
= Keys.F12,
123
F13
= Keys.F13,
124
F14
= Keys.F14,
125
F15
= Keys.F15,
126
F16
= Keys.F16,
127
F17
= Keys.F17,
128
F18
= Keys.F18,
129
F19
= Keys.F19,
130
F20
= Keys.F20,
131
F21
= Keys.F21,
132
F22
= Keys.F22,
133
F23
= Keys.F23,
134
F24
= Keys.F24,
135
NumLock
= Keys.NumLock,
136
Scroll
= Keys.Scroll,
137
LeftShift
= Keys.LeftShift,
138
RightShift
= Keys.RightShift,
139
LeftControl
= Keys.LeftControl,
140
RightControl
= Keys.RightControl,
141
LeftAlt
= Keys.LeftAlt,
142
RightAlt
= Keys.RightAlt,
143
OemTilde
= Keys.OemTilde,
144
OemQuotes
= Keys.OemQuotes,
145
Aring
= Keys.OemCloseBrackets,
146
Ouml
= Keys.OemTilde,
147
Auml
= Keys.OemQuotes,
148
OemPlus
= Keys.OemPlus,
149
LessOrGreater
= Keys.OemBackslash,
150
Period
= Keys.OemPeriod,
151
Comma
= Keys.OemComma,
152
}
153
}
Jypeli
Definition:
Automobile.cs:5
Jypeli.Button.X
@ X
Jypeli.Button.Back
@ Back
Back.
Jypeli.Button.Y
@ Y
Jypeli.Button.A
@ A
Jypeli.Button.B
@ B
Jypeli.Key.Escape
@ Escape
Jypeli.Key.NumPad5
@ NumPad5
Jypeli.Key.Separator
@ Separator
Jypeli.Key.Divide
@ Divide
Jypeli.Key.C
@ C
Jypeli.Key.D0
@ D0
Jypeli.Key.Scroll
@ Scroll
Jypeli.Key.Pause
@ Pause
Jypeli.Key.Period
@ Period
Jypeli.Key.Subtract
@ Subtract
Jypeli.Key.F6
@ F6
Jypeli.Key.Z
@ Z
Jypeli.Key.F14
@ F14
Jypeli.Key.D4
@ D4
Jypeli.Key.NumPad7
@ NumPad7
Jypeli.Key.NumPad1
@ NumPad1
Jypeli.Key.RightShift
@ RightShift
Jypeli.Key.F5
@ F5
Jypeli.Key.E
@ E
Jypeli.Key.OemPlus
@ OemPlus
Jypeli.Key.Aring
@ Aring
Jypeli.Key.P
@ P
Jypeli.Key.F7
@ F7
Jypeli.Key.F8
@ F8
Jypeli.Key.D1
@ D1
Jypeli.Key.F3
@ F3
Jypeli.Key.U
@ U
Jypeli.Key.V
@ V
Jypeli.Key.F16
@ F16
Jypeli.Key.Comma
@ Comma
Jypeli.Key.Tab
@ Tab
Jypeli.Key.S
@ S
Jypeli.Key.Auml
@ Auml
Jypeli.Key.W
@ W
Jypeli.Key.NumPad2
@ NumPad2
Jypeli.Key.LeftControl
@ LeftControl
Jypeli.Key.F11
@ F11
Jypeli.Key.NumPad4
@ NumPad4
Jypeli.Key.M
@ M
Jypeli.Key.None
@ None
Jypeli.Key.NumPad0
@ NumPad0
Jypeli.Key.NumPad6
@ NumPad6
Jypeli.Key.F21
@ F21
Jypeli.Key.LessOrGreater
@ LessOrGreater
Jypeli.Key.OemTilde
@ OemTilde
Jypeli.Key.F22
@ F22
Jypeli.Key.F
@ F
Jypeli.Key.F18
@ F18
Jypeli.Key.RightControl
@ RightControl
Jypeli.Key.End
@ End
Jypeli.Key.F23
@ F23
Jypeli.Key.F9
@ F9
Jypeli.Key.Home
@ Home
Jypeli.Key.CapsLock
@ CapsLock
Jypeli.Key.N
@ N
Jypeli.Key.Decimal
@ Decimal
Jypeli.Key.D7
@ D7
Jypeli.Key.F13
@ F13
Jypeli.Key.LeftAlt
@ LeftAlt
Jypeli.Key.LeftShift
@ LeftShift
Jypeli.Key.PageUp
@ PageUp
Jypeli.Key.OemQuotes
@ OemQuotes
Jypeli.Key.D3
@ D3
Jypeli.Key.Insert
@ Insert
Jypeli.Key.K
@ K
Jypeli.Key.D9
@ D9
Jypeli.Key.D8
@ D8
Jypeli.Key.F10
@ F10
Jypeli.Key.T
@ T
Jypeli.Key.NumPad9
@ NumPad9
Jypeli.Key.PrintScreen
@ PrintScreen
Jypeli.Key.H
@ H
Jypeli.Key.Ouml
@ Ouml
Jypeli.Key.D2
@ D2
Jypeli.Key.F19
@ F19
Jypeli.Key.NumLock
@ NumLock
Jypeli.Key.L
@ L
Jypeli.Key.Space
@ Space
Jypeli.Key.RightAlt
@ RightAlt
Jypeli.Key.I
@ I
Jypeli.Key.G
@ G
Jypeli.Key.D6
@ D6
Jypeli.Key.F1
@ F1
Jypeli.Key.R
@ R
Jypeli.Key.Multiply
@ Multiply
Jypeli.Key.NumPad8
@ NumPad8
Jypeli.Key.F15
@ F15
Jypeli.Key.F4
@ F4
Jypeli.Key.F12
@ F12
Jypeli.Key.D5
@ D5
Jypeli.Key.F24
@ F24
Jypeli.Key.Add
@ Add
Jypeli.Key.NumPad3
@ NumPad3
Jypeli.Key.PageDown
@ PageDown
Jypeli.Key.Q
@ Q
Jypeli.Key.O
@ O
Jypeli.Key.Delete
@ Delete
Jypeli.Key.D
@ D
Jypeli.Key.F20
@ F20
Jypeli.Key.F2
@ F2
Jypeli.Key.J
@ J
Jypeli.Key.F17
@ F17
Jypeli.AccelerometerDirection.Down
@ Down
Kallistetaan alas.
Jypeli.AccelerometerDirection.Up
@ Up
Kallistetaan ylös.
Jypeli.AccelerometerDirection.Right
@ Right
Kallistetaan oikealle.
Jypeli.AccelerometerDirection.Left
@ Left
Kallistetaan vasemalle.
Jypeli.HoverState.Enter
@ Enter
Siirtymässä olion päälle.
Jypeli
Controls
Keyboard
Key.cs
Generoinut projektille Jypeli Tue Sep 14 2021 15:57:41
1.9.2