aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xext/xtest1.frags
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-10-30 18:54:04 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-02 17:54:04 +0100
commit331497b88793cc7c682e54dd1e39dce4222ab631 (patch)
tree86c37e501d3d73f942220ab2a05c9dd2c4666c37 /nx-X11/programs/Xserver/Xext/xtest1.frags
parent6b9ce7da469487c29ee1b3faab3b681b2ce89a5e (diff)
downloadnx-libs-331497b88793cc7c682e54dd1e39dce4222ab631.tar.gz
nx-libs-331497b88793cc7c682e54dd1e39dce4222ab631.tar.bz2
nx-libs-331497b88793cc7c682e54dd1e39dce4222ab631.zip
drop unused xtest1.frags
Diffstat (limited to 'nx-X11/programs/Xserver/Xext/xtest1.frags')
-rw-r--r--nx-X11/programs/Xserver/Xext/xtest1.frags90
1 files changed, 0 insertions, 90 deletions
diff --git a/nx-X11/programs/Xserver/Xext/xtest1.frags b/nx-X11/programs/Xserver/Xext/xtest1.frags
deleted file mode 100644
index bdf7943b7..000000000
--- a/nx-X11/programs/Xserver/Xext/xtest1.frags
+++ /dev/null
@@ -1,90 +0,0 @@
-There are several code fragments that need to be placed in the device
-dependent part of the server. These are described below. These code
-fragments are device and implementation dependent.
-
-This code fragment should go in your ddx InitInput() routine:
-
-#ifdef XTESTEXT1
-extern KeyCode xtest_command_key;
-#endif
-
-#ifdef XTESTEXT1
- xtest_command_key = <whatever-is-a-good-keycode-for-your-keyboard>;
-#endif
-
-This code fragment should go at the front of the file that handles
-keyboards:
-
-#ifdef XTESTEXT1
-/*
- * defined in xtestext1di.c
- */
-extern int on_steal_input;
-extern Bool XTestStealKeyData();
-#endif XTESTEXT1
-
-This code fragment should go in the function that parses input from the
-keyboard or pointer after you know what input action has occurred, but before
-you have told the server about it. If conditionalizes the actual function
-call to pass the information on:
-
-#ifdef XTESTEXT1
- if (!on_steal_input ||
- XTestStealKeyData(code, direction, dev_type, x, y))
-#endif /* XTESTEXT1 */
- handle_device_event(...);
-
-This code fragment should go in the function that handles mouse motion after
-you have figured out how much the mouse has moved:
-
-#ifdef XTESTEXT1
- if (on_steal_input)
- XTestStealMotionData(dx, dy, dev, x, y);
-#endif XTESTEXT1
-
-
-This code fragment should go at the front of the os-specific code where
-you wait (by doing a select on the socket in our implementation) for
-something to happen:
-
-#ifdef XTESTEXT1
-extern int playback_on;
-void XTestComputeWaitTime();
-#endif XTESTEXT1
-
-These code fragments should go in the os-specific code on both sides of
-where you wait (by doing a select on the socket in our implementation)
-for something to happen:
-
-#ifdef XTESTEXT1
- if (playback_on)
- XTestComputeWaitTime(wt = &waittime);
-#endif XTESTEXT1
- ... code to do select ...
- WakeupHandler(i, LastSelectMask);
-#ifdef XTESTEXT1
- if (playback_on)
- i = XTestProcessInputAction(i, &waittime);
-#endif XTESTEXT1
-
-
-You also need to implement the following routines (documentation
-is needed; for now, see server/ddx/hp/hp/x_hil.c):
-
-void
-XTestGenerateEvent(dev_type, keycode, keystate, mousex, mousey)
- int dev_type;
- int keycode;
- int keystate;
- int mousex;
- int mousey;
-
-void
-XTestGetPointerPos(fmousex, fmousey)
- short *fmousex, *fmousey;
-
-void
-XTestJumpPointer(jx, jy, dev_type)
- int jx;
- int jy;
- int dev_type;