uclogic_par...ugee_v2_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

uclogic_params_parse_ugee_v2_desc β€” bestie, this one parses the string descriptor that carries the pen and frame parameters, the ones UGEE v2 devices hand back to you πŸ–ŠοΈπŸŽ€

Oh and for the record, this page lives in the Kernel API Manual β€” that's the manual name, keep it in your notes πŸ““βœ¨


✨ SYNOPSIS ✨

int uclogic_params_parse_ugee_v2_desc (const __u8 *str_desc , size_t
str_desc_size , s32 *desc_params , size_t desc_params_size , enum
uclogic_params_frame_type *frame_type );

🫢 ARGUMENTS 🫢

  • str_desc β€” the string descriptor itself. It cannot be NULL, like genuinely do not do that to me πŸ’€
  • str_desc_size β€” how big that string descriptor is. Size of it. That's the vibe πŸ“
  • desc_params β€” the output description params list, where the good stuff gets written 🎁
  • desc_params_size β€” the size of that output description params list. Gotta know how much room you're working with 🧚
  • frame_type β€” the output frame type. It comes out of here, it's giving very "output parameter" energy πŸ‘‘

🌸 RETURN 🌸

Zero if everything slayed βœ… β€” but a negative errno code on error 😭 (so like, check it, fr fr).


πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file that started it all: ./drivers/hid/hid-uclogic-params.c ✨

And the whole friend group πŸ‘―β€β™€οΈ:


That's the whole page, bestie, no notes πŸ’– This little number comes from ./drivers/hid, dated October 2026, and it's filed under uclogic_par...ugee_v2_desc(9) β€” go off, kernel docs πŸ‘‘πŸŽ€

πŸ“¦ where this page comes from