Reference

XkbGetIndicatorState(3) on Linux

The text a0cb8b75b165, as Debian 13 (Trixie) shipped it.

Obtains the current state of the keyboard indicators

XkbGetIndicatorState(3) on Linux now