gpio_keys_attr_store_helper(9)
hiii bestie π welcome to the gpio_keys_attr_store_helper(9) page from the Kernel API Manual β weβre gonna vibe through it together, no cap.
β¨ NAME β¨
gpio_keys_attr_store_helper β enable/disable buttons based on given bitmap
πΈ SYNOPSIS πΈ
ssize_t gpio_keys_attr_store_helper (struct gpio_keys_drvdata *ddata , const char *buf , unsigned int type );
π ARGUMENTS π
ddataβ pointer to drvdatabufβ buffer from userspace that contains stringified bitmaptypeβ button type (EV_KEY,EV_SW)
π DESCRIPTION π
Okay so this function parses the stringified bitmap from buf and disables/enables GPIO buttons accordingly. It returns 0 on success and a negative error on failure. Thatβs the whole vibe. β¨
π¦ 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_show_helper(9)
π okay thatβs the tea! this page is from source/version./drivers/input/keyboard, datedOctober 2026, and itβs thegpio_keys_attr_store_helper(9)manual page. bye bestie, go slay those GPIO buttons π π
π¦ 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