SysTutorials

Man Pages › Section 3

xkbkeytypeindex(3)

XkbKeyTypeIndex – Obtain the index of a key type or the pointer to a key type

Synopsis

int XkbKeyTypeIndex (XkbDescPtr xkb, KeyCode keycode, int group);
     

Arguments

– xkb

Xkb description of interest

– keycode

keycode of interest

– group

group index

Description

XkbKeyTypeIndex computes an index into the types vector of the client map in xkb from the given keycode and group index.