162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci#ifndef _UAPI__LINUX_KEYBOARD_H 362306a36Sopenharmony_ci#define _UAPI__LINUX_KEYBOARD_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#include <linux/wait.h> 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#define KG_SHIFT 0 862306a36Sopenharmony_ci#define KG_CTRL 2 962306a36Sopenharmony_ci#define KG_ALT 3 1062306a36Sopenharmony_ci#define KG_ALTGR 1 1162306a36Sopenharmony_ci#define KG_SHIFTL 4 1262306a36Sopenharmony_ci#define KG_KANASHIFT 4 1362306a36Sopenharmony_ci#define KG_SHIFTR 5 1462306a36Sopenharmony_ci#define KG_CTRLL 6 1562306a36Sopenharmony_ci#define KG_CTRLR 7 1662306a36Sopenharmony_ci#define KG_CAPSSHIFT 8 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci#define NR_SHIFT 9 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci#define NR_KEYS 256 2162306a36Sopenharmony_ci#define MAX_NR_KEYMAPS 256 2262306a36Sopenharmony_ci/* This means 128Kb if all keymaps are allocated. Only the superuser 2362306a36Sopenharmony_ci may increase the number of keymaps beyond MAX_NR_OF_USER_KEYMAPS. */ 2462306a36Sopenharmony_ci#define MAX_NR_OF_USER_KEYMAPS 256 /* should be at least 7 */ 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci#define MAX_NR_FUNC 256 /* max nr of strings assigned to keys */ 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci#define KT_LATIN 0 /* we depend on this being zero */ 3062306a36Sopenharmony_ci#define KT_FN 1 3162306a36Sopenharmony_ci#define KT_SPEC 2 3262306a36Sopenharmony_ci#define KT_PAD 3 3362306a36Sopenharmony_ci#define KT_DEAD 4 3462306a36Sopenharmony_ci#define KT_CONS 5 3562306a36Sopenharmony_ci#define KT_CUR 6 3662306a36Sopenharmony_ci#define KT_SHIFT 7 3762306a36Sopenharmony_ci#define KT_META 8 3862306a36Sopenharmony_ci#define KT_ASCII 9 3962306a36Sopenharmony_ci#define KT_LOCK 10 4062306a36Sopenharmony_ci#define KT_LETTER 11 /* symbol that can be acted upon by CapsLock */ 4162306a36Sopenharmony_ci#define KT_SLOCK 12 4262306a36Sopenharmony_ci#define KT_DEAD2 13 4362306a36Sopenharmony_ci#define KT_BRL 14 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci#define K(t,v) (((t)<<8)|(v)) 4662306a36Sopenharmony_ci#define KTYP(x) ((x) >> 8) 4762306a36Sopenharmony_ci#define KVAL(x) ((x) & 0xff) 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ci#define K_F1 K(KT_FN,0) 5062306a36Sopenharmony_ci#define K_F2 K(KT_FN,1) 5162306a36Sopenharmony_ci#define K_F3 K(KT_FN,2) 5262306a36Sopenharmony_ci#define K_F4 K(KT_FN,3) 5362306a36Sopenharmony_ci#define K_F5 K(KT_FN,4) 5462306a36Sopenharmony_ci#define K_F6 K(KT_FN,5) 5562306a36Sopenharmony_ci#define K_F7 K(KT_FN,6) 5662306a36Sopenharmony_ci#define K_F8 K(KT_FN,7) 5762306a36Sopenharmony_ci#define K_F9 K(KT_FN,8) 5862306a36Sopenharmony_ci#define K_F10 K(KT_FN,9) 5962306a36Sopenharmony_ci#define K_F11 K(KT_FN,10) 6062306a36Sopenharmony_ci#define K_F12 K(KT_FN,11) 6162306a36Sopenharmony_ci#define K_F13 K(KT_FN,12) 6262306a36Sopenharmony_ci#define K_F14 K(KT_FN,13) 6362306a36Sopenharmony_ci#define K_F15 K(KT_FN,14) 6462306a36Sopenharmony_ci#define K_F16 K(KT_FN,15) 6562306a36Sopenharmony_ci#define K_F17 K(KT_FN,16) 6662306a36Sopenharmony_ci#define K_F18 K(KT_FN,17) 6762306a36Sopenharmony_ci#define K_F19 K(KT_FN,18) 6862306a36Sopenharmony_ci#define K_F20 K(KT_FN,19) 6962306a36Sopenharmony_ci#define K_FIND K(KT_FN,20) 7062306a36Sopenharmony_ci#define K_INSERT K(KT_FN,21) 7162306a36Sopenharmony_ci#define K_REMOVE K(KT_FN,22) 7262306a36Sopenharmony_ci#define K_SELECT K(KT_FN,23) 7362306a36Sopenharmony_ci#define K_PGUP K(KT_FN,24) /* PGUP is a synonym for PRIOR */ 7462306a36Sopenharmony_ci#define K_PGDN K(KT_FN,25) /* PGDN is a synonym for NEXT */ 7562306a36Sopenharmony_ci#define K_MACRO K(KT_FN,26) 7662306a36Sopenharmony_ci#define K_HELP K(KT_FN,27) 7762306a36Sopenharmony_ci#define K_DO K(KT_FN,28) 7862306a36Sopenharmony_ci#define K_PAUSE K(KT_FN,29) 7962306a36Sopenharmony_ci#define K_F21 K(KT_FN,30) 8062306a36Sopenharmony_ci#define K_F22 K(KT_FN,31) 8162306a36Sopenharmony_ci#define K_F23 K(KT_FN,32) 8262306a36Sopenharmony_ci#define K_F24 K(KT_FN,33) 8362306a36Sopenharmony_ci#define K_F25 K(KT_FN,34) 8462306a36Sopenharmony_ci#define K_F26 K(KT_FN,35) 8562306a36Sopenharmony_ci#define K_F27 K(KT_FN,36) 8662306a36Sopenharmony_ci#define K_F28 K(KT_FN,37) 8762306a36Sopenharmony_ci#define K_F29 K(KT_FN,38) 8862306a36Sopenharmony_ci#define K_F30 K(KT_FN,39) 8962306a36Sopenharmony_ci#define K_F31 K(KT_FN,40) 9062306a36Sopenharmony_ci#define K_F32 K(KT_FN,41) 9162306a36Sopenharmony_ci#define K_F33 K(KT_FN,42) 9262306a36Sopenharmony_ci#define K_F34 K(KT_FN,43) 9362306a36Sopenharmony_ci#define K_F35 K(KT_FN,44) 9462306a36Sopenharmony_ci#define K_F36 K(KT_FN,45) 9562306a36Sopenharmony_ci#define K_F37 K(KT_FN,46) 9662306a36Sopenharmony_ci#define K_F38 K(KT_FN,47) 9762306a36Sopenharmony_ci#define K_F39 K(KT_FN,48) 9862306a36Sopenharmony_ci#define K_F40 K(KT_FN,49) 9962306a36Sopenharmony_ci#define K_F41 K(KT_FN,50) 10062306a36Sopenharmony_ci#define K_F42 K(KT_FN,51) 10162306a36Sopenharmony_ci#define K_F43 K(KT_FN,52) 10262306a36Sopenharmony_ci#define K_F44 K(KT_FN,53) 10362306a36Sopenharmony_ci#define K_F45 K(KT_FN,54) 10462306a36Sopenharmony_ci#define K_F46 K(KT_FN,55) 10562306a36Sopenharmony_ci#define K_F47 K(KT_FN,56) 10662306a36Sopenharmony_ci#define K_F48 K(KT_FN,57) 10762306a36Sopenharmony_ci#define K_F49 K(KT_FN,58) 10862306a36Sopenharmony_ci#define K_F50 K(KT_FN,59) 10962306a36Sopenharmony_ci#define K_F51 K(KT_FN,60) 11062306a36Sopenharmony_ci#define K_F52 K(KT_FN,61) 11162306a36Sopenharmony_ci#define K_F53 K(KT_FN,62) 11262306a36Sopenharmony_ci#define K_F54 K(KT_FN,63) 11362306a36Sopenharmony_ci#define K_F55 K(KT_FN,64) 11462306a36Sopenharmony_ci#define K_F56 K(KT_FN,65) 11562306a36Sopenharmony_ci#define K_F57 K(KT_FN,66) 11662306a36Sopenharmony_ci#define K_F58 K(KT_FN,67) 11762306a36Sopenharmony_ci#define K_F59 K(KT_FN,68) 11862306a36Sopenharmony_ci#define K_F60 K(KT_FN,69) 11962306a36Sopenharmony_ci#define K_F61 K(KT_FN,70) 12062306a36Sopenharmony_ci#define K_F62 K(KT_FN,71) 12162306a36Sopenharmony_ci#define K_F63 K(KT_FN,72) 12262306a36Sopenharmony_ci#define K_F64 K(KT_FN,73) 12362306a36Sopenharmony_ci#define K_F65 K(KT_FN,74) 12462306a36Sopenharmony_ci#define K_F66 K(KT_FN,75) 12562306a36Sopenharmony_ci#define K_F67 K(KT_FN,76) 12662306a36Sopenharmony_ci#define K_F68 K(KT_FN,77) 12762306a36Sopenharmony_ci#define K_F69 K(KT_FN,78) 12862306a36Sopenharmony_ci#define K_F70 K(KT_FN,79) 12962306a36Sopenharmony_ci#define K_F71 K(KT_FN,80) 13062306a36Sopenharmony_ci#define K_F72 K(KT_FN,81) 13162306a36Sopenharmony_ci#define K_F73 K(KT_FN,82) 13262306a36Sopenharmony_ci#define K_F74 K(KT_FN,83) 13362306a36Sopenharmony_ci#define K_F75 K(KT_FN,84) 13462306a36Sopenharmony_ci#define K_F76 K(KT_FN,85) 13562306a36Sopenharmony_ci#define K_F77 K(KT_FN,86) 13662306a36Sopenharmony_ci#define K_F78 K(KT_FN,87) 13762306a36Sopenharmony_ci#define K_F79 K(KT_FN,88) 13862306a36Sopenharmony_ci#define K_F80 K(KT_FN,89) 13962306a36Sopenharmony_ci#define K_F81 K(KT_FN,90) 14062306a36Sopenharmony_ci#define K_F82 K(KT_FN,91) 14162306a36Sopenharmony_ci#define K_F83 K(KT_FN,92) 14262306a36Sopenharmony_ci#define K_F84 K(KT_FN,93) 14362306a36Sopenharmony_ci#define K_F85 K(KT_FN,94) 14462306a36Sopenharmony_ci#define K_F86 K(KT_FN,95) 14562306a36Sopenharmony_ci#define K_F87 K(KT_FN,96) 14662306a36Sopenharmony_ci#define K_F88 K(KT_FN,97) 14762306a36Sopenharmony_ci#define K_F89 K(KT_FN,98) 14862306a36Sopenharmony_ci#define K_F90 K(KT_FN,99) 14962306a36Sopenharmony_ci#define K_F91 K(KT_FN,100) 15062306a36Sopenharmony_ci#define K_F92 K(KT_FN,101) 15162306a36Sopenharmony_ci#define K_F93 K(KT_FN,102) 15262306a36Sopenharmony_ci#define K_F94 K(KT_FN,103) 15362306a36Sopenharmony_ci#define K_F95 K(KT_FN,104) 15462306a36Sopenharmony_ci#define K_F96 K(KT_FN,105) 15562306a36Sopenharmony_ci#define K_F97 K(KT_FN,106) 15662306a36Sopenharmony_ci#define K_F98 K(KT_FN,107) 15762306a36Sopenharmony_ci#define K_F99 K(KT_FN,108) 15862306a36Sopenharmony_ci#define K_F100 K(KT_FN,109) 15962306a36Sopenharmony_ci#define K_F101 K(KT_FN,110) 16062306a36Sopenharmony_ci#define K_F102 K(KT_FN,111) 16162306a36Sopenharmony_ci#define K_F103 K(KT_FN,112) 16262306a36Sopenharmony_ci#define K_F104 K(KT_FN,113) 16362306a36Sopenharmony_ci#define K_F105 K(KT_FN,114) 16462306a36Sopenharmony_ci#define K_F106 K(KT_FN,115) 16562306a36Sopenharmony_ci#define K_F107 K(KT_FN,116) 16662306a36Sopenharmony_ci#define K_F108 K(KT_FN,117) 16762306a36Sopenharmony_ci#define K_F109 K(KT_FN,118) 16862306a36Sopenharmony_ci#define K_F110 K(KT_FN,119) 16962306a36Sopenharmony_ci#define K_F111 K(KT_FN,120) 17062306a36Sopenharmony_ci#define K_F112 K(KT_FN,121) 17162306a36Sopenharmony_ci#define K_F113 K(KT_FN,122) 17262306a36Sopenharmony_ci#define K_F114 K(KT_FN,123) 17362306a36Sopenharmony_ci#define K_F115 K(KT_FN,124) 17462306a36Sopenharmony_ci#define K_F116 K(KT_FN,125) 17562306a36Sopenharmony_ci#define K_F117 K(KT_FN,126) 17662306a36Sopenharmony_ci#define K_F118 K(KT_FN,127) 17762306a36Sopenharmony_ci#define K_F119 K(KT_FN,128) 17862306a36Sopenharmony_ci#define K_F120 K(KT_FN,129) 17962306a36Sopenharmony_ci#define K_F121 K(KT_FN,130) 18062306a36Sopenharmony_ci#define K_F122 K(KT_FN,131) 18162306a36Sopenharmony_ci#define K_F123 K(KT_FN,132) 18262306a36Sopenharmony_ci#define K_F124 K(KT_FN,133) 18362306a36Sopenharmony_ci#define K_F125 K(KT_FN,134) 18462306a36Sopenharmony_ci#define K_F126 K(KT_FN,135) 18562306a36Sopenharmony_ci#define K_F127 K(KT_FN,136) 18662306a36Sopenharmony_ci#define K_F128 K(KT_FN,137) 18762306a36Sopenharmony_ci#define K_F129 K(KT_FN,138) 18862306a36Sopenharmony_ci#define K_F130 K(KT_FN,139) 18962306a36Sopenharmony_ci#define K_F131 K(KT_FN,140) 19062306a36Sopenharmony_ci#define K_F132 K(KT_FN,141) 19162306a36Sopenharmony_ci#define K_F133 K(KT_FN,142) 19262306a36Sopenharmony_ci#define K_F134 K(KT_FN,143) 19362306a36Sopenharmony_ci#define K_F135 K(KT_FN,144) 19462306a36Sopenharmony_ci#define K_F136 K(KT_FN,145) 19562306a36Sopenharmony_ci#define K_F137 K(KT_FN,146) 19662306a36Sopenharmony_ci#define K_F138 K(KT_FN,147) 19762306a36Sopenharmony_ci#define K_F139 K(KT_FN,148) 19862306a36Sopenharmony_ci#define K_F140 K(KT_FN,149) 19962306a36Sopenharmony_ci#define K_F141 K(KT_FN,150) 20062306a36Sopenharmony_ci#define K_F142 K(KT_FN,151) 20162306a36Sopenharmony_ci#define K_F143 K(KT_FN,152) 20262306a36Sopenharmony_ci#define K_F144 K(KT_FN,153) 20362306a36Sopenharmony_ci#define K_F145 K(KT_FN,154) 20462306a36Sopenharmony_ci#define K_F146 K(KT_FN,155) 20562306a36Sopenharmony_ci#define K_F147 K(KT_FN,156) 20662306a36Sopenharmony_ci#define K_F148 K(KT_FN,157) 20762306a36Sopenharmony_ci#define K_F149 K(KT_FN,158) 20862306a36Sopenharmony_ci#define K_F150 K(KT_FN,159) 20962306a36Sopenharmony_ci#define K_F151 K(KT_FN,160) 21062306a36Sopenharmony_ci#define K_F152 K(KT_FN,161) 21162306a36Sopenharmony_ci#define K_F153 K(KT_FN,162) 21262306a36Sopenharmony_ci#define K_F154 K(KT_FN,163) 21362306a36Sopenharmony_ci#define K_F155 K(KT_FN,164) 21462306a36Sopenharmony_ci#define K_F156 K(KT_FN,165) 21562306a36Sopenharmony_ci#define K_F157 K(KT_FN,166) 21662306a36Sopenharmony_ci#define K_F158 K(KT_FN,167) 21762306a36Sopenharmony_ci#define K_F159 K(KT_FN,168) 21862306a36Sopenharmony_ci#define K_F160 K(KT_FN,169) 21962306a36Sopenharmony_ci#define K_F161 K(KT_FN,170) 22062306a36Sopenharmony_ci#define K_F162 K(KT_FN,171) 22162306a36Sopenharmony_ci#define K_F163 K(KT_FN,172) 22262306a36Sopenharmony_ci#define K_F164 K(KT_FN,173) 22362306a36Sopenharmony_ci#define K_F165 K(KT_FN,174) 22462306a36Sopenharmony_ci#define K_F166 K(KT_FN,175) 22562306a36Sopenharmony_ci#define K_F167 K(KT_FN,176) 22662306a36Sopenharmony_ci#define K_F168 K(KT_FN,177) 22762306a36Sopenharmony_ci#define K_F169 K(KT_FN,178) 22862306a36Sopenharmony_ci#define K_F170 K(KT_FN,179) 22962306a36Sopenharmony_ci#define K_F171 K(KT_FN,180) 23062306a36Sopenharmony_ci#define K_F172 K(KT_FN,181) 23162306a36Sopenharmony_ci#define K_F173 K(KT_FN,182) 23262306a36Sopenharmony_ci#define K_F174 K(KT_FN,183) 23362306a36Sopenharmony_ci#define K_F175 K(KT_FN,184) 23462306a36Sopenharmony_ci#define K_F176 K(KT_FN,185) 23562306a36Sopenharmony_ci#define K_F177 K(KT_FN,186) 23662306a36Sopenharmony_ci#define K_F178 K(KT_FN,187) 23762306a36Sopenharmony_ci#define K_F179 K(KT_FN,188) 23862306a36Sopenharmony_ci#define K_F180 K(KT_FN,189) 23962306a36Sopenharmony_ci#define K_F181 K(KT_FN,190) 24062306a36Sopenharmony_ci#define K_F182 K(KT_FN,191) 24162306a36Sopenharmony_ci#define K_F183 K(KT_FN,192) 24262306a36Sopenharmony_ci#define K_F184 K(KT_FN,193) 24362306a36Sopenharmony_ci#define K_F185 K(KT_FN,194) 24462306a36Sopenharmony_ci#define K_F186 K(KT_FN,195) 24562306a36Sopenharmony_ci#define K_F187 K(KT_FN,196) 24662306a36Sopenharmony_ci#define K_F188 K(KT_FN,197) 24762306a36Sopenharmony_ci#define K_F189 K(KT_FN,198) 24862306a36Sopenharmony_ci#define K_F190 K(KT_FN,199) 24962306a36Sopenharmony_ci#define K_F191 K(KT_FN,200) 25062306a36Sopenharmony_ci#define K_F192 K(KT_FN,201) 25162306a36Sopenharmony_ci#define K_F193 K(KT_FN,202) 25262306a36Sopenharmony_ci#define K_F194 K(KT_FN,203) 25362306a36Sopenharmony_ci#define K_F195 K(KT_FN,204) 25462306a36Sopenharmony_ci#define K_F196 K(KT_FN,205) 25562306a36Sopenharmony_ci#define K_F197 K(KT_FN,206) 25662306a36Sopenharmony_ci#define K_F198 K(KT_FN,207) 25762306a36Sopenharmony_ci#define K_F199 K(KT_FN,208) 25862306a36Sopenharmony_ci#define K_F200 K(KT_FN,209) 25962306a36Sopenharmony_ci#define K_F201 K(KT_FN,210) 26062306a36Sopenharmony_ci#define K_F202 K(KT_FN,211) 26162306a36Sopenharmony_ci#define K_F203 K(KT_FN,212) 26262306a36Sopenharmony_ci#define K_F204 K(KT_FN,213) 26362306a36Sopenharmony_ci#define K_F205 K(KT_FN,214) 26462306a36Sopenharmony_ci#define K_F206 K(KT_FN,215) 26562306a36Sopenharmony_ci#define K_F207 K(KT_FN,216) 26662306a36Sopenharmony_ci#define K_F208 K(KT_FN,217) 26762306a36Sopenharmony_ci#define K_F209 K(KT_FN,218) 26862306a36Sopenharmony_ci#define K_F210 K(KT_FN,219) 26962306a36Sopenharmony_ci#define K_F211 K(KT_FN,220) 27062306a36Sopenharmony_ci#define K_F212 K(KT_FN,221) 27162306a36Sopenharmony_ci#define K_F213 K(KT_FN,222) 27262306a36Sopenharmony_ci#define K_F214 K(KT_FN,223) 27362306a36Sopenharmony_ci#define K_F215 K(KT_FN,224) 27462306a36Sopenharmony_ci#define K_F216 K(KT_FN,225) 27562306a36Sopenharmony_ci#define K_F217 K(KT_FN,226) 27662306a36Sopenharmony_ci#define K_F218 K(KT_FN,227) 27762306a36Sopenharmony_ci#define K_F219 K(KT_FN,228) 27862306a36Sopenharmony_ci#define K_F220 K(KT_FN,229) 27962306a36Sopenharmony_ci#define K_F221 K(KT_FN,230) 28062306a36Sopenharmony_ci#define K_F222 K(KT_FN,231) 28162306a36Sopenharmony_ci#define K_F223 K(KT_FN,232) 28262306a36Sopenharmony_ci#define K_F224 K(KT_FN,233) 28362306a36Sopenharmony_ci#define K_F225 K(KT_FN,234) 28462306a36Sopenharmony_ci#define K_F226 K(KT_FN,235) 28562306a36Sopenharmony_ci#define K_F227 K(KT_FN,236) 28662306a36Sopenharmony_ci#define K_F228 K(KT_FN,237) 28762306a36Sopenharmony_ci#define K_F229 K(KT_FN,238) 28862306a36Sopenharmony_ci#define K_F230 K(KT_FN,239) 28962306a36Sopenharmony_ci#define K_F231 K(KT_FN,240) 29062306a36Sopenharmony_ci#define K_F232 K(KT_FN,241) 29162306a36Sopenharmony_ci#define K_F233 K(KT_FN,242) 29262306a36Sopenharmony_ci#define K_F234 K(KT_FN,243) 29362306a36Sopenharmony_ci#define K_F235 K(KT_FN,244) 29462306a36Sopenharmony_ci#define K_F236 K(KT_FN,245) 29562306a36Sopenharmony_ci#define K_F237 K(KT_FN,246) 29662306a36Sopenharmony_ci#define K_F238 K(KT_FN,247) 29762306a36Sopenharmony_ci#define K_F239 K(KT_FN,248) 29862306a36Sopenharmony_ci#define K_F240 K(KT_FN,249) 29962306a36Sopenharmony_ci#define K_F241 K(KT_FN,250) 30062306a36Sopenharmony_ci#define K_F242 K(KT_FN,251) 30162306a36Sopenharmony_ci#define K_F243 K(KT_FN,252) 30262306a36Sopenharmony_ci#define K_F244 K(KT_FN,253) 30362306a36Sopenharmony_ci#define K_F245 K(KT_FN,254) 30462306a36Sopenharmony_ci#define K_UNDO K(KT_FN,255) 30562306a36Sopenharmony_ci 30662306a36Sopenharmony_ci 30762306a36Sopenharmony_ci#define K_HOLE K(KT_SPEC,0) 30862306a36Sopenharmony_ci#define K_ENTER K(KT_SPEC,1) 30962306a36Sopenharmony_ci#define K_SH_REGS K(KT_SPEC,2) 31062306a36Sopenharmony_ci#define K_SH_MEM K(KT_SPEC,3) 31162306a36Sopenharmony_ci#define K_SH_STAT K(KT_SPEC,4) 31262306a36Sopenharmony_ci#define K_BREAK K(KT_SPEC,5) 31362306a36Sopenharmony_ci#define K_CONS K(KT_SPEC,6) 31462306a36Sopenharmony_ci#define K_CAPS K(KT_SPEC,7) 31562306a36Sopenharmony_ci#define K_NUM K(KT_SPEC,8) 31662306a36Sopenharmony_ci#define K_HOLD K(KT_SPEC,9) 31762306a36Sopenharmony_ci#define K_SCROLLFORW K(KT_SPEC,10) 31862306a36Sopenharmony_ci#define K_SCROLLBACK K(KT_SPEC,11) 31962306a36Sopenharmony_ci#define K_BOOT K(KT_SPEC,12) 32062306a36Sopenharmony_ci#define K_CAPSON K(KT_SPEC,13) 32162306a36Sopenharmony_ci#define K_COMPOSE K(KT_SPEC,14) 32262306a36Sopenharmony_ci#define K_SAK K(KT_SPEC,15) 32362306a36Sopenharmony_ci#define K_DECRCONSOLE K(KT_SPEC,16) 32462306a36Sopenharmony_ci#define K_INCRCONSOLE K(KT_SPEC,17) 32562306a36Sopenharmony_ci#define K_SPAWNCONSOLE K(KT_SPEC,18) 32662306a36Sopenharmony_ci#define K_BARENUMLOCK K(KT_SPEC,19) 32762306a36Sopenharmony_ci 32862306a36Sopenharmony_ci#define K_ALLOCATED K(KT_SPEC,126) /* dynamically allocated keymap */ 32962306a36Sopenharmony_ci#define K_NOSUCHMAP K(KT_SPEC,127) /* returned by KDGKBENT */ 33062306a36Sopenharmony_ci 33162306a36Sopenharmony_ci#define K_P0 K(KT_PAD,0) 33262306a36Sopenharmony_ci#define K_P1 K(KT_PAD,1) 33362306a36Sopenharmony_ci#define K_P2 K(KT_PAD,2) 33462306a36Sopenharmony_ci#define K_P3 K(KT_PAD,3) 33562306a36Sopenharmony_ci#define K_P4 K(KT_PAD,4) 33662306a36Sopenharmony_ci#define K_P5 K(KT_PAD,5) 33762306a36Sopenharmony_ci#define K_P6 K(KT_PAD,6) 33862306a36Sopenharmony_ci#define K_P7 K(KT_PAD,7) 33962306a36Sopenharmony_ci#define K_P8 K(KT_PAD,8) 34062306a36Sopenharmony_ci#define K_P9 K(KT_PAD,9) 34162306a36Sopenharmony_ci#define K_PPLUS K(KT_PAD,10) /* key-pad plus */ 34262306a36Sopenharmony_ci#define K_PMINUS K(KT_PAD,11) /* key-pad minus */ 34362306a36Sopenharmony_ci#define K_PSTAR K(KT_PAD,12) /* key-pad asterisk (star) */ 34462306a36Sopenharmony_ci#define K_PSLASH K(KT_PAD,13) /* key-pad slash */ 34562306a36Sopenharmony_ci#define K_PENTER K(KT_PAD,14) /* key-pad enter */ 34662306a36Sopenharmony_ci#define K_PCOMMA K(KT_PAD,15) /* key-pad comma: kludge... */ 34762306a36Sopenharmony_ci#define K_PDOT K(KT_PAD,16) /* key-pad dot (period): kludge... */ 34862306a36Sopenharmony_ci#define K_PPLUSMINUS K(KT_PAD,17) /* key-pad plus/minus */ 34962306a36Sopenharmony_ci#define K_PPARENL K(KT_PAD,18) /* key-pad left parenthesis */ 35062306a36Sopenharmony_ci#define K_PPARENR K(KT_PAD,19) /* key-pad right parenthesis */ 35162306a36Sopenharmony_ci 35262306a36Sopenharmony_ci#define NR_PAD 20 35362306a36Sopenharmony_ci 35462306a36Sopenharmony_ci#define K_DGRAVE K(KT_DEAD,0) 35562306a36Sopenharmony_ci#define K_DACUTE K(KT_DEAD,1) 35662306a36Sopenharmony_ci#define K_DCIRCM K(KT_DEAD,2) 35762306a36Sopenharmony_ci#define K_DTILDE K(KT_DEAD,3) 35862306a36Sopenharmony_ci#define K_DDIERE K(KT_DEAD,4) 35962306a36Sopenharmony_ci#define K_DCEDIL K(KT_DEAD,5) 36062306a36Sopenharmony_ci#define K_DMACRON K(KT_DEAD,6) 36162306a36Sopenharmony_ci#define K_DBREVE K(KT_DEAD,7) 36262306a36Sopenharmony_ci#define K_DABDOT K(KT_DEAD,8) 36362306a36Sopenharmony_ci#define K_DABRING K(KT_DEAD,9) 36462306a36Sopenharmony_ci#define K_DDBACUTE K(KT_DEAD,10) 36562306a36Sopenharmony_ci#define K_DCARON K(KT_DEAD,11) 36662306a36Sopenharmony_ci#define K_DOGONEK K(KT_DEAD,12) 36762306a36Sopenharmony_ci#define K_DIOTA K(KT_DEAD,13) 36862306a36Sopenharmony_ci#define K_DVOICED K(KT_DEAD,14) 36962306a36Sopenharmony_ci#define K_DSEMVOICED K(KT_DEAD,15) 37062306a36Sopenharmony_ci#define K_DBEDOT K(KT_DEAD,16) 37162306a36Sopenharmony_ci#define K_DHOOK K(KT_DEAD,17) 37262306a36Sopenharmony_ci#define K_DHORN K(KT_DEAD,18) 37362306a36Sopenharmony_ci#define K_DSTROKE K(KT_DEAD,19) 37462306a36Sopenharmony_ci#define K_DABCOMMA K(KT_DEAD,20) 37562306a36Sopenharmony_ci#define K_DABREVCOMMA K(KT_DEAD,21) 37662306a36Sopenharmony_ci#define K_DDBGRAVE K(KT_DEAD,22) 37762306a36Sopenharmony_ci#define K_DINVBREVE K(KT_DEAD,23) 37862306a36Sopenharmony_ci#define K_DBECOMMA K(KT_DEAD,24) 37962306a36Sopenharmony_ci#define K_DCURRENCY K(KT_DEAD,25) 38062306a36Sopenharmony_ci#define K_DGREEK K(KT_DEAD,26) 38162306a36Sopenharmony_ci 38262306a36Sopenharmony_ci#define NR_DEAD 27 38362306a36Sopenharmony_ci 38462306a36Sopenharmony_ci#define K_DOWN K(KT_CUR,0) 38562306a36Sopenharmony_ci#define K_LEFT K(KT_CUR,1) 38662306a36Sopenharmony_ci#define K_RIGHT K(KT_CUR,2) 38762306a36Sopenharmony_ci#define K_UP K(KT_CUR,3) 38862306a36Sopenharmony_ci 38962306a36Sopenharmony_ci#define K_SHIFT K(KT_SHIFT,KG_SHIFT) 39062306a36Sopenharmony_ci#define K_CTRL K(KT_SHIFT,KG_CTRL) 39162306a36Sopenharmony_ci#define K_ALT K(KT_SHIFT,KG_ALT) 39262306a36Sopenharmony_ci#define K_ALTGR K(KT_SHIFT,KG_ALTGR) 39362306a36Sopenharmony_ci#define K_SHIFTL K(KT_SHIFT,KG_SHIFTL) 39462306a36Sopenharmony_ci#define K_SHIFTR K(KT_SHIFT,KG_SHIFTR) 39562306a36Sopenharmony_ci#define K_CTRLL K(KT_SHIFT,KG_CTRLL) 39662306a36Sopenharmony_ci#define K_CTRLR K(KT_SHIFT,KG_CTRLR) 39762306a36Sopenharmony_ci#define K_CAPSSHIFT K(KT_SHIFT,KG_CAPSSHIFT) 39862306a36Sopenharmony_ci 39962306a36Sopenharmony_ci#define K_ASC0 K(KT_ASCII,0) 40062306a36Sopenharmony_ci#define K_ASC1 K(KT_ASCII,1) 40162306a36Sopenharmony_ci#define K_ASC2 K(KT_ASCII,2) 40262306a36Sopenharmony_ci#define K_ASC3 K(KT_ASCII,3) 40362306a36Sopenharmony_ci#define K_ASC4 K(KT_ASCII,4) 40462306a36Sopenharmony_ci#define K_ASC5 K(KT_ASCII,5) 40562306a36Sopenharmony_ci#define K_ASC6 K(KT_ASCII,6) 40662306a36Sopenharmony_ci#define K_ASC7 K(KT_ASCII,7) 40762306a36Sopenharmony_ci#define K_ASC8 K(KT_ASCII,8) 40862306a36Sopenharmony_ci#define K_ASC9 K(KT_ASCII,9) 40962306a36Sopenharmony_ci#define K_HEX0 K(KT_ASCII,10) 41062306a36Sopenharmony_ci#define K_HEX1 K(KT_ASCII,11) 41162306a36Sopenharmony_ci#define K_HEX2 K(KT_ASCII,12) 41262306a36Sopenharmony_ci#define K_HEX3 K(KT_ASCII,13) 41362306a36Sopenharmony_ci#define K_HEX4 K(KT_ASCII,14) 41462306a36Sopenharmony_ci#define K_HEX5 K(KT_ASCII,15) 41562306a36Sopenharmony_ci#define K_HEX6 K(KT_ASCII,16) 41662306a36Sopenharmony_ci#define K_HEX7 K(KT_ASCII,17) 41762306a36Sopenharmony_ci#define K_HEX8 K(KT_ASCII,18) 41862306a36Sopenharmony_ci#define K_HEX9 K(KT_ASCII,19) 41962306a36Sopenharmony_ci#define K_HEXa K(KT_ASCII,20) 42062306a36Sopenharmony_ci#define K_HEXb K(KT_ASCII,21) 42162306a36Sopenharmony_ci#define K_HEXc K(KT_ASCII,22) 42262306a36Sopenharmony_ci#define K_HEXd K(KT_ASCII,23) 42362306a36Sopenharmony_ci#define K_HEXe K(KT_ASCII,24) 42462306a36Sopenharmony_ci#define K_HEXf K(KT_ASCII,25) 42562306a36Sopenharmony_ci 42662306a36Sopenharmony_ci#define NR_ASCII 26 42762306a36Sopenharmony_ci 42862306a36Sopenharmony_ci#define K_SHIFTLOCK K(KT_LOCK,KG_SHIFT) 42962306a36Sopenharmony_ci#define K_CTRLLOCK K(KT_LOCK,KG_CTRL) 43062306a36Sopenharmony_ci#define K_ALTLOCK K(KT_LOCK,KG_ALT) 43162306a36Sopenharmony_ci#define K_ALTGRLOCK K(KT_LOCK,KG_ALTGR) 43262306a36Sopenharmony_ci#define K_SHIFTLLOCK K(KT_LOCK,KG_SHIFTL) 43362306a36Sopenharmony_ci#define K_SHIFTRLOCK K(KT_LOCK,KG_SHIFTR) 43462306a36Sopenharmony_ci#define K_CTRLLLOCK K(KT_LOCK,KG_CTRLL) 43562306a36Sopenharmony_ci#define K_CTRLRLOCK K(KT_LOCK,KG_CTRLR) 43662306a36Sopenharmony_ci#define K_CAPSSHIFTLOCK K(KT_LOCK,KG_CAPSSHIFT) 43762306a36Sopenharmony_ci 43862306a36Sopenharmony_ci#define K_SHIFT_SLOCK K(KT_SLOCK,KG_SHIFT) 43962306a36Sopenharmony_ci#define K_CTRL_SLOCK K(KT_SLOCK,KG_CTRL) 44062306a36Sopenharmony_ci#define K_ALT_SLOCK K(KT_SLOCK,KG_ALT) 44162306a36Sopenharmony_ci#define K_ALTGR_SLOCK K(KT_SLOCK,KG_ALTGR) 44262306a36Sopenharmony_ci#define K_SHIFTL_SLOCK K(KT_SLOCK,KG_SHIFTL) 44362306a36Sopenharmony_ci#define K_SHIFTR_SLOCK K(KT_SLOCK,KG_SHIFTR) 44462306a36Sopenharmony_ci#define K_CTRLL_SLOCK K(KT_SLOCK,KG_CTRLL) 44562306a36Sopenharmony_ci#define K_CTRLR_SLOCK K(KT_SLOCK,KG_CTRLR) 44662306a36Sopenharmony_ci#define K_CAPSSHIFT_SLOCK K(KT_SLOCK,KG_CAPSSHIFT) 44762306a36Sopenharmony_ci 44862306a36Sopenharmony_ci#define NR_LOCK 9 44962306a36Sopenharmony_ci 45062306a36Sopenharmony_ci#define K_BRL_BLANK K(KT_BRL, 0) 45162306a36Sopenharmony_ci#define K_BRL_DOT1 K(KT_BRL, 1) 45262306a36Sopenharmony_ci#define K_BRL_DOT2 K(KT_BRL, 2) 45362306a36Sopenharmony_ci#define K_BRL_DOT3 K(KT_BRL, 3) 45462306a36Sopenharmony_ci#define K_BRL_DOT4 K(KT_BRL, 4) 45562306a36Sopenharmony_ci#define K_BRL_DOT5 K(KT_BRL, 5) 45662306a36Sopenharmony_ci#define K_BRL_DOT6 K(KT_BRL, 6) 45762306a36Sopenharmony_ci#define K_BRL_DOT7 K(KT_BRL, 7) 45862306a36Sopenharmony_ci#define K_BRL_DOT8 K(KT_BRL, 8) 45962306a36Sopenharmony_ci#define K_BRL_DOT9 K(KT_BRL, 9) 46062306a36Sopenharmony_ci#define K_BRL_DOT10 K(KT_BRL, 10) 46162306a36Sopenharmony_ci 46262306a36Sopenharmony_ci#define NR_BRL 11 46362306a36Sopenharmony_ci 46462306a36Sopenharmony_ci#define MAX_DIACR 256 46562306a36Sopenharmony_ci#endif /* _UAPI__LINUX_KEYBOARD_H */ 466