STRUCT DVB_RC_LEGACY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ struct dvb_rc_legacy(9) β€” the kernel API manual, bestie edition

okay so this is the page for struct dvb_rc_legacy, and before you ask β€” yes, it's literally the old properties of remote controller. legacy era. vintage. it's giving "found in the back of the closet and still works". from the Kernel API Manual, no cap ✨


🌸 NAME 🌸

struct dvb_rc_legacy β€” old properties of remote controller πŸŽ€


✨ SYNOPSIS ✨

struct dvb_rc_legacy {
  #define REMOTE_NO_KEY_PRESSED      0x00;
  #define REMOTE_KEY_PRESSED         0x01;
  #define REMOTE_KEY_REPEAT          0x02;
    struct rc_map_table  *rc_map_table;
    int rc_map_size;
    int (*rc_query) (struct dvb_usb_device *, u32 *, int *);
    int rc_interval;
 };

like, look at her. iconic struct. the #defines are right there inside, living their best life β€” REMOTE_NO_KEY_PRESSED is 0x00, REMOTE_KEY_PRESSED is 0x01, and REMOTE_KEY_REPEAT is 0x02. periodt πŸ’…


πŸ¦‹ Members πŸ¦‹

  • rc_map_table β€” a hard-wired array of struct rc_map_table. and listen, if you set this to NULL it disables remote control handling entirely πŸ™ˆ so like… don't do that unless you want the remote to be decorative.
  • rc_map_size β€” number of items in rc_map_table. yes bestie, the count. the quantity. you gotta tell it how many.
  • rc_query β€” called to query an event event. (that's the doc's words, not mine β€” it really does say "event event" 😭 we love a typo moment, we're keeping it.)
  • rc_interval β€” time in ms between two queries. so the gap. the lil pause. the waiting arc. ⭐

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/media/usb/dvb-usb/dvb-usb.h struct dvb_usb_device_description(9)
  • struct dvb_usb_adapter_fe_properties(9)
  • struct dvb_rc(9)
  • enum dvb_usb_mode(9)
  • struct dvb_usb_device_properties(9)
  • struct usb_data_stream(9)
  • struct dvb_usb_fe_adapter(9)
  • struct dvb_usb_adapter(9)
  • struct dvb_usb_device(9)

like a whole friend group of structs, fr fr. go read them, iykyk 🫢


okay that's the whole page, you ate that πŸ’– this cutie lives in ./drivers/media/usb/dvb-usb, dated October 2026, and the source/version is struct dvb_rc_legacy(9) β€” main character energy from top to bottom, as she deserves πŸ‘‘βœ¨

πŸ“¦ where this page comes from