logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XListDeviceProperties - List a device's properties.

Description

           The XListDeviceProperties function returns a list of the
           properties associated with the input device specified in
           device. Each device may have an arbitrary number of properties
           attached, some of which were created by the driver and/or
           server, others created by clients at runtime.

           The client is expected to free the list of properties using
           XFree.

           XListDeviceProperties can generate a BadDevice error.

Diagnostics

           BadDevice
                  An invalid device was specified. The device does not
                  exist.

Name

       XListDeviceProperties - List a device's properties.

See Also

XChangeDeviceProperty(3),
           XGetDeviceProperty(3),
           XDeleteDeviceProperty(3)

                                                   09/05/2024                            XLISTDEVICEPROPERTIE(3)

Synopsis

       #include <X11/extensions/XInput.h>

       Atom* XListDeviceProperties( Display *display,
                                    XDevice *device,
                                    int *nprops_return);

       display
              Specifies the connection to the X server.

       device
              The device to list the properties for.

       nprops_return
              Specifies the number of Atoms returned.

See Also