compat.xkb (8046B)
1 xkb_compatibility "complete" { 2 virtual_modifiers NumLock,Alt,LevelThree,Super,LevelFive,Meta,Hyper,ScrollLock; 3 4 interpret.useModMapMods= AnyLevel; 5 interpret.repeat= False; 6 interpret 0xff7f+AnyOf(all) { 7 virtualModifier= NumLock; 8 action= LockMods(modifiers=NumLock); 9 }; 10 interpret 0xfe03+AnyOf(all) { 11 virtualModifier= LevelThree; 12 useModMapMods=level1; 13 action= SetMods(modifiers=LevelThree,clearLocks); 14 }; 15 interpret 0xffe9+AnyOf(all) { 16 virtualModifier= Alt; 17 action= SetMods(modifiers=modMapMods,clearLocks); 18 }; 19 interpret 0xffea+AnyOf(all) { 20 virtualModifier= Alt; 21 action= SetMods(modifiers=modMapMods,clearLocks); 22 }; 23 interpret 0xffe7+AnyOf(all) { 24 virtualModifier= Meta; 25 action= SetMods(modifiers=modMapMods,clearLocks); 26 }; 27 interpret 0xffe8+AnyOf(all) { 28 virtualModifier= Meta; 29 action= SetMods(modifiers=modMapMods,clearLocks); 30 }; 31 interpret 0xffeb+AnyOf(all) { 32 virtualModifier= Super; 33 action= SetMods(modifiers=modMapMods,clearLocks); 34 }; 35 interpret 0xffec+AnyOf(all) { 36 virtualModifier= Super; 37 action= SetMods(modifiers=modMapMods,clearLocks); 38 }; 39 interpret 0xffed+AnyOf(all) { 40 virtualModifier= Hyper; 41 action= SetMods(modifiers=modMapMods,clearLocks); 42 }; 43 interpret 0xfe11+AnyOf(all) { 44 virtualModifier= LevelFive; 45 useModMapMods=level1; 46 action= SetMods(modifiers=LevelFive,clearLocks); 47 }; 48 interpret 0xff7e+AnyOfOrNone(all) { 49 action= SetGroup(group=+1); 50 }; 51 interpret 0xfe03+AnyOfOrNone(all) { 52 action= SetMods(modifiers=LevelThree,clearLocks); 53 }; 54 interpret 0xfe04+AnyOfOrNone(all) { 55 action= LatchMods(modifiers=LevelThree,clearLocks,latchToLock); 56 }; 57 interpret 0xfe05+AnyOfOrNone(all) { 58 action= LockMods(modifiers=LevelThree); 59 }; 60 interpret 0xfe08+AnyOfOrNone(all) { 61 action= LockGroup(group=+1); 62 }; 63 interpret 0xfe0a+AnyOfOrNone(all) { 64 action= LockGroup(group=-1); 65 }; 66 interpret 0xfe0c+AnyOfOrNone(all) { 67 action= LockGroup(group=1); 68 }; 69 interpret 0xfe0e+AnyOfOrNone(all) { 70 action= LockGroup(group=2); 71 }; 72 interpret 0xffb1+AnyOfOrNone(all) { 73 repeat= True; 74 action= MovePtr(x=-1,y=+1); 75 }; 76 interpret 0xff9c+AnyOfOrNone(all) { 77 repeat= True; 78 action= MovePtr(x=-1,y=+1); 79 }; 80 interpret 0xffb2+AnyOfOrNone(all) { 81 repeat= True; 82 action= MovePtr(x=+0,y=+1); 83 }; 84 interpret 0xff99+AnyOfOrNone(all) { 85 repeat= True; 86 action= MovePtr(x=+0,y=+1); 87 }; 88 interpret 0xffb3+AnyOfOrNone(all) { 89 repeat= True; 90 action= MovePtr(x=+1,y=+1); 91 }; 92 interpret 0xff9b+AnyOfOrNone(all) { 93 repeat= True; 94 action= MovePtr(x=+1,y=+1); 95 }; 96 interpret 0xffb4+AnyOfOrNone(all) { 97 repeat= True; 98 action= MovePtr(x=-1,y=+0); 99 }; 100 interpret 0xff96+AnyOfOrNone(all) { 101 repeat= True; 102 action= MovePtr(x=-1,y=+0); 103 }; 104 interpret 0xffb6+AnyOfOrNone(all) { 105 repeat= True; 106 action= MovePtr(x=+1,y=+0); 107 }; 108 interpret 0xff98+AnyOfOrNone(all) { 109 repeat= True; 110 action= MovePtr(x=+1,y=+0); 111 }; 112 interpret 0xffb7+AnyOfOrNone(all) { 113 repeat= True; 114 action= MovePtr(x=-1,y=-1); 115 }; 116 interpret 0xff95+AnyOfOrNone(all) { 117 repeat= True; 118 action= MovePtr(x=-1,y=-1); 119 }; 120 interpret 0xffb8+AnyOfOrNone(all) { 121 repeat= True; 122 action= MovePtr(x=+0,y=-1); 123 }; 124 interpret 0xff97+AnyOfOrNone(all) { 125 repeat= True; 126 action= MovePtr(x=+0,y=-1); 127 }; 128 interpret 0xffb9+AnyOfOrNone(all) { 129 repeat= True; 130 action= MovePtr(x=+1,y=-1); 131 }; 132 interpret 0xff9a+AnyOfOrNone(all) { 133 repeat= True; 134 action= MovePtr(x=+1,y=-1); 135 }; 136 interpret 0xffb5+AnyOfOrNone(all) { 137 repeat= True; 138 action= PtrBtn(button=default); 139 }; 140 interpret 0xff9d+AnyOfOrNone(all) { 141 repeat= True; 142 action= PtrBtn(button=default); 143 }; 144 interpret 0xffaf+AnyOfOrNone(all) { 145 repeat= True; 146 action= SetPtrDflt(affect=button,button=1); 147 }; 148 interpret 0xffaa+AnyOfOrNone(all) { 149 repeat= True; 150 action= SetPtrDflt(affect=button,button=2); 151 }; 152 interpret 0xffad+AnyOfOrNone(all) { 153 repeat= True; 154 action= SetPtrDflt(affect=button,button=3); 155 }; 156 interpret 0xffac+AnyOfOrNone(all) { 157 repeat= True; 158 action= PtrBtn(button=default,count=2); 159 }; 160 interpret 0xffab+AnyOfOrNone(all) { 161 repeat= True; 162 action= PtrBtn(button=default,count=2); 163 }; 164 interpret 0xffb0+AnyOfOrNone(all) { 165 repeat= True; 166 action= LockPtrBtn(button=default,affect=lock); 167 }; 168 interpret 0xff9e+AnyOfOrNone(all) { 169 repeat= True; 170 action= LockPtrBtn(button=default,affect=lock); 171 }; 172 interpret 0xffae+AnyOfOrNone(all) { 173 repeat= True; 174 action= LockPtrBtn(button=default,affect=unlock); 175 }; 176 interpret 0xff9f+AnyOfOrNone(all) { 177 repeat= True; 178 action= LockPtrBtn(button=default,affect=unlock); 179 }; 180 interpret 0xfef9+AnyOfOrNone(all) { 181 action= LockControls(controls=MouseKeys); 182 }; 183 interpret 0xfed5+AnyOfOrNone(all) { 184 action= Terminate(); 185 }; 186 interpret 0xffe9+AnyOfOrNone(all) { 187 action= SetMods(modifiers=Alt,clearLocks); 188 }; 189 interpret 0xffea+AnyOfOrNone(all) { 190 action= SetMods(modifiers=Alt,clearLocks); 191 }; 192 interpret 0xffed+AnyOfOrNone(all) { 193 action= SetMods(modifiers=Hyper,clearLocks); 194 }; 195 interpret 0xffee+AnyOfOrNone(all) { 196 action= SetMods(modifiers=Hyper,clearLocks); 197 }; 198 interpret 0xff14+AnyOfOrNone(all) { 199 action= LockMods(modifiers=ScrollLock); 200 }; 201 interpret 0xffe1+AnyOfOrNone(all) { 202 action= SetMods(modifiers=Shift,clearLocks); 203 }; 204 interpret 0xffe2+AnyOfOrNone(all) { 205 action= SetMods(modifiers=Shift,clearLocks); 206 }; 207 interpret 0x1008fe01+AnyOfOrNone(all) { 208 repeat= True; 209 action= SwitchScreen(screen=1,!same); 210 }; 211 interpret 0x1008fe02+AnyOfOrNone(all) { 212 repeat= True; 213 action= SwitchScreen(screen=2,!same); 214 }; 215 interpret 0x1008fe03+AnyOfOrNone(all) { 216 repeat= True; 217 action= SwitchScreen(screen=3,!same); 218 }; 219 interpret 0x1008fe04+AnyOfOrNone(all) { 220 repeat= True; 221 action= SwitchScreen(screen=4,!same); 222 }; 223 interpret 0x1008fe05+AnyOfOrNone(all) { 224 repeat= True; 225 action= SwitchScreen(screen=5,!same); 226 }; 227 interpret 0x1008fe06+AnyOfOrNone(all) { 228 repeat= True; 229 action= SwitchScreen(screen=6,!same); 230 }; 231 interpret 0x1008fe07+AnyOfOrNone(all) { 232 repeat= True; 233 action= SwitchScreen(screen=7,!same); 234 }; 235 interpret 0x1008fe08+AnyOfOrNone(all) { 236 repeat= True; 237 action= SwitchScreen(screen=8,!same); 238 }; 239 interpret 0x1008fe09+AnyOfOrNone(all) { 240 repeat= True; 241 action= SwitchScreen(screen=9,!same); 242 }; 243 interpret 0x1008fe0a+AnyOfOrNone(all) { 244 repeat= True; 245 action= SwitchScreen(screen=10,!same); 246 }; 247 interpret 0x1008fe0b+AnyOfOrNone(all) { 248 repeat= True; 249 action= SwitchScreen(screen=11,!same); 250 }; 251 interpret 0x1008fe0c+AnyOfOrNone(all) { 252 repeat= True; 253 action= SwitchScreen(screen=12,!same); 254 }; 255 interpret 0x1008fe25+AnyOfOrNone(all) { 256 repeat= True; 257 action= Private(type=0x86,data[0]=0x50,data[1]=0x72,data[2]=0x47,data[3]=0x72,data[4]=0x62,data[5]=0x73,data[6]=0x00); 258 }; 259 interpret 0x1008fe24+AnyOfOrNone(all) { 260 repeat= True; 261 action= Private(type=0x86,data[0]=0x50,data[1]=0x72,data[2]=0x57,data[3]=0x69,data[4]=0x6e,data[5]=0x73,data[6]=0x00); 262 }; 263 interpret 0x1008fe22+AnyOfOrNone(all) { 264 repeat= True; 265 action= Private(type=0x86,data[0]=0x2b,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00); 266 }; 267 interpret 0x1008fe23+AnyOfOrNone(all) { 268 repeat= True; 269 action= Private(type=0x86,data[0]=0x2d,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00); 270 }; 271 interpret 0xfe11+AnyOfOrNone(all) { 272 action= SetMods(modifiers=LevelFive,clearLocks); 273 }; 274 interpret 0xfe12+AnyOfOrNone(all) { 275 action= LatchMods(modifiers=LevelFive,clearLocks,latchToLock); 276 }; 277 interpret 0xfe13+AnyOfOrNone(all) { 278 action= LockMods(modifiers=LevelFive); 279 }; 280 interpret 0xffe5+AnyOfOrNone(all) { 281 action= LockMods(modifiers=Lock); 282 }; 283 interpret Any+AnyOf(all) { 284 action= SetMods(modifiers=modMapMods,clearLocks); 285 }; 286 indicator "Caps Lock" { 287 whichModState= locked; 288 modifiers= Lock; 289 }; 290 indicator "Num Lock" { 291 whichModState= locked; 292 modifiers= NumLock; 293 }; 294 indicator "Scroll Lock" { 295 whichModState= locked; 296 modifiers= ScrollLock; 297 }; 298 indicator "Shift Lock" { 299 whichModState= locked; 300 modifiers= Shift; 301 }; 302 indicator "Group 2" { 303 groups= 0xfffffffe; 304 }; 305 indicator "Mouse Keys" { 306 controls= MouseKeys; 307 }; 308 };