Lines Matching refs:keysyms
166 void SwapLKeys(KeySymsRec* keysyms)
171 for (i = 2; i < keysyms->maxKeyCode * keysyms->mapWidth; i++)
172 if (keysyms->map[i] == XK_L1 ||
173 keysyms->map[i] == XK_L2 ||
174 keysyms->map[i] == XK_L3 ||
175 keysyms->map[i] == XK_L4 ||
176 keysyms->map[i] == XK_L5 ||
177 keysyms->map[i] == XK_L6 ||
178 keysyms->map[i] == XK_L7 ||
179 keysyms->map[i] == XK_L8 ||
180 keysyms->map[i] == XK_L9 ||
181 keysyms->map[i] == XK_L10) {
183 k = keysyms->map[i - 2];
184 keysyms->map[i - 2] = keysyms->map[i];
185 keysyms->map[i] = k;