DMXGetInputCount(3)

πŸ“¦
version 1.1.5 Β· 2 versions
, in epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ DMXGetInputCount(3) ✨

okay bestie, welcome to the DMXGetInputCount page from the Library Functions Manual πŸ’… she's a libdmx girlie, she's niche, she's iconic, and she's about to tell you how many input devices are vibing on your Xdmx(1) server πŸŽ€


🌸 NAME 🌸

DMXGetInputCount β€” figure out how many input devices there are πŸ’–


✨ SYNOPSIS ✨

#include <X11/extensions/dmxext.h>

Bool DMXGetInputCount(Display *dpy,
                      int *input_count);

πŸ¦‹ DESCRIPTION πŸ¦‹

so DMXGetInputCount() does the thing where it counts up all the input devices connected to the Xdmx(1) server, and it drops that number into input_count. no cap. πŸ”₯

and here's the slay: that number is the same one you'd get from XListInputDevices(3), except DMXGetInputCount() still works even when the XInput extension isn't supported 😌 literally available when the other one can't show up. main character energy fr fr.


πŸ’œ RETURN VALUE πŸ’œ

DMXGetInputCount() returns True... unless there's a protocol error πŸ’€ then it does not. that's it, that's the rule.


🫢 SEE ALSO 🫢


🌈 go read those too bestie, iykyk β€” they're the rest of the DMX saga and they ate πŸ’…

k bye ily, this was X Version 11 energy, brought to you by libdmx 1.1.5 πŸŽ€ and yes the page is literally called DMXGetInputCount(3) bestie, we've been over this 😭✨