uclogic_par...rame_buttons(9)
πΈ uclogic_params_ugee_v2_init_frame_buttons(9) πΈ
okay bestie, welcome to the Kernel API Manual π this is the page for uclogic_params_ugee_v2_init_frame_buttons β yes that's a whole entire mouthful, we're saying it with our chest, and yes the header up top got truncated to uclogic_par...rame_buttons(9) because even manpage titles have a character limit, tragic honestly π
β¨ NAME β¨
uclogic_params_ugee_v2_init_frame_buttons β initialize a UGEE v2 frame with buttons. that's it, that's the job π
β¨ SYNOPSIS β¨
int uclogic_params_ugee_v2_init_frame_buttons (struct uclogic_params *p
, const s32 *desc_params , size_t desc_params_size );
β¨ ARGUMENTS β¨
pβ the parameters you're gonna fill in. it cannot be NULL, like at all, so don't even try it πdesc_paramsβ the device description params list. it's aconst s32 *, cute little signed 32-bit situation.desc_params_sizeβ the size of the description params list. asize_t, obviously, we stan a correctly-sized size π«Ά
β¨ RETURN β¨
zero if everything slayed β¨ and a negative errno code on error. so like, 0 = iconic, anything negative = not iconic π
π SEE ALSO π
the kernel file lives right here, no cap:
./drivers/hid/hid-uclogic-params.c
and here's the whole friend group β every single one of them, we don't leave anybody out π
uclogic_params_pen_inrange_to_str(9)uclogic_params_pen_hid_dbg(9)uclogic_params_frame_hid_dbg(9)uclogic_params_hid_dbg(9)uclogic_params_get_str_desc(9)uclogic_params_pen_cleanup(9)uclogic_params_pen_init_v1(9)uclogic_params_get_le24(9)uclogic_params_pen_init_v2(9)uclogic_params_frame_cleanup(9)uclogic_params_frame_init_with_desc(9)uclogic_params_frame_init_v1(9)uclogic_params_cleanup_event_hooks(9)uclogic_params_cleanup(9)uclogic_params_get_desc(9)uclogic_params_init_invalid(9)uclogic_params_init_with_opt_desc(9)uclogic_params_huion_init(9)uclogic_probe_interface(9)uclogic_params_parse_ugee_v2_desc(9)uclogic_params_ugee_v2_init_frame_dial(9)uclogic_params_ugee_v2_init_frame_mouse(9)uclogic_params_ugee_v2_has_battery(9)uclogic_params_ugee_v2_init_battery(9)uclogic_params_ugee_v2_reconnect_work(9)uclogic_params_ugee_v2_init_event_hooks(9)uclogic_params_ugee_v2_init(9)uclogic_params_init(9)
ngl bestie, if p is NULL the whole thing is a no-go β that's the one thing this page spells out in bold energy, so pls respect it π
okay that's the whole page, mwah π this lil drop came straight out of ./drivers/hid, dated October 2026, and it's brought to you by the Kernel API Manual β go forth and init those buttons, you absolute main character ππ
π¦ 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