Returns the locked modifiers (ie, num lock, caps lock) associated with this keyboard.
the device.
a guint of modifier flags.