Protoco...e86_Misc(3)

πŸŽ€ NAME πŸŽ€

okay so you're looking at Protoco...e86_Misc(3), a User Contributed Perl Documentation page, and the star of the show is X11::Protocol::Ext::XFree86_Misc.pm β€” the Perl module for the XFree86 Misc Extension. slay. πŸ’…


✨ SYNOPSIS ✨

bestie, you start it up like this, and yes, keep the code exactly as it is:

        use X11::Protocol;
        $x = X11::Protocol->new();
        $x->init_extension('XFree86-Misc');

🌸 DESCRIPTION 🌸

this module is how you access miscellaneous features of XFree86 servers. lowkey iconic. πŸ¦‹


🧚 SYMBOLIC CONSTANTS 🧚

this extension adds three constants, and their values are exactly as defined in the XFree86 3.3.3 source code:

  • MouseTypes 🐭
  • KeyboardTypes ⌨️
  • MouseFlags 🚩

no cap, those names are the moment. ✨


πŸ”₯ REQUESTS πŸ”₯

this extension adds several requests. they're called as shown below β€” literally these signatures, bestie, don't get creative with them:

  • $x->XF86MiscQueryVersion => ($major, $minor) β€” asks for the version and gives you back $major and $minor. πŸ‘‘
  • $x->XF86MiscGetSaver($screen) => ($suspendtime, $offtime) β€” for $screen, hands you $suspendtime and $offtime. πŸ’–
  • $x->XF86MiscSetSaver($screen, $suspendtime, $offtime) β€” sets $suspendtime and $offtime for $screen. πŸŽ€
  • $x->XF86MiscGetMouseSettings => (%settings) β€” gives you the mouse settings as %settings. 🐭
  • $x->XF86MiscSetMouseSettings(%settings) β€” sets the mouse settings from %settings. 🚩
  • $x->XF86MiscGetKbdSettings => ($type, $rate, $delay, $servnumlock) β€” gives you $type, $rate, $delay, and $servnumlock. ⌨️
  • $x->XF86MiscSetKbdSettings($type, $rate, $delay, $servnumlock) β€” sets $type, $rate, $delay, and $servnumlock. 🌈

🫢 AUTHOR 🫢

this was written by Jay Kominek <jay.kominek@colorado.edu>. iconic behavior. πŸ’œ


⭐ SEE ALSO ⭐

go peek at these too, bestie:

  • perl(1) πŸͺ
  • X11::Protocol πŸ›°οΈ

mwah πŸ’‹ this little page is from perl v5.42.0, dated 2024-03-04. periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from