which included commits to RCS files with non-trunk default branches. git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@14 e016b1c5-ed68-44aa-a2f7-31cac88cffde
77 lines
2.1 KiB
C
Executable File
77 lines
2.1 KiB
C
Executable File
/*
|
|
* Scancode #defines for the MESGUI library
|
|
* Copyright (C) 2002 Eric Maxey <[email protected]>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef SCANCODES_H
|
|
#define SCANCODES_H
|
|
|
|
#define SC_ESCAPE 1
|
|
#define SC_BACKSPACE 14
|
|
#define SC_TAB 15
|
|
#define SC_RETURN 28
|
|
#define SC_LCTRL 29
|
|
#define SC_RCTRL (29+128)
|
|
#define SC_LSHIFT 42
|
|
#define SC_RSHIFT 54
|
|
#define SC_PRINTSCR (55+128)
|
|
#define SC_LALT 56
|
|
#define SC_RALT (56+128)
|
|
#define SC_SPACE 57
|
|
#define SC_CAPS 58
|
|
#define SC_F1 59
|
|
#define SC_F2 60
|
|
#define SC_F3 61
|
|
#define SC_F4 62
|
|
#define SC_F5 63
|
|
#define SC_F6 64
|
|
#define SC_F7 65
|
|
#define SC_F8 66
|
|
#define SC_F9 67
|
|
#define SC_F10 68
|
|
#define SC_F11 (87+128)
|
|
#define SC_F12 (88+128)
|
|
#define SC_NUM 69
|
|
#define SC_SCROLL 70
|
|
#define SC_HOME (71+128)
|
|
#define SC_UP (72+128)
|
|
#define SC_PGUP (73+128)
|
|
#define SC_LEFT (75+128)
|
|
#define SC_RIGHT (77+128)
|
|
#define SC_END (79+128)
|
|
#define SC_DOWN (80+128)
|
|
#define SC_PGDN (81+128)
|
|
#define SC_INSERT (82+128)
|
|
#define SC_DELETE (83+128)
|
|
#define SC_NUM_RETURN (28+128)
|
|
#define SC_NUM_DIV (53+128)
|
|
#define SC_NUM_MUL 55
|
|
#define SC_NUM_7 71
|
|
#define SC_NUM_8 72
|
|
#define SC_NUM_9 73
|
|
#define SC_NUM_MINUS 74
|
|
#define SC_NUM_4 75
|
|
#define SC_NUM_5 76
|
|
#define SC_NUM_6 77
|
|
#define SC_NUM_PLUS 78
|
|
#define SC_NUM_1 79
|
|
#define SC_NUM_2 80
|
|
#define SC_NUM_3 81
|
|
#define SC_NUM_0 82
|
|
#define SC_NUM_DELETE 83
|
|
|
|
#endif |