Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
kbd.h
00001 /* 00002 kbd.h 00003 Keyboard codes descriptions (defines). 00004 Part of MicroVGA CONIO library / demo project 00005 Copyright (c) 2008-9 SECONS s.r.o., http://www.MicroVGA.com 00006 00007 This program is free software: you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation, either version 3 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. 00019 */ 00020 00021 #define KB_ESC 0x1B 00022 #define KB_ENTER 0x0A 00023 #define KB_TAB 0x09 00024 #define KB_BACK 0x08 00025 #define KB_SPACE 0x20 00026 00027 #define KB_F1 (0X100|59) 00028 #define KB_F2 (0X100|60) 00029 #define KB_F3 (0X100|61) 00030 #define KB_F4 (0X100|62) 00031 #define KB_F5 (0X100|63) 00032 #define KB_F6 (0X100|64) 00033 #define KB_F7 (0X100|65) 00034 #define KB_F8 (0X100|66) 00035 #define KB_F9 (0X100|67) 00036 #define KB_F10 (0X100|68) 00037 #define KB_F11 (0X100|133) 00038 #define KB_F12 (0X100|134) 00039 00040 #define KB_SHIFT_F1 (0X100|84) 00041 #define KB_SHIFT_F2 (0X100|85) 00042 #define KB_SHIFT_F3 (0X100|86) 00043 #define KB_SHIFT_F4 (0X100|87) 00044 #define KB_SHIFT_F5 (0X100|88) 00045 #define KB_SHIFT_F6 (0X100|89) 00046 #define KB_SHIFT_F7 (0X100|90) 00047 #define KB_SHIFT_F8 (0X100|91) 00048 #define KB_SHIFT_F9 (0X100|92) 00049 #define KB_SHIFT_F10 (0X100|93) 00050 #define KB_SHIFT_F11 (0X100|135) 00051 #define KB_SHIFT_F12 (0X100|136) 00052 00053 #define KB_CTRL_F1 (0X100|94) 00054 #define KB_CTRL_F2 (0X100|95) 00055 #define KB_CTRL_F3 (0X100|96) 00056 #define KB_CTRL_F4 (0X100|97) 00057 #define KB_CTRL_F5 (0X100|98) 00058 #define KB_CTRL_F6 (0X100|99) 00059 #define KB_CTRL_F7 (0X100|100) 00060 #define KB_CTRL_F8 (0X100|101) 00061 #define KB_CTRL_F9 (0X100|102) 00062 #define KB_CTRL_F10 (0X100|103) 00063 #define KB_CTRL_F11 (0X100|137) 00064 #define KB_CTRL_F12 (0X100|138) 00065 00066 #define KB_ALT_F1 (0X100|104) 00067 #define KB_ALT_F2 (0X100|105) 00068 #define KB_ALT_F3 (0X100|106) 00069 #define KB_ALT_F4 (0X100|107) 00070 #define KB_ALT_F5 (0X100|108) 00071 #define KB_ALT_F6 (0X100|109) 00072 #define KB_ALT_F7 (0X100|110) 00073 #define KB_ALT_F8 (0X100|111) 00074 #define KB_ALT_F9 (0X100|112) 00075 #define KB_ALT_F10 (0X100|113) 00076 #define KB_ALT_F11 (0X100|139) 00077 #define KB_ALT_F12 (0X100|140) 00078 00079 #define KB_UP (0X100|72) 00080 #define KB_LEFT (0X100|75) 00081 #define KB_RIGHT (0X100|77) 00082 #define KB_DOWN (0X100|80) 00083 #define KB_HOME (0X100|71) 00084 #define KB_END (0X100|79) 00085 #define KB_PGUP (0X100|73) 00086 #define KB_PGDN (0X100|81) 00087 #define KB_INSERT (0X100|82) 00088 #define KB_DELETE (0X100|83) 00089 00090 #define KB_CTRL_UP (0X100|132) 00091 #define KB_CTRL_LEFT (0X100|115) 00092 #define KB_CTRL_RIGHT (0X100|116) 00093 #define KB_CTRL_DOWN (0X100|145) 00094 #define KB_CTRL_HOME (0X100|119) 00095 #define KB_CTRL_END (0X100|117) 00096 #define KB_CTRL_PGUP (0X100|132) 00097 #define KB_CTRL_PGDN (0X100|118) 00098 #define KB_CTRL_INSERT (0X100|146) 00099 #define KB_CTRL_DELETE (0X100|147) 00100 00101 #define KB_ALT_UP (0X100|152) 00102 #define KB_ALT_LEFT (0X100|155) 00103 #define KB_ALT_RIGHT (0X100|157) 00104 #define KB_ALT_DOWN (0X100|154) 00105 #define KB_ALT_HOME (0X100|151) 00106 #define KB_ALT_END (0X100|159) 00107 #define KB_ALT_PGUP (0X100|153) 00108 #define KB_ALT_PGDN (0X100|161) 00109 #define KB_ALT_INSERT (0X100|162) 00110 #define KB_ALT_DELETE (0X100|163)
Generated on Thu Jul 14 2022 01:28:10 by
1.7.2