DragonFly On-Line Manual Pages  SYSMOUSE(4)           DragonFly
Kernel Interfaces Manual           SYSMOUSE(4)   sysmouse --
virtualized mouse driver   #include <sys/mouse.h> #include
<machine/console.h>   The console driver, in conjunction with
the mouse daemon moused(8), sup- plies mouse data to the user
process in the standardized way via the sysmouse driver. This
arrangement makes it possible for the console and the user
process (such as the X Window System) to share the mouse. The
user process which wants to utilize mouse operation simply opens
/dev/sysmouse with a open(2) call and reads mouse data from the
device via read(2). Make sure that moused(8) is running,
otherwise the user process won't see any data coming from the
mouse. Operation Levels The sysmouse driver has two levels of
operation. The current operation level can be referred to and
changed via ioctl calls. The level zero, the basic level, is the
lowest level at which the driver offers the basic service to
user programs. The sysmouse driver provides ho