Provided by: inputplug_0.2-2_amd64 bug

NAME

       inputplug - XInput event monitor

SYNOPSIS

       inputplug [-a address] [-f path] [-v] [-n] -c command-prefix

DESCRIPTION

       inputplug is a daemon which connects to a running X server and monitors its XInput
       hierarchy change events. Such events arrive when a device being attached or removed,
       enabled or disabled etc.

       When a hierarchy change happens, inputplug parses the event notification structure, and
       calls the command specified by command-prefix. The command receives three arguments:

       command-prefix event-type device-id device-type

       Event type may be one of the following:

       •   XIMasterAddedXIMasterRemovedXISlaveAddedXISlaveRemovedXISlaveAttachedXISlaveDetachedXIDeviceEnabledXIDeviceDisabled

       Device type may be any of those:

       •   XIMasterPointerXIMasterKeyboardXISlavePointerXISlaveKeyboardXIFloatingSlave

       Device identifier is an integer.

       Also, if compiled with libixp, inputplug can post events to the wmii event file.  To
       enable wmii support, the address of its 9P server needs to be specified.

OPTIONS

       A summary of options is included below.

       -v  Be a bit more verbose.

       -n  Start up, monitor events, but don't actually run anything.  With verbose more enabled,
           would print the actual command it'd run. Currently useless, as inputplug detaches from
           the terminal immediately after start.

       -c command-prefix
           Command prefix to run. Unfortunately, currently this is passed to execvp(3) directly,
           so spaces aren't allowed. This is subject to change in future.

       -a address
           The address at which to connect to wmii. The address takes the form
           <protocol>!<address>. If an empty string is passed, inputplug tries to find wmii
           automatically.

       -f path
           Path to the event file within 9P filesystem served by wmii.  The default is /event.

ENVIRONMENT

       DISPLAY
           X11 display to connect to.

       WMII_ADDRESS
           wmii address.

BUGS

       Probably, there are some.

SEE ALSO

       xinput(1)

COPYRIGHT

       Copyright (C) 2013, Andrew Shadura.

       Licensed as MIT/X11.

AUTHOR

       Andrew Shadura <andrewsh@debian.org>

                                            2013-12-07                               inputplug(1)