-
Notifications
You must be signed in to change notification settings - Fork 2
/
TASTE.java
59 lines (56 loc) · 3.1 KB
/
TASTE.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* Aufzaehlungs-Klasse fuer die Tastatur-Codes der Methode <i>tasteReagieren(int code)</i>.
*
* Vermisst der Benutzer Tasten, so sind diese hier leicht nachzuruesten :-)
* Einfach nach 'java.awt.event.KeyEvent' googlen, den Tastencode suchen und hier eine Zeile ergaenzen!
* Einfacher: Objekt von SPIEL erzeugen und Tste druecken ==> Nummer wird angezeigt :-)
*
* @author mike_gans@yahoo.de and michael andonie
*
* @version 4.0 (2019-08-07)
*/
public class TASTE
{
public static final int A = java.awt.event.KeyEvent.VK_A;
public static final int B = java.awt.event.KeyEvent.VK_B;
public static final int C = java.awt.event.KeyEvent.VK_C;
public static final int D = java.awt.event.KeyEvent.VK_D;
public static final int E = java.awt.event.KeyEvent.VK_E;
public static final int F = java.awt.event.KeyEvent.VK_F;
public static final int G = java.awt.event.KeyEvent.VK_G;
public static final int H = java.awt.event.KeyEvent.VK_H;
public static final int I = java.awt.event.KeyEvent.VK_I;
public static final int J = java.awt.event.KeyEvent.VK_J;
public static final int K = java.awt.event.KeyEvent.VK_K;
public static final int L = java.awt.event.KeyEvent.VK_L;
public static final int M = java.awt.event.KeyEvent.VK_M;
public static final int N = java.awt.event.KeyEvent.VK_N;
public static final int O = java.awt.event.KeyEvent.VK_O;
public static final int P = java.awt.event.KeyEvent.VK_P;
public static final int Q = java.awt.event.KeyEvent.VK_Q;
public static final int R = java.awt.event.KeyEvent.VK_R;
public static final int S = java.awt.event.KeyEvent.VK_S;
public static final int T = java.awt.event.KeyEvent.VK_T;
public static final int U = java.awt.event.KeyEvent.VK_U;
public static final int V = java.awt.event.KeyEvent.VK_V;
public static final int W = java.awt.event.KeyEvent.VK_W;
public static final int X = java.awt.event.KeyEvent.VK_X;
public static final int Y = java.awt.event.KeyEvent.VK_Y;
public static final int Z = java.awt.event.KeyEvent.VK_Z;
public static final int _1 = java.awt.event.KeyEvent.VK_1;
public static final int _2 = java.awt.event.KeyEvent.VK_2;
public static final int _3 = java.awt.event.KeyEvent.VK_3;
public static final int _4 = java.awt.event.KeyEvent.VK_4;
public static final int _5 = java.awt.event.KeyEvent.VK_5;
public static final int _6 = java.awt.event.KeyEvent.VK_6;
public static final int _7 = java.awt.event.KeyEvent.VK_7;
public static final int _8 = java.awt.event.KeyEvent.VK_8;
public static final int _9 = java.awt.event.KeyEvent.VK_9;
public static final int _0 = java.awt.event.KeyEvent.VK_0;
public static final int RAUF = java.awt.event.KeyEvent.VK_UP;
public static final int RUNTER = java.awt.event.KeyEvent.VK_DOWN;
public static final int LINKS = java.awt.event.KeyEvent.VK_LEFT;
public static final int RECHTS = java.awt.event.KeyEvent.VK_RIGHT;
public static final int LEER = java.awt.event.KeyEvent.VK_SPACE;
public static final int ENTER = java.awt.event.KeyEvent.VK_ENTER;
}