diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-07-22 09:53:35 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-09-01 15:26:47 +1000 |
commit | 0fb7a5c261aa0d87d6596d72b70696bffe0c0aff (patch) | |
tree | de45081c2a1a3a327c80130331746ab2765d05e7 /doc | |
parent | 67ffbcc14cbc61474520d4531599edca24965543 (diff) |
input: Purge Register*Device() functions.
RegisterPointerDevice() and RegisterKeyboardDevice() were already mapped to
RegisterOtherDevice() and obsolete.
RegisterOtherDevice() was called for all devices and the two assignments can
simply be moved into AddInputDevice(). Purge RegisterOtherDevice() and
pretend it never happened.
*lalalalala*
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/xml/Xserver-spec.xml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/doc/xml/Xserver-spec.xml b/doc/xml/Xserver-spec.xml index 563705fb9..ec7f1b77b 100644 --- a/doc/xml/Xserver-spec.xml +++ b/doc/xml/Xserver-spec.xml @@ -1710,8 +1710,6 @@ Input initialization is a bit complicated. It all starts with InitInput(), a routine that you write to call AddInputDevice() twice (once for pointing device and once for keyboard.) -You also want to call RegisterKeyboardDevice() and RegisterPointerDevice() -on them. </para> <para> When you Add the devices, a routine you supply for each device @@ -1731,8 +1729,6 @@ the pointer is the pointer. InitInput is a DDX routine you must write to initialize the input subsystem in DDX. It must call AddInputDevice() for each device that might generate events. -In addition, you must register the main keyboard and pointing devices by -calling RegisterPointerDevice() and RegisterKeyboardDevice(). </para> <para> <blockquote><programlisting> @@ -1755,25 +1751,6 @@ Note also that except for the main keyboard and pointing device, an extension is needed to provide for a client interface to a device. </para> <para> -<blockquote><programlisting> - - void RegisterPointerDevice(device) - DevicePtr device; -</programlisting></blockquote> -RegisterPointerDevice is a DIX routine that your DDX code calls that -makes that device the main pointing device. -This routine is called once upon initialization and cannot be called again. -</para> -<para> -<blockquote><programlisting> - - void RegisterKeyboardDevice(device) - DevicePtr device; -</programlisting></blockquote> -RegisterKeyboardDevice makes the given device the main keyboard. -This routine is called once upon initialization and cannot be called again. -</para> -<para> The following DIX procedures return the specified DevicePtr. They may or may not be useful to DDX implementors. @@ -5163,8 +5140,6 @@ mi and fb implementations.</para> </row> </thead> <tbody> -<row><entry><function>RegisterKeyboardDevice</function></entry><entry><literal>dix</literal></entry><entry><para></para></entry></row> -<row><entry><function>RegisterPointerDevice</function></entry><entry><literal>dix</literal></entry><entry><para></para></entry></row> <row><entry><function>RemoveEnabledDevice</function></entry><entry><literal>os</literal></entry><entry><para></para></entry></row> <row><entry><function>ResetCurrentRequest</function></entry><entry><literal>os</literal></entry><entry><para></para></entry></row> <row><entry><function>SaveScreen</function></entry><entry><literal>ddx</literal></entry><entry><para>Screen</para></entry></row> |