2 partial default xkb_types "pc" {
4 modifiers = Shift+NumLock;
8 map[Shift+NumLock] = Level1;
9 level_name[Level1] = "Base";
10 level_name[Level2] = "Number";
12 include "extra(keypad)"
15 // On Mac keypads, level 1 and 2 are swapped
16 partial xkb_types "mac" {
18 modifiers = Shift+NumLock;
21 map[NumLock] = Level1;
22 map[Shift+NumLock] = Level2;
23 level_name[Level2] = "Base";
24 level_name[Level1] = "Number";
26 include "extra(mac_keypad)"
29 partial xkb_types "microsoft" {
31 modifiers = Shift+NumLock;
33 preserve[Shift] = Shift;
34 map[NumLock] = Level2;
35 level_name[Level1] = "Base";
36 level_name[Level2] = "Number";
38 include "extra(keypad)"