nanogui: X11 KEY_UP event


Previous by date: 4 May 2001 09:39:05 -0000 About ScreenSaver, hongouyang
Next by date: 4 May 2001 09:39:05 -0000 Re: About ScreenSaver, Alex Holden
Previous in thread:
Next in thread: 4 May 2001 09:39:05 -0000 X11 KEY_UP event, Timo Ketola

Subject: X11 KEY_UP event
From: Timo Ketola ####@####.####
Date: 4 May 2001 09:39:05 -0000
Message-Id: <3AF27801.25B5DFFD@Epec.fi>

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

Previous by date: 4 May 2001 09:39:05 -0000 About ScreenSaver, hongouyang
Next by date: 4 May 2001 09:39:05 -0000 Re: About ScreenSaver, Alex Holden
Previous in thread:
Next in thread: 4 May 2001 09:39:05 -0000 X11 KEY_UP event, Timo Ketola


Powered by ezmlm-browse 0.20.