thc_interrupt_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… thc_interrupt_enable β€” like, the THC interrupt on/off switch

okay so bestie, welcome to the <rainbow>Kernel API Manual</rainbow> ✨ β€” this one's a lil function from the intel-thc-hid world, and honestly? she's a simple girl. no cap.


🌸 NAME 🌸

thc_interrupt_enable β€” Enable or disable THC interrupt πŸŽ€ that's it, that's the whole job, and she does it flawlessly


✨ SYNOPSIS ✨

void thc_interrupt_enable (struct thc_device *dev , bool int_enable );

void, meaning she returns nothing β€” she just does the thing and leaves, main character energy πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the pointer of THC private device context 🫢 literally the lil device brain she needs to poke at. hand her this and she knows exactly whose interrupt she's flipping.
  • int_enable β€” the flag to control THC interrupt enable or disable ⭐ it's a bool, so it's giving yes/no, on/off, slay/not-slay. flip it one way, interrupts are on; flip it the other, they're off. iykyk.
ngl this is a two-arg function and both args are doing the heavy lifting. respect.

πŸ‘‘ SEE ALSO πŸ‘‘

first up, the source file herself:

  • Kernel file ./drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c πŸ“ β€” go read her, she's iconic

and then, the whole friend group πŸ’– (all in section 9, all linked, all valid):

like, that's the entire thc cinematic universe right there πŸ“ go binge it fr fr


πŸŽ€ source check: this page lives under ./drivers/hid/intel-thc-hid/in... and it's dated October 2026 β€” so yeah, she's from the future AND she's serving. bye bestie, go enable some interrupts responsibly πŸ’œπŸ¦‹βœ¨
πŸ“¦ where this page comes from