On 7.12.2006, at 13:16, Philipp Lohmann - Sun Germany wrote:
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.
And can't we fake it with e.g. using some function-static counter? As
I can see from my dumps, X11 (on Mac OS X) it just sends many
KEYINPUT events, so we can count/remember them...
You can witness the repeat count at work in writer whereas most
controls do not use it.
You mean that I can see it in Writer window?
--
Pavel Janík
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]