X11::ModifierKeymap
Inherits Reference / Object
Constructors
Creates a new ModifierKeymap structure.
###Arguments
- max_keys_per_mod Specifies the number of KeyCode entries preallocated to the modifiers in the map.
###See also
Display::change_keyboard_mapping, delete_entry, Display::display_keycodes,
finalize, Display::keyboard_mapping, Display::modifier_mapping,
insert_entry, Display::set_modifier_mapping, Display::set_pointer_mapping.
Instance methods
Deletes the specified KeyCode from the set that controls the specified modifier.
###Arguments
- keycode_entry Specifies the KeyCode.
- modifier Specifies the modifier.
###Description
The delete_entry function deletes the specified KeyCode from the set that
controls the specified modifier and returns a pointer to the resulting ModifierKeymap structure.
###See also
Display::change_keyboard_mapping, Display::display_keycodes,
finalize, Display::keyboard_mapping, Display::modifier_mapping,
insert_entry, new, Display::set_modifier_mapping, Display::set_pointer_mapping.
Adds the specified KeyCode to the set that controls the specified modifier.
###Arguments
- keycode_entry Specifies the KeyCode.
- modifier Specifies the modifier.
###Description
The insert_entry function adds the specified KeyCode to the set that controls
the specified modifier and returns the resulting ModifierKeymap structure (expanded as needed).
###See also
Display::change_keyboard_mapping, delete_entry, Display::display_keycodes,
finalize, Display::keyboard_mapping, Display::modifier_mapping,
insert_entry, new, Display::set_modifier_mapping, Display::set_pointer_mapping.
Specifies the number of KeyCode entries preallocated to the modifiers in the map.