// translation from evdev scancodes to something resembling xfree86 keycodes. default xkb_keycodes "evdev" { minimum = 8; maximum = 255; # Added for pc105 compatibility = 94; = 49; = 10; = 11; = 12; = 13; = 14; = 15; = 16; = 17; = 18; = 19; = 20; = 21; = 22; = 23; = 24; = 25; = 26; = 27; = 28; = 29; = 30; = 31; = 32; = 33; = 34; = 35; = 51; = 36; = 66; = 38; = 39; = 40; = 41; = 42; = 43; = 44; = 45; = 46; = 47; = 48; = 50; = 52; = 53; = 54; = 55; = 56; = 57; = 58; = 59; = 60; = 61; = 62; = 64; = 37; = 65; = 105; = 108; // Microsoft keyboard extra keys = 133; = 134; = 135; alias = ; = 9; = 67; = 68; = 69; = 70; = 71; = 72; = 73; = 74; = 75; = 76; = 95; = 96; = 107; // = 107; = 78; = 127; // = 419; = 118; = 110; = 112; = 119; = 115; = 117; = 111; = 113; = 116; = 114; = 77; = 106; = 63; = 82; = 79; = 80; = 81; = 86; = 83; = 84; = 85; = 87; = 88; = 89; = 104; = 90; = 91; = 125; = 191; = 192; = 193; = 194; = 195; = 196; = 197; = 198; = 199; = 200; = 201; = 202; // Keys that are generated on Japanese keyboards = 93; // Hankaku/Zenkakau toggle = 101; // Hiragana/Katakana toggle = 211; // backslash/underscore = 100; // Henkan = 102; // Muhenkan = 132; // Yen = 98; // Katakana = 99; // Hiragana = 103; // KPJPComma = 97; // Romaji // Keys that are generated on Korean keyboards = 130; // Hangul Latin toggle = 131; // Hangul to Hanja conversion // Solaris compatibility alias = ; alias = ; = 121; = 122; = 123; = 124; = 136; = 137; = 138; = 139; = 140; = 141; = 142; = 143; = 144; = 145; = 146; // Extended keys that may be generated on "Internet" keyboards. // evdev has standardize names for these. = 109; // #define KEY_LINEFEED 101 = 120; // #define KEY_MACRO 112 = 126; // #define KEY_KPPLUSMINUS 118 = 129; // #define KEY_KPCOMMA 121 = 147; // #define KEY_MENU 139 = 148; // #define KEY_CALC 140 = 149; // #define KEY_SETUP 141 = 150; // #define KEY_SLEEP 142 = 151; // #define KEY_WAKEUP 143 = 152; // #define KEY_FILE 144 = 153; // #define KEY_SENDFILE 145 = 154; // #define KEY_DELETEFILE 146 = 155; // #define KEY_XFER 147 = 156; // #define KEY_PROG1 148 = 157; // #define KEY_PROG2 149 = 158; // #define KEY_WWW 150 = 159; // #define KEY_MSDOS 151 = 160; // #define KEY_COFFEE 152 = 161; // #define KEY_DIRECTION 153 = 162; // #define KEY_CYCLEWINDOWS 154 = 163; // #define KEY_MAIL 155 = 164; // #define KEY_BOOKMARKS 156 = 165; // #define KEY_COMPUTER 157 = 166; // #define KEY_BACK 158 = 167; // #define KEY_FORWARD 159 = 168; // #define KEY_CLOSECD 160 = 169; // #define KEY_EJECTCD 161 = 170; // #define KEY_EJECTCLOSECD 162 = 171; // #define KEY_NEXTSONG 163 = 172; // #define KEY_PLAYPAUSE 164 = 173; // #define KEY_PREVIOUSSONG 165 = 174; // #define KEY_STOPCD 166 = 175; // #define KEY_RECORD 167 = 176; // #define KEY_REWIND 168 = 177; // #define KEY_PHONE 169 = 178; // #define KEY_ISO 170 = 179; // #define KEY_CONFIG 171 = 180; // #define KEY_HOMEPAGE 172 = 181; // #define KEY_REFRESH 173 = 182; // #define KEY_EXIT 174 = 183; // #define KEY_MOVE 175 = 184; // #define KEY_EDIT 176 = 185; // #define KEY_SCROLLUP 177 = 186; // #define KEY_SCROLLDOWN 178 = 187; // #define KEY_KPLEFTPAREN 179 = 188; // #define KEY_KPRIGHTPAREN 180 = 189; // #define KEY_NEW 181 = 190; // #define KEY_REDO 182 = 208; // #define KEY_PLAYCD 200 = 209; // #define KEY_PAUSECD 201 = 210; // #define KEY_PROG3 202 // = 211; // #define KEY_PROG4 203 conflicts with AB11 = 213; // #define KEY_SUSPEND 205 = 214; // #define KEY_CLOSE 206 = 215; // #define KEY_PLAY 207 = 216; // #define KEY_FASTFORWARD 208 = 217; // #define KEY_BASSBOOST 209 = 218; // #define KEY_PRINT 210 = 219; // #define KEY_HP 211 = 220; // #define KEY_CAMERA 212 = 221; // #define KEY_SOUND 213 = 222; // #define KEY_QUESTION 214 = 223; // #define KEY_EMAIL 215 = 224; // #define KEY_CHAT 216 = 225; // #define KEY_SEARCH 217 = 226; // #define KEY_CONNECT 218 = 227; // #define KEY_FINANCE 219 = 228; // #define KEY_SPORT 220 = 229; // #define KEY_SHOP 221 = 230; // #define KEY_ALTERASE 222 = 231; // #define KEY_CANCEL 223 = 232; // #define KEY_BRIGHTNESSDOWN 224 = 233; // #define KEY_BRIGHTNESSUP 225 = 234; // #define KEY_MEDIA 226 = 235; // #define KEY_SWITCHVIDEOMODE 227 = 236; // #define KEY_KBDILLUMTOGGLE 228 = 237; // #define KEY_KBDILLUMDOWN 229 = 238; // #define KEY_KBDILLUMUP 230 = 239; // #define KEY_SEND 231 = 240; // #define KEY_REPLY 232 = 241; // #define KEY_FORWARDMAIL 233 = 242; // #define KEY_SAVE 234 = 243; // #define KEY_DOCUMENTS 235 = 244; // #define KEY_BATTERY 236 = 245; // #define KEY_BLUETOOTH 237 = 246; // #define KEY_WLAN 238 = 247; // (not defined in input.h) 239 = 248; // #define KEY_UNKNOWN 240 = 249; // #define KEY_VIDEO_NEXT 241 = 250; // #define KEY_VIDEO_PREV 242 = 251; // #define KEY_BRIGHTNESS_CYCLE 243 = 252; // #define KEY_BRIGHTNESS_ZERO 244 = 253; // #define KEY_DISPLAY_OFF 245 // Fake keycodes for virtual keys = 92; = 203; = 204; = 205; = 206; = 207; indicator 1 = "Caps Lock"; indicator 2 = "Num Lock"; indicator 3 = "Scroll Lock"; indicator 4 = "Compose"; indicator 5 = "Kana"; indicator 6 = "Sleep"; indicator 7 = "Suspend"; indicator 8 = "Mute"; indicator 9 = "Misc"; indicator 10 = "Mail"; indicator 11 = "Charging"; alias = ; }; // For japanese 106 keyboard. xkb_keycodes "jp106" { include "evdev(evdev)" }; // For brazilian ABNT2 keyboard. xkb_keycodes "abnt2" { include "evdev(evdev)" }; // IBM ThinkPad Z60m/Z60t/Z61m/Z61t xkb_keycodes "thinkpadz60" { include "evdev(evdev)" };