On Thu, 2010-01-28 at 10:53 +0100, ext Stefan Iwanowitsch wrote: > Rémi Denis-Courmont schrieb: ... > > > I want normal processing of keyboard events and just want to trigger > actions upon certain key combinations/sequences. > According to the documentation XGrabKeyboard() seems to prevent further > processing in other applications and there is no easy way to re-enqueue > key events I'm not interested in.
So you want keyboard shortcuts? Like shift+ctrl+p and the like? Then you should use XGrabKey to grab that key combination only. See libmatchbox2 sources for code. Grabbing or monitoring the whole keyboard for a keyboard shortcut is not the right way... -Kimmo > > If you just want to see keyboard input, then you'd open the corresponding > > file(s) in /dev/input/. > > > > > Can I read from /dev/input without interfering with other consumers? And > do you happen to know, where I can find specs on the input device files? > > Thanks! > _______________________________________________ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers