vt_get_leds(9)
π NAME π
Okay so welcome to the vt_get_leds(9) page from the Kernel API Manual β it's literally the helper for braille console, and it's here to be your bestie. π
vt_get_leds - helper for braille console π
β¨ SYNOPSIS β¨
int vt_get_leds (unsigned int console , int flag );
π ARGUMENTS π
consoleβ console to read πflagβ flag we want to check π©
π¦ DESCRIPTION π¦
Check the status of a keyboard led flag and report it back. That's it, that's the whole slay. It checks the status, then reports it back β no cap. β¨
π SEE ALSO π
The Kernel file is ./drivers/tty/vt/keyboard.c, and the whole friend group is:
vt_set_led_state(9)vt_kbd_con_start(9)vt_kbd_con_stop(9)vt_do_diacrit(9)vt_do_kdskbmode(9)vt_do_kdskbmeta(9)vt_do_kdgkbmeta(9)vt_reset_unicode(9)vt_get_shift_state(9)vt_reset_keyboard(9)vt_get_kbd_mode_bit(9)vt_set_kbd_mode_bit(9)vt_clr_kbd_mode_bit(9)
π that's the page, bestie! vt_get_leds(9) comes from ./drivers/tty/vt, dated October 2026 β periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms