~sil/kazam/global-keypress-monitor

Viewing all changes in revision 443.

  • Committer: Stuart Langridge
  • Date: 2014-07-22 01:02:55 UTC
  • Revision ID: sil-launchpad@kryogenix.org-20140722010255-gghdng52l29bvbc0
Add monitoring for keypresses, globally, by implementing a separate executable which prints out global keypresses via xlib and watching its stdout. This avoids any problems with trying to monitor the X server from inside Kazam itself and having unpleasant issues with threads and gstreamer and so on. Note that we do not actually do anything with the keypresses yet beyond print them to the info log in kazam.app.cb_got_keypress. Implementing something which draws them on the screen when pressed and released is another task, more suited for someone who understands how to do this sort of thing.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: