home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!convex!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!ames!agate!tfs.com!tfs.com!matt
- From: matt@tfs.com (Matthew Hom)
- Newsgroups: comp.windows.x
- Subject: How to simulate non-autorepeating keyboard?
- Message-ID: <1992Aug20.212455.6412@tfs.com>
- Date: 20 Aug 92 21:24:55 GMT
- Sender: matt@tfs.com
- Distribution: comp.windows.x.motif
- Organization: TRW Financial Systems
- Lines: 27
-
- My X server does not support any of the XKeyboardControl features.
- I have tried disabling autorepeat via "xset r off" and although
- xset returns
-
- Keyboard Control:
- auto repeat: off key click percent: 0 LED mask: 00000000
- auto repeating keys: 0000000000000000
- 0000000000000000
- 0000000000000000
- 0000000000000000
-
- the autorepeat is still active. Is there a way an application can
- grab the keyboard when a keypress occurs and ignore subsequent keypresses
- until the keyrelease comes in? I haven't been able to get the right
- sequence of calls to do the trick. Can someone send me some code that
- does this?
-
- Thanks.
-
- +-----------------------------------------------------------------------+
- | These opinions are my own and do not reflect those of my employer. |
- +-----------------------------------------------------------------------+
- | Matt Hom matt@tfs.com |
- | TRW Financial Systems (310)590-7510 |
- | 200 Oceangate, Suite 1000 |
- | Long Beach, CA 90802-4336 |
- +-----------------------------------------------------------------------+
-