Add mouse-button and keymod enums and a couple of convenience procedures.