uclogic_par...rame_buttons(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 a const s32 *, cute little signed 32-bit situation.
  • desc_params_size β€” the size of the description params list. a size_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 πŸ’…


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