xkb_keymap_num_levels_for_key

Get the number of shift levels for a specific key and layout.

If @c layout is out of range for this key (that is, larger or equal to the value returned by xkb_keymap_num_layouts_for_key()), it is brought back into range in a manner consistent with xkb_state_key_get_layout().

@sa xkb_level_index_t @memberof xkb_keymap

Meta