On Sat, Jan 16, 2010 at 19:43, Sergey Mironov <[email protected]> wrote:
> Hi. Could anybody expose some examples for fake_input() function?
> I'd like to carry out an experiment with macros replaying. I want to
> send series of key press events (with Ctrl and Shift, please) to
> specific client, but seems, that wiki and maillist know nothing about
> it.

You can only send events to the client in focus. You can have a look
at 'fake input' section here:
http://github.com/koniu/awesome-configs/blob/master/functions.lua

eg. sendkey{105,36} will send ctrl+return to the client (keycodes
taken from xev).

hope that helps
koniu

-- 
To unsubscribe, send mail to [email protected].

Reply via email to