Arduino leonardo as Keyboard works only when app is active

balam's icon

Hi
I got a Leonardo and using the example code had it running with mas as keyboard keys
works really well, my question is :
is possible to have a standalone minimized or in the background and listen to keys

any advice is more than welcome.

Balam

balam's icon

any One?

Medd's icon

This is the general behaviour of [key], as far as I'm aware. I've been using my new Leonardo with [serial] to allow 'background' input (also making it compatible with my older Duemilanove).

EDIT: Yeah, seems that other people have just used [hi] instead of [key]: https://cycling74.com/forums/getting-key-object-to-work-when-another-application-is-in-focus