From kde-devel Thu Sep 16 09:46:19 2004 From: Lubos Lunak Date: Thu, 16 Sep 2004 09:46:19 +0000 To: kde-devel Subject: Re: raw keyboard events (via callback) Message-Id: <200409161146.19175.l.lunak () suse ! cz> X-MARC-Message: https://marc.info/?l=kde-devel&m=109532773205174 On Thursday 16 of September 2004 03:38, P. George wrote: > THE QUESTION: > > so, just pretend this is a C/C++ question: > > what library call(s) do i need to make to get RAW key deltas for ALL > keys (or at least just the modifier keys -- shift, ctrl, win?, alt) via > events sent to a callback? > > please keep in mind that the whole point of this is to avoid having to > continually poll the state of the modifier keys, which is already > something i can do in realbasic. > > no polling. > > just events triggered by keydowns/keyups for the modifier keys (or the > whole keyboard, INCLUDING the modifier keys). I'm not sure what you mean with raw key deltas, but under X11 you get XKeyEvent's for every key change. -- Lubos Lunak KDE developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Drahobejlova 27 tel: +420 2 9654 2373 190 00 Praha 9 fax: +420 2 9654 2374 Czech Republic http://www.suse.cz/ >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<