1 /* 2 * FreeLoader 3 * Copyright (C) 1998-2003 Brian Palmer <brianp@sginet.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License along 16 * with this program; if not, write to the Free Software Foundation, Inc., 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18 */ 19 20 #pragma once 21 22 // Key codes 23 #define KEY_EXTENDED 0x00 24 #define KEY_ENTER 0x0D 25 #define KEY_BACKSPACE 0x08 26 #define KEY_DELETE 0x53 27 #define KEY_SPACE 0x20 28 #define KEY_LEFTSHIFT 0x2A 29 #define KEY_HOME 0x47 30 #define KEY_UP 0x48 31 #define KEY_DOWN 0x50 32 #define KEY_LEFT 0x4B 33 #define KEY_RIGHT 0x4D 34 #define KEY_ESC 0x1B 35 #define KEY_CAPS_LOCK 0x3A 36 #define KEY_F1 0x3B 37 #define KEY_F2 0x3C 38 #define KEY_F3 0x3D 39 #define KEY_F4 0x3E 40 #define KEY_F5 0x3F 41 #define KEY_F6 0x40 42 #define KEY_F7 0x41 43 #define KEY_F8 0x42 44 #define KEY_F9 0x43 45 #define KEY_F10 0x44 46 #define KEY_F11 0x57 47 #define KEY_F12 0x58 48 #define KEY_KEYPAD_PLUS 0x4E 49 #define KEY_END 0x4F 50 #define KEY_SEND 0xE7 51