nanogui: X11 KEY_UP event
Subject:
Re: X11 KEY_UP event
From:
Jordan Crouse ####@####.####
Date:
8 May 2001 14:14:16 -0000
Message-Id: <01050808130903.27610@cosmic>
Hmmm.... I'm not sure about that. Looking at the code, it seems that we ask
for key press and key release events, and then act on them accordingly, so I
would assume that the repetition comes directly from X11. If you don't mind,
could I ask why you would need to detect very long key presses?
Jordan
On Tuesday 08 May 2001 05:26, Timo Ketola mentioned:
> Hi,
>
> I'm a little lost with the X11 driver. I need to know when a key is
> released and watch for KEY_UP events. Basically it works fine but the
> problem is the auto repeat function. For every auto repeat cycle I get
> KEY_DOWN * AND KEY_UP * event (DOWN UP DOWN UP DOWN UP ... DOWN UP; I
> was expecting a sequence of DOWN DOWN DOWN ... DOWN UP). These extra
> KEY_UP events makes it impossible to distinguish between multiple key
> presses and one long press.
>
> Is this a property of X11 and is there any way to modify it's behaviour?
>
> Thanks in advance
>
> --
>
> Timo
>
> P.S. I reposted this message because I first posted it base64 encoded.
> Sorry about that.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####