Reference

XkbGetIndicatorState(3) on Linux

The text 45041c70af78, as Debian 12 (Bookworm) shipped it.

Obtains the current state of the keyboard indicators

XkbGetIndicatorState(3) on Linux now