1c27c18e8SmrgXLISTDEVICEPROPERTIES(libmansuffix)
2c27c18e8Smrg===================================
3c27c18e8Smrg
4c27c18e8SmrgNAME
5c27c18e8Smrg----
6c27c18e8Smrg
7c27c18e8Smrg   XListDeviceProperties - List a device's properties.
8c27c18e8Smrg
9c27c18e8SmrgSYNOPSIS
10c27c18e8Smrg--------
11c27c18e8Smrg
12c27c18e8Smrg   #include <X11/extensions/XInput.h>
13c27c18e8Smrg
14c27c18e8Smrg   Atom* XListDeviceProperties( Display *display,
15c27c18e8Smrg                                XDevice *device,
16c27c18e8Smrg                                int *nprops_return);
17c27c18e8Smrg
18c27c18e8Smrg   display
19c27c18e8Smrg          Specifies the connection to the X server.
20c27c18e8Smrg
21c27c18e8Smrg   device
22c27c18e8Smrg          The device to list the properties for.
23c27c18e8Smrg
24c27c18e8Smrg   nprops_return
25c27c18e8Smrg          Specifies the number of Atoms returned.
26c27c18e8Smrg
27c27c18e8SmrgDESCRIPTION
28c27c18e8Smrg-----------
29c27c18e8Smrg
30c27c18e8Smrg   The XListDeviceProperties function returns a list of the
31c27c18e8Smrg   properties associated with the input device specified in
32c27c18e8Smrg   device. Each device may have an arbitrary number of properties
33c27c18e8Smrg   attached, some of which were created by the driver and/or
34c27c18e8Smrg   server, others created by clients at runtime.
35c27c18e8Smrg
36c27c18e8Smrg   The client is expected to free the list of properties using
37c27c18e8Smrg   XFree.
38c27c18e8Smrg
39c27c18e8Smrg   XListDeviceProperties can generate a BadDevice error.
40c27c18e8Smrg
41c27c18e8SmrgDIAGNOSTICS
42c27c18e8Smrg-----------
43c27c18e8Smrg
44c27c18e8Smrg   BadDevice
45c27c18e8Smrg          An invalid device was specified. The device does not
46c27c18e8Smrg          exist.
47c27c18e8Smrg
48c27c18e8SmrgSEE ALSO
49c27c18e8Smrg--------
50c27c18e8Smrg
51c27c18e8Smrg   XChangeDeviceProperty(libmansuffix),
52c27c18e8Smrg   XGetDeviceProperty(libmansuffix),
53c27c18e8Smrg   XDeleteDeviceProperty(libmansuffix)
54