input-cfg

Configure the mouse or pointer

Syntax:

input-cfg [-s server_name] [-x position[%][r]
          [-y position[%][r]

Runs on:

Neutrino

Options:

-s server_name
The name of the Photon server:
If server_name is: This server is used:
node_path node_path/dev/photon
fullpath fullpath
relative_path /dev/relative_path
-x position[%][r]
The x coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen width if % is specified. If r is specified, the coordinate is relative to the current console.
-y position[%][r]
The y coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen height if % is specified. If r is specified, the coordinate is relative to the current console.

Description:

You can use input-cfg to configure input devices, such as a mouse:


input-cfg window


Configuring the mouse.

You can:


Note: This utility needs to have the setuid ("set user ID") bit set in its permissions. If you use mkefs, mketfs, or mkifs on a Windows host to include this utility in an image, use the perms attribute to specify its permissions explicitly, and the uid and gid attributes to set the ownership correctly.

See also:

inputtrap

Input drivers (devi-*) in the Utilities Summary

Using the Photon microGUI in the Neutrino User's Guide