EnglishFrenchSpanish

OnWorks favicon

inputplug - Online in the Cloud

Run inputplug in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command inputplug that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


inputplug - XInput event monitor

SYNOPSIS


inputplug [-a address] [-f path] [-v] [-n] [-d] [-0] -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 device-name

Event type may be one of the following:

· XIMasterAdded

· XIMasterRemoved

· XISlaveAdded

· XISlaveRemoved

· XISlaveAttached

· XISlaveDetached

· XIDeviceEnabled

· XIDeviceDisabled

Device type may be any of those:

· XIMasterPointer

· XIMasterKeyboard

· XISlavePointer

· XISlaveKeyboard

· XIFloatingSlave

Device identifier is an integer. Beware that the device name is likely to contain spaces.

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. This implies -d.

-d Don't daemonize. Run in the foreground.

-0 On start, trigger added and enabled events for each plugged devices. A master device
will trigger the "added" event while a slave device will trigger both the "added" and
the "enabled" device.

-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.

Use inputplug online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 2
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 3
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • 4
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 5
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 6
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • More »

Linux commands

Ad