dmxgetinputcount(3) - Linux man page
Name
DMXGetInputCount - determine number of input devices
Synopsis
#include <X11/extensions/dmxext.h>
Bool DMXGetInputCount(Display *dpy, int *input_count);
Description
DMXGetInputCount() returns the number of input devices connected to the xdmx(1)
server in input_count. This number is the same as that returned by xlistinputdevices(3), but is available even when the XInput extension
is not supported.
Return Value
DMXGetInputCount() returns True unless there is a protocol error.
See Also
dmxgetinputattributes(3), xlistinputdevices(3), dmx(3),
xdmx(1)