This wiki is out of date, use the continuation of this wiki instead

Scancodes

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:52, 25 June 2007 (edit)
87.177.23.239 (Talk)

← Previous diff
Revision as of 00:10, 26 June 2007 (edit) (undo)
Sandman (Talk | contribs)

Next diff →
Line 1: Line 1:
-=== Definition ===+== Definition ==
-----+Scancodes are used to identify keys. This is used in the function [[key]]() and the global variable [[scan_code]].
-Scancodes are used as parameters for the [[key]]() function.+
-=== List ===+== List ==
-----+{|
-<pre>+| ''Constant'' || - ''Value''
-_esc +|-
-_F1 +| _ESC || - 1
-_F2 +|-
-_F3 +| _1 || - 2
-_F4 +|-
-_F5 +| _2 || - 3
-_F6 +|-
-_F7 +| _3 || - 4
-_F8 +|-
-_F9 +| _4 || - 5
-_F10 +|-
-_F11 +| _5 || - 6
-_F12 +|-
-_prn_scr +| _6 || - 7
-_scroll_lock +|-
-_wave +| _7 || - 8
-_0 +|-
-_9+| _8 || - 9
-_minus +|-
-_plus +| _9 || - 10
-_backspace +|-
-_tab +| _0 || - 11
-_l_brachet +|-
-_r_brachet +| _MINUS || - 12
-_enter +|-
-_caps_lock +| _PLUS || - 13
-_semicolon +|-
-_apostrophe +| _BACKSPACE || - 14
-_backslash +|-
-_l_shift +| _TAB || - 15
-_comma +|-
-_point +| _Q || - 16
-_slash +|-
-_r_shift +| _W || - 17
-_control +|-
-_alt +| _E || - 18
-_space +|-
-_ins +| _R || - 19
-_home +|-
-_pgup +| _T || - 20
-_del +|-
-_end +| _Y || - 21
-_pgdn +|-
-_num_lock +| _U || - 22
-_c_backslash +|-
-_c_asterisk +| _I || - 23
-_c_minus +|-
-_c_home +| _O || - 24
-_c_up +|-
-_c_pgup +| _P || - 25
-_c_left +|-
-_c_center +| _L_BRACHET || - 26
-_c_right +|-
-_c_end +| _R_BRACHET || - 27
-_c_down +|-
-_c_pgdn +| _ENTER || - 28
-_c_ins +|-
-_c_del +| _C_ENTER || - 28
-_c_plus +|-
-_c_enter +| _CONTROL || - 29
-_A - _Z +|-
-_a - _z +| _A || - 30
-_left +|-
-_up +| _S || - 31
-_right +|-
-_down+| _D || - 32
-</pre>+|-
 +| _F || - 33
 +|-
 +| _G || - 34
 +|-
 +| _H || - 35
 +|-
 +| _J || - 36
 +|-
 +| _K || - 37
 +|-
 +| _L || - 38
 +|-
 +| _SEMICOLON || - 39
 +|-
 +| _APOSTROPHE || - 40
 +|-
 +| _WAVE || - 41
 +|-
 +| _L_SHIFT || - 42
 +|-
 +| _BACKSLASH || - 43
 +|-
 +| _Z || - 44
 +|-
 +| _X || - 45
 +|-
 +| _C || - 46
 +|-
 +| _V || - 47
 +|-
 +| _B || - 48
 +|-
 +| _N || - 49
 +|-
 +| _M || - 50
 +|-
 +| _COMMA || - 51
 +|-
 +| _POINT || - 52
 +|-
 +| _SLASH || - 53
 +|-
 +| _C_BACKSLASH || - 53
 +|-
 +| _R_SHIFT || - 54
 +|-
 +| _C_ASTERISK || - 55
 +|-
 +| _PRN_SCR || - 55
 +|-
 +| _ALT || - 56
 +|-
 +| _SPACE || - 57
 +|-
 +| _CAPS_LOCK || - 58
 +|-
 +| _F1 || - 59
 +|-
 +| _F2 || - 60
 +|-
 +| _F3 || - 61
 +|-
 +| _F4 || - 62
 +|-
 +| _F5 || - 63
 +|-
 +| _F6 || - 64
 +|-
 +| _F7 || - 65
 +|-
 +| _F8 || - 66
 +|-
 +| _F9 || - 67
 +|-
 +| _F10 || - 68
 +|-
 +| _NUM_LOCK || - 69
 +|-
 +| _SCROLL_LOCK || - 70
 +|-
 +| _HOME || - 71
 +|-
 +| _C_HOME || - 71
 +|-
 +| _UP || - 72
 +|-
 +| _C_UP || - 72
 +|-
 +| _PGUP || - 73
 +|-
 +| _C_PGUP || - 73
 +|-
 +| _C_MINUS || - 74
 +|-
 +| _LEFT || - 75
 +|-
 +| _C_LEFT || - 75
 +|-
 +| _C_CENTER || - 76
 +|-
 +| _RIGHT || - 77
 +|-
 +| _C_RIGHT || - 77
 +|-
 +| _C_PLUS || - 78
 +|-
 +| _END || - 79
 +|-
 +| _C_END || - 79
 +|-
 +| _DOWN || - 80
 +|-
 +| _C_DOWN || - 80
 +|-
 +| _PGDN || - 81
 +|-
 +| _C_PGDN || - 81
 +|-
 +| _INS || - 82
 +|-
 +| _C_INS || - 82
 +|-
 +| _DEL || - 83
 +|-
 +| _C_DEL || - 83
 +|-
 +| _F11 || - 87
 +|-
 +| _F12 || - 88
 +|-
 +| _LESS || - 89
 +|-
 +| _EQUALS || - 90
 +|-
 +| _GREATER || - 91
 +|-
 +| _ASTERISK || - 92
 +|-
 +| _R_ALT || - 93
 +|-
 +| _R_CONTROL || - 94
 +|-
 +| _L_ALT || - 95
 +|-
 +| _L_CONTROL || - 96
 +|-
 +| _MENU || - 97
 +|-
 +| _L_WINDOWS || - 98
 +|-
 +| _R_WINDOWS || - 98
 +|}

Revision as of 00:10, 26 June 2007

Definition

Scancodes are used to identify keys. This is used in the function key() and the global variable scan_code.

List

Constant - Value
_ESC - 1
_1 - 2
_2 - 3
_3 - 4
_4 - 5
_5 - 6
_6 - 7
_7 - 8
_8 - 9
_9 - 10
_0 - 11
_MINUS - 12
_PLUS - 13
_BACKSPACE - 14
_TAB - 15
_Q - 16
_W - 17
_E - 18
_R - 19
_T - 20
_Y - 21
_U - 22
_I - 23
_O - 24
_P - 25
_L_BRACHET - 26
_R_BRACHET - 27
_ENTER - 28
_C_ENTER - 28
_CONTROL - 29
_A - 30
_S - 31
_D - 32
_F - 33
_G - 34
_H - 35
_J - 36
_K - 37
_L - 38
_SEMICOLON - 39
_APOSTROPHE - 40
_WAVE - 41
_L_SHIFT - 42
_BACKSLASH - 43
_Z - 44
_X - 45
_C - 46
_V - 47
_B - 48
_N - 49
_M - 50
_COMMA - 51
_POINT - 52
_SLASH - 53
_C_BACKSLASH - 53
_R_SHIFT - 54
_C_ASTERISK - 55
_PRN_SCR - 55
_ALT - 56
_SPACE - 57
_CAPS_LOCK - 58
_F1 - 59
_F2 - 60
_F3 - 61
_F4 - 62
_F5 - 63
_F6 - 64
_F7 - 65
_F8 - 66
_F9 - 67
_F10 - 68
_NUM_LOCK - 69
_SCROLL_LOCK - 70
_HOME - 71
_C_HOME - 71
_UP - 72
_C_UP - 72
_PGUP - 73
_C_PGUP - 73
_C_MINUS - 74
_LEFT - 75
_C_LEFT - 75
_C_CENTER - 76
_RIGHT - 77
_C_RIGHT - 77
_C_PLUS - 78
_END - 79
_C_END - 79
_DOWN - 80
_C_DOWN - 80
_PGDN - 81
_C_PGDN - 81
_INS - 82
_C_INS - 82
_DEL - 83
_C_DEL - 83
_F11 - 87
_F12 - 88
_LESS - 89
_EQUALS - 90
_GREATER - 91
_ASTERISK - 92
_R_ALT - 93
_R_CONTROL - 94
_L_ALT - 95
_L_CONTROL - 96
_MENU - 97
_L_WINDOWS - 98
_R_WINDOWS - 98
Personal tools