gpio_keys_attr_show_helper(9)
gpio_keys_attr_show_helper β¨
okay bestie, this one is straight from the Kernel API Manual, and it's giving βtiny helper, very important paperworkβ energy π
πΈ NAME πΈ
gpio_keys_attr_show_helper β fill in stringified bitmap of buttons π
π¦ SYNOPSIS π¦
ssize_t gpio_keys_attr_show_helper (struct gpio_keys_drvdata *ddata ,
char *buf , unsigned int type , bool only_disabled );
π ARGUMENTS π
ddataβ pointer to drvdata. yep, that's the whole vibe π«Άbufβ buffer where stringified bitmap is written β¨typeβ button type (EV_KEY,EV_SW) πonly_disabledβ does caller want only those buttons that are currently disabled or all buttons that can be disabled? that's the question bestie π
π₯ DESCRIPTION π₯
This function writes buttons that can be disabled to buf. if only_disabled is true, then buf contains only those buttons that are currently disabled. Returns 0 on success or negative errno on failure. no cap, that's the whole deal πβ¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/input/keyboard/gpio_keys.c get_n_events_by_type(9)get_bm_events_by_type(9)gpio_keys_disable_button(9)gpio_keys_enable_button(9)gpio_keys_attr_store_helper(9)
and that's the tea β β source/version spot was ./drivers/input/keyboard, dated October 2026, page gpio_keys_attr_show_helper(9). bye bestie, slay your kernel adventures π
ππ«Ά
π¦ 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