Possible to catch key if sketch is running in background on Mac?

edited February 2014 in Programming Questions

Hi there,

is it anyhow possible to have a programm run in background and still respond to keys pressed?

Thanks for any answers! p

Answers

  • Did some research. This seems impossible to do with Processing/Java alone (think: keylogger). I found a keylogger terminal app for mac called "logkext". One might be able to read out the text file that logkext writes to and use that. Might be not instant and probably involves a lot of parsing…

  • Why do you think you want to do this? Seems pretty evil to me.

Sign In or Register to comment.