]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/keycode.tex
Some work on GTK focus handling and events.
[wxWidgets.git] / docs / latex / wx / keycode.tex
CommitLineData
3972fb49
JS
1\section{Keycodes}\label{keycodes}
2
3Keypresses are represented by an enumerated type, wxKeyCode. The possible values
4are the ASCII character codes, plus the following:
5
6{\small
7\begin{verbatim}
8 WXK_BACK = 8
9 WXK_TAB = 9
10 WXK_RETURN = 13
11 WXK_ESCAPE = 27
12 WXK_SPACE = 32
13 WXK_DELETE = 127
14
15 WXK_START = 300
16 WXK_LBUTTON
17 WXK_RBUTTON
18 WXK_CANCEL
19 WXK_MBUTTON
20 WXK_CLEAR
21 WXK_SHIFT
22 WXK_CONTROL
23 WXK_MENU
24 WXK_PAUSE
25 WXK_CAPITAL
26 WXK_PRIOR
27 WXK_NEXT
28 WXK_END
29 WXK_HOME
30 WXK_LEFT
31 WXK_UP
32 WXK_RIGHT
33 WXK_DOWN
34 WXK_SELECT
35 WXK_PRINT
36 WXK_EXECUTE
37 WXK_SNAPSHOT
38 WXK_INSERT
39 WXK_HELP
40 WXK_NUMPAD0
41 WXK_NUMPAD1
42 WXK_NUMPAD2
43 WXK_NUMPAD3
44 WXK_NUMPAD4
45 WXK_NUMPAD5
46 WXK_NUMPAD6
47 WXK_NUMPAD7
48 WXK_NUMPAD8
49 WXK_NUMPAD9
50 WXK_MULTIPLY
51 WXK_ADD
52 WXK_SEPARATOR
53 WXK_SUBTRACT
54 WXK_DECIMAL
55 WXK_DIVIDE
56 WXK_F1
57 WXK_F2
58 WXK_F3
59 WXK_F4
60 WXK_F5
61 WXK_F6
62 WXK_F7
63 WXK_F8
64 WXK_F9
65 WXK_F10
66 WXK_F11
67 WXK_F12
68 WXK_F13
69 WXK_F14
70 WXK_F15
71 WXK_F16
72 WXK_F17
73 WXK_F18
74 WXK_F19
75 WXK_F20
76 WXK_F21
77 WXK_F22
78 WXK_F23
79 WXK_F24
80 WXK_NUMLOCK
81 WXK_SCROLL
82\end{verbatim}
83}
84