Method
PhocKeybindingshandle_pressed
Declaration [src]
gboolean
phoc_keybindings_handle_pressed (
PhocKeybindings* self,
guint32 modifiers,
xkb_keysym_t* pressed_keysyms,
guint32 length,
PhocSeat* seat
)
Description [src]
Check if a keybinding is known and run the associated action.
This method is not directly available to language bindings.
Parameters
modifiers
-
Type:
guint32
The currently pressed modifiers.
pressed_keysyms
-
Type:
xkb_keysym_t*
The currently pressed keysyms.
The data is owned by the caller of the method. length
-
Type:
guint32
The number of pressed keysyms.
seat
-
Type:
PhocSeat
The seat this is happening on.
The data is owned by the caller of the method.