Virtual Method

WPEPlatformKeymapget_entries_for_keyval

Declaration [src]

gboolean
get_entries_for_keyval (
  WPEKeymap* keymap,
  guint keyval,
  WPEKeymapEntry** entries,
  guint* n_entries
)

Description [src]

Get the keymap list of keycode/group/level combinations that will generate keyval.

Parameters

keyval

Type: guint

A keyval.

entries

Type: WPEKeymapEntry

Return location for array of WPEKeymapEntry.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
n_entries

Type: guint*

Return location for length of entries.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if there were entries, or FALSE otherwise.