xkb_keymap_num_leds

Get the number of LEDs in the keymap.

@warning The range [ 0...xkb_keymap_num_leds() ) includes all of the LEDs in the keymap, but may also contain inactive LEDs. When iterating over this range, you need the handle this case when calling functions such as xkb_keymap_led_get_name() or xkb_state_led_index_is_active().

@sa xkb_led_index_t @memberof xkb_keymap

extern (C)
xkb_keymap_num_leds

Meta