Mouse manager (QNX)
Mouse [-n name] & Mouse [-n name] test
The Mouse manager manages the mouse for system components which are not capable of dealing directly with the Input manager. This includes text-mode mouse applications (such as some mouse-aware editors and Watcom's wd debugger) and older versions of graphical user interfaces for QNX.
It reads and interprets a stream of data from the Input manager (through the file /dev/mousein), and processes this into an internal first-in first-out queue of significant mouse events. Application programs can "read" these mouse events by sending messages to the Mouse server via a set of mouse-specific functions.
To start or terminate Mouse, you must be logged in as the superuser (root). |
Start the mouse manager, auto-detecting the mouse type.
mousetrap start
Start the mouse manager, reading data through /dev/mousein from the Input driver which is handling a Microsoft compatible serial mouse on /dev/ser1:
Mouse & Input -d/dev/mousein msoft fd -d/dev/ser1
Test that the mouse manager is functioning correctly:
Mouse test
The Mouse manager reads mouse data from the file /dev/mousein which is managed by Input (which has been given a -d /dev/mousein option).
Test output will be written to standard output.
If supplied with command-line parameters intended for earlier versions of Mouse, Mouse will automatically run mousetrap to auto-detect the mouse type and run Input appropriately. Note that mousetrap is actually a link to inputtrap which runs in a special mode when invoked as mousetrap.