
29 Apr
2014
29 Apr
'14
11:13 a.m.
Do you wish to do that in an active Xorg GUI session? If yes, the X API (and corresponding Haskell packages) will allow you to do that; otherwise you usually have to read directly from the device files (e.g. /dev/input*) which usually requires root. On Tue 29 Apr 2014 15:55:00 BST, EatsKittens wrote:
Essentially, I want to create a program that is simply ran in the background, not in a terminal, that monitors keypresses and mouse presses and takes certain actions on specific keypresses. Where to start?