XkbSetNamedDeviceIndicator(3) on Linux
The text d2fed12b3a61, as Debian 12 (Bookworm) shipped it.
Names an indicator if it is not already named; toggles the state of the indicator; sets the indicator to a specified state and sets the indicator map for the indicator