I expected the following:
xkb_keymap {
xkb_types {
virtual_modifiers M = 0;
augment virtual_modifiers M = 1;
};
};
to result in (simplified):
xkb_keymap {
xkb_types {
virtual_modifiers M = 1;
};
};
but instead I got:
xkb_keymap {
xkb_types {
virtual_modifiers M;
};
};
I do not think this is correct: setting M = 0 is equivalent to setting it to the default value of undefined mods, expect if overriding a previous definition1. So the augment statement should take effect here.