home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14314 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  3.3 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!tommy!klute
  2. From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: Touchscreens and Multple Pointer Devices
  5. Date: 24 Jul 1992 05:06:52 GMT
  6. Organization: University of Dortmund, Germany
  7. Lines: 64
  8. Sender: klute@tommy (Rainer Klute)
  9. Distribution: world
  10. Message-ID: <14o35dINN3er@fbi-news.Informatik.Uni-Dortmund.DE>
  11. References: <5720@taurus.cs.nps.navy.mil> <1992Jul23.210636.26915@crd.ge.com>
  12. NNTP-Posting-Host: tommy
  13. Keywords: touch pointer
  14.  
  15. In article <1992Jul23.210636.26915@crd.ge.com>, doel@ausable.crd.ge.com
  16. (Michael Doel) writes:
  17. |> In article <5720@taurus.cs.nps.navy.mil>, hebo@hp850.mbari.org (Bob
  18. |> Herlien) writes:
  19. |> > I want to add a touchscreen to some X terminals for a control/display
  20. |> app
  21. |> > I'm developing, and I have some general questions about how they're
  22. |> integrated
  23. |> > into an X environment.
  24. |> 
  25. |> [...]
  26. |> 
  27. |> Not having spoke to your vendor, I can only assume that you were a bit
  28. |> misled.  As I understand it, X11Rn (for all n) will only allow one
  29. |> pointing
  30. |> device.  To allow more than one would require a relatively large change
  31. |> to the X protocol (hence X12R1 ?).  In particular, the event structure
  32. |> would
  33. |> need to include a field to indicate which pointing device generated the
  34. |> event.  You can't just add this to X11R5 and still have X11R4 apps
  35. |> working
  36. |> correctly.
  37.  
  38. You might wish to take a look into the X Input Extension coming with the
  39. X11R5 source distribution. Here some quotes from the documentation, which
  40. you will find in mit/doc/extensions/xinput:
  41.  
  42.     The design approach of the extension is to define  functions
  43.     and  events analogous to the core functions and events. This
  44.     allows extension input devices and events to be individually
  45.     distinguishable from each other and from the core input dev-
  46.     ices and events .  These functions and events make use of  a
  47.     device identifier and support the reporting of n-dimensional
  48.     motion data as well as other  data  that  is  not  currently
  49.     reportable via the core input events.
  50.     
  51.     ...
  52.     
  53.     The input extension controls access to input  devices  other
  54.     than  the  X  keyboard and X pointer.  It allows client pro-
  55.     grams to select input from these devices independently  from
  56.     each  other  and independently from the core devices.  Input
  57.     events from these devices  are  of  extension  types  (Devi-
  58.     ceKeyPress,  DeviceKeyRelease, DeviceButtonPress, DeviceBut-
  59.     tonRelease, DeviceMotionNotify, etc.) and contain  a  device
  60.     identifier  so that events of the same type coming from dif-
  61.     ferent input devices can be distinguished.
  62.     
  63.     ...
  64.     
  65.     This extension is designed to accommodate new types of input
  66.     devices  that  may  be  added  in  the future.  The protocol
  67.     requests that refer to  specific  characteristics  of  input
  68.     devices  organize  that information by input device classes.
  69.     Server implementors may add new  classes  of  input  devices
  70.     without changing the protocol requests.
  71.  
  72. I hope this helps.
  73.  
  74. -- 
  75.   Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  76.   Univ. Dortmund, IRB
  77.   Postfach 500500         |)|/    Tel.: +49 231 755-4663
  78. D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
  79.