aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/config/dbus-api
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-11-19 10:16:38 +0100
committermarha <marha@users.sourceforge.net>2012-11-19 10:16:38 +0100
commit3744281b9ae8aa0ab86ceaee1afe8a603e3aeb2c (patch)
treef59b9749730728729691a8a1efd54dce95f0177c /xorg-server/config/dbus-api
parent8d57b7fcb22cf1a52203ee57c745b64bba649249 (diff)
downloadvcxsrv-3744281b9ae8aa0ab86ceaee1afe8a603e3aeb2c.tar.gz
vcxsrv-3744281b9ae8aa0ab86ceaee1afe8a603e3aeb2c.tar.bz2
vcxsrv-3744281b9ae8aa0ab86ceaee1afe8a603e3aeb2c.zip
dos -> unix
Diffstat (limited to 'xorg-server/config/dbus-api')
-rw-r--r--xorg-server/config/dbus-api80
1 files changed, 40 insertions, 40 deletions
diff --git a/xorg-server/config/dbus-api b/xorg-server/config/dbus-api
index 3c5ea32a6..018e98657 100644
--- a/xorg-server/config/dbus-api
+++ b/xorg-server/config/dbus-api
@@ -1,40 +1,40 @@
-D-BUS Configuration API v2
-----------------------------
-
-The X server will register the bus name org.x.config.displayN, and the
-object /org/x/config/N, where N is the display number.
-
-Currently only hotplugging of input devices is supported.
-
-org.x.config.input:
- org.x.config.input.version:
- Returns one unsigned int32, which is the API version.
-
- org.x.config.input.add:
- Takes an argument of key/value option pairs in arrays, e.g.:
- [ss][ss][ss][ss]
- is the signature for four options. These options will be passed
- to the input driver as with any others.
- Option names beginning with _ are not allowed; they are reserved
- for internal use.
-
- Returns a number of signed int32s. Positive integers are the
- device IDs of new devices; negative numbers are X error codes,
- as defined in X.h. BadMatch will be returned if the options
- given do not match any device. BadValue is returned for a malformed
- message. (Example: 8 is new device ID 8; -8 is BadMatch.)
-
- Notably, BadAlloc is never returned: the server internally signals
- to D-BUS that the attempt failed for lack of memory.
-
- org.x.config.input.remove:
- Takes one uint32 argument, which is the device ID to remove, i.e.:
- u
- is the signature.
-
- Returns one signed int32 which represents an X status as defined in
- X.h. See org.x.config.input.add. Error codes are negative numbers.
-
- org.x.config.input.listDevices:
- Lists the currently active devices. No argument.
- Return value is sequence of [<id> <name>] [<id> <name>] ..., i.e. [us].
+D-BUS Configuration API v2
+----------------------------
+
+The X server will register the bus name org.x.config.displayN, and the
+object /org/x/config/N, where N is the display number.
+
+Currently only hotplugging of input devices is supported.
+
+org.x.config.input:
+ org.x.config.input.version:
+ Returns one unsigned int32, which is the API version.
+
+ org.x.config.input.add:
+ Takes an argument of key/value option pairs in arrays, e.g.:
+ [ss][ss][ss][ss]
+ is the signature for four options. These options will be passed
+ to the input driver as with any others.
+ Option names beginning with _ are not allowed; they are reserved
+ for internal use.
+
+ Returns a number of signed int32s. Positive integers are the
+ device IDs of new devices; negative numbers are X error codes,
+ as defined in X.h. BadMatch will be returned if the options
+ given do not match any device. BadValue is returned for a malformed
+ message. (Example: 8 is new device ID 8; -8 is BadMatch.)
+
+ Notably, BadAlloc is never returned: the server internally signals
+ to D-BUS that the attempt failed for lack of memory.
+
+ org.x.config.input.remove:
+ Takes one uint32 argument, which is the device ID to remove, i.e.:
+ u
+ is the signature.
+
+ Returns one signed int32 which represents an X status as defined in
+ X.h. See org.x.config.input.add. Error codes are negative numbers.
+
+ org.x.config.input.listDevices:
+ Lists the currently active devices. No argument.
+ Return value is sequence of [<id> <name>] [<id> <name>] ..., i.e. [us].