ir_do_keyup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ir_do_keyup β€” the kernel's little "key went up bestie" moment πŸ’–

okay so this page lives in the Kernel API Manual, section 9 β€” that's the kernel API section, iykyk πŸŽ€


✨ NAME ✨

ir_do_keyup β€” the internal function that signals a keypress got released 🫢


🌸 SYNOPSIS 🌸

void ir_do_keyup (struct rc_dev *dev , bool sync );

like, that's the whole vibe. void, no return, just vibes and side effects πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the struct rc_dev descriptor of the device. it's giving "which remote are we talking about" energy πŸ‘‘
  • sync β€” whether or not to call input_sync. yes/no, do it or don't, that's the whole question ✨

⭐ DESCRIPTION ⭐

okay so real talk: this function is used internally to release a keypress. and here's the important bit, no cap β€” it must be called with keylock held. πŸ”’ like, that's not a suggestion, that's the rule. hold the lock, bestie. don't be the reason things go sideways πŸ˜­πŸ’€


πŸŽ€ SEE ALSO πŸŽ€

this part is literally a whole friend group, so buckle up 🧚

Kernel file ./drivers/media/rc/rc-main.c, plus:

scancode_to_u64(9), ir_create_table(9), ir_free_table(9), ir_resize_table(9), ir_update_mapping(9), ir_establish_scancode(9), ir_setkeycode(9), ir_setkeytable(9), ir_lookup_by_scancode(9), ir_getkeycode(9), rc_g_keycode_from_table(9), rc_keyup(9), ir_timer_keyup(9), ir_timer_repeat(9), rc_repeat(9), ir_do_keydown(9), rc_keydown(9), rc_keydown_notimeout(9), rc_validate_scancode(9), rc_validate_filter(9), struct rc_filter_attribute(9), show_protocols(9), parse_protocol_change(9), store_protocols(9), show_filter(9), store_filter(9), show_wakeup_protocols(9), store_wakeup_protocols(9)

like… that's a lot of besties. every single one of them made the list. slay πŸ’œ


🌈 reminder: ir_do_keyup is internal-only and you gotta hold keylock when you call it. that's the whole plot. periodt. πŸ’…

mwah, that's a wrap πŸ“ β€” this lil page comes from ./drivers/media/rc and it's dated October 2026, and the source/version line is ir_do_keyup(9). see u in the next manpage, bestie πŸ¦‹πŸ’–

πŸ“¦ where this page comes from