surles@robinett.cs.unc.edu (Mark Surles) (12/04/90)
I want to receive one event when a key is pressed down and one event when a key is released. When the keyboard is configured with auto-repeat enabled, multiple key pressed events are queued if a key is held for more than 0.5 seconds. How can I disable the keyboard auto-repeat? I really want a means to do this from with my graphics program and then restore the original keyboard configuration when the program exists? Does anyone know how to do this from 4Sight? Thanks, Mark surles@cs.unc.edu
archer@elysium.esd.sgi.com (Doctor Benway) (12/06/90)
In <17919@thorin.cs.unc.edu> surles@robinett.cs.unc.edu (Mark Surles) writes:
*I want to receive one event when a key is pressed down and one
*event when a key is released. When the keyboard is configured
*with auto-repeat enabled, multiple key pressed events are queued
*if a key is held for more than 0.5 seconds.
*
*How can I disable the keyboard auto-repeat? I really want a
*means to do this from with my graphics program and then
*restore the original keyboard configuration when the program
*exists?
*
*Does anyone know how to do this from 4Sight?
*
Yes, you can do this in 3.3.
There is a command called 'keywarp', which allows you to set the time until
repeat starts, as well as the rate of repeat. If you set both numbers to
really high values, you can effectively turn auto-repeat off.
--
----
"If I hear one more horrible James Brown imitation, I'll just die."
-- Leonard Bernstein
Archer Sully <archer@sgi.com>