Pattern of mouse (or keybord) clicks and predicting computer user's activity Based solely on the temporal pattern of mouse clicks (a list of click times $[t_1,t_2,t_3,\ldots]$), is it possible to predict the computer user's activity?
For example out of: working vs spending time on Facebook vs watching photos vs playing a computer game.
If they are any more fine-grained predictions (e.g. playing StarCraft vs Counter Strike vs SimCity) then I am interested as well.
While (arguably) one can hear is someone is playing (due to fast and bursty clicks) or watching photos (equally spaced clicks), I am interested if there are any more objective findings (publications, research on blogs, etc) on that matter.
EDIT:
I am equally interested in the keyboard clicks (without distinguishing which key is being hit) or the combined approach (mouse + keyboard).
 A: Great question that I wish I had the time to investigate myself. I am confident that it is tractable. Do you have any data?
Your signal is a multidimensional ($n$D for $n$ buttons) binary times series; each bit indicating whether or not the button is depressed. You could also incorporate the position of the cursor into the feature vector as a 2D trajectory. Presumably, you have training data for each activity. So this means you have a classification problem.
You can reduce the dimensionality by approximating and efficiently encoding the trajectory (references on request), and taking the first-difference of the mouse click frequency (i.e., if the frequency of clicks is not changing, store zero). I would also estimate the distribution of the inter-arrival time of the clicks to see if you can classify from it.
For a jumping point into the literature see Activity recognition using eye-gaze movements and traditional interactions. You should find more leads in the "ubiquitous/pervasive computing", and "human–computer interaction" communities.
To obtain data I suggest generating it yourself using a keylogger. I suggest asking for help on a forum related to computer security or hacking. Most of them log the keyboard but there might be something for the mouse too. Failing that, you could write your own software.
