Pavel Janík wrote:
Hi,
I'm now looking at proper implementation of keyboard events and I found
that SalKeyEvent's mnRepeat is not used/implemented in unx/... but for
every keypress (and thus also for repeats), new event is generated with
mnRepeat set to 0.
Should we use the same method for Mac OS X or should we implement
correct setting of this member?
Is it used at all? ;-)
It is. Just X11 does not tell us. But on Windows you get a repeat count.
If you get a repeat count from your system, then use it, else use 0. You
can witness the repeat count at work in writer whereas most controls do
not use it.
Kind regards, pl
--
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
-- Author unknown
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]