get_bm_events_by_type(9)
π get_bm_events_by_type(9) π
okay so bestie, weβre in the Kernel API Manual and this page is literally all about get_bm_events_by_type. no cap, thatβs the whole main-character function. β¨
π NAME π
get_bm_events_by_type β returns bitmap of supported events per @type. π
π¦ SYNOPSIS π¦
const unsigned long * get_bm_events_by_type (struct input_dev *dev , int type );
π ARGUMENTS π
devβ input device from which bitmap is retrieved. π«Άtypeβ type of button (EV_KEY,EV_SW). π
πΈ DESCRIPTION πΈ
The return value of this function can be used to allocate a bitmap large enough to hold all bits for the given type. π Thatβs the whole vibe: grab the bitmap sitch, size your allocation correctly, slay. β¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/input/keyboard/gpio_keys.cβ yes, the actual kernel file, keep it iconic. π¦ get_n_events_by_type(9)gpio_keys_disable_button(9)gpio_keys_enable_button(9)gpio_keys_attr_show_helper(9)gpio_keys_attr_store_helper(9)
lowkey important: these are the SEE ALSO references, so donβt lose them in the group chat. π
xoxo, your kernel bestie π β source/version: ./drivers/input/keyboard, 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