Added support for X11 keyboard modifiers.