Re: Tk: how to handle platform differences in keyboard autorepeat?
- From: Ralf Fassel <ralfixx@xxxxxx>
- Date: Thu, 28 Sep 2006 21:49:38 +0200
* Donald Arseneau <asnd@xxxxxxxxx>
| [autorepeat keyboard]
| > Do I have to take the arrival time of the events into account and
| > dismiss repeated events if the delta-t is < 1ms?
|
| I think so, yes. I did something like that a while back ... I
| wonder where it is. As I recall, there was zero delay between some
| events, probably release--press.
Yup, 0ms (some 20-odd clicks) between Release and Press, and 40ms
between Press and Release on my current machine. The idea with
'Release' just starting a timer and Press cancelling it again is maybe
the way to go.
R'
.
- References:
- Tk: how to handle platform differences in keyboard autorepeat?
- From: Ralf Fassel
- Re: Tk: how to handle platform differences in keyboard autorepeat?
- From: Donald Arseneau
- Tk: how to handle platform differences in keyboard autorepeat?
- Prev by Date: Problems building Tcl and Expect in MinGW
- Next by Date: Re: Clock Display using After
- Previous by thread: Re: Tk: how to handle platform differences in keyboard autorepeat?
- Next by thread: how to install the tcl application as window service
- Index(es):