Skip to content
Blub edited this page Sep 14, 2010 · 2 revisions

In write-mode (netevent -write), the program reads the device information, and the device events from stdin. It expects the data to be in the format generated by Read Mode.
This mode uses the uinput special device to then create the same device again and passes the events it reads to the newly created device. This means that every event it reads from stdin will be executed by the device. It will act as if the device was physically connected to the new event device file.
You can use this on a machine on which you wish to clone an input device from another machine. See Share devices over the net.

Options for write mode:

option effect
-hotkey type:code:value <command> Whenever the currently read event equals the specified combination of type code and value (see Event types), drop the event (it will not be sent to the device file), and execute the specified command using sh -c <command>. The 3 special commands “@toggle”, “@toggle-on”, “@toggle-off” have no effect in this mode.