DECLL—Load LEDs

Load the programmable LEDs on the keyboard according to its parameters.

Format

CSI
9/11
Ps
3/n
q
7/1

Parameters

Ps
selects the state of the Num Lock, Caps Lock, and Scroll Lock LEDs as follows:

Ps LED Light Condition
0 Num Lock
Caps Lock
Scroll Lock
Off
Off
Off
1 Num Lock On
2 Caps Lock On
3 Scroll Lock On
21 Num Lock Off
22 Caps Lock Off
23 Scroll Lock Off

Description

DECLL controls keyboard LEDs independently of any keyboard state. The use of LEDs for this purpose conflicts with their use as keyboard state indicators. DECKLHIM selects a mode of how the keyboard LEDs are to be used: as keyboard indicators; or host indicators. If host indicators is selected, then the DECLL sequence can be used to control the keyboard LEDs.

For DECLL to function, DECKLHIM must be set.