freebsd-dev/sys
yokota 1ce5f6b425 - Add support for the following mice to psm/moused/sysmouse:
MS IntelliMouse, Kensington Thinking Mouse, Genius NetScroll,
  Genius NetMouse, Genius NetMouse Pro, ALPS GlidePoint, ASCII
  MieMouse, Logitech MouseMan+, FirstMouse+

- The `psm' driver is made to recognize various models of PS/2 mice
and enable their extra features so that their additional buttons and
wheel/roller are recognized. The name of the detected model will be
printed at boot time.

- A set of new ioctl functions are added to the `psm', `mse' and
`sysmouse' drivers so that the userland program (such as the X server)
can query device information and change driver settings.

- The wheel/roller movement is handled as the `Z' axis movement by the
mouse drivers and the moused daemon. The Z axis movement may be mapped
to another axis movement or buttons.

- The mouse drivers support a new, standard mouse data format,
MOUSE_PROTO_SYSMOUSE format which can encode x, y, and x axis movement
and up to 10 buttons.

/sys/i386/include/mouse.h
- Added some fields to `mousestatus_t' to store Z axis movement
  and flag bits.
- Added the field `model' to `mousehw_t' to store mouse model code.
  Defined model codes.
- Extended `mousemode_t'.
- Added new protocols and some constants for them.
- Added new ioctl functions and structures.
- Removed obsolete ioctl definitions.

/sys/i386/include/console.h
- Added `dz' field to the structure `mouse_data' to pass Z axis movement
  to `syscons/sysmouse'.
- Removed LEFT_BUTTON, MIDDLE_BUTTON and RIGHT_BUTTON.  Use button bits
  defined in `mouse.h' instead.

/sys/i386/isa/psm.c
- Added a set of functions to detect various mice which have additional
  features (wheel and buttons) unavailable in the standard PS/2 mouse.
- Refined existing ioctl functions and added new ones.  Most important
  of all is MOUSE_SETLEVEL which manipulates the output level of the driver.
  While the output level remains zero, the output from the `psm' driver is
  in the standard PS/2 mouse format (three bytes long).  When the level
  is set to one, the `psm' driver will send data in the extended format.
  At the level two the driver uses the format which is native to the
  connected mouse is used. (Meaning that the output from the device is
  passed to the caller as is, unmodified.)  The `psm'  driver will pass
  such extended data format as is to the caller if the output level is
  two, but emulates the standard format if the output level is zero.
- Added kernel configuration flags to set initial resolution
  (PSM_CONFIG_RESOLUTION) and acceleration (PSM_CONFIG_ACCEL).
- Removed the compile options PSM_ACCEL, PSM_CHECKSYNC and PSM_EMULATION.
  Acceleration ratio is now specified by the kernel configuration flags
  stated above.  Sync check logic is refined and now standard.
  The sync check can be turned off by the new kernel configuration flags
  PSM_CONFIG_NOCHECKSYNC (0x100).  PSM_EMULATION has been of little use.
- Summer clean up :-)  Removed unused code and obsolete comments.

/sys/i386/isa/mse.c
- Created mseioctl() to deal with ioctl functions MOUSE_XXXX.
  Most importantly, the MOUSE_SETLEVEL ioctl will change the
  output format from the 5 byte format to the new, extended format
  so that the caller can take advantage of Z axis movement and additional
  buttons.
- Use constants defined in `mouse.h' rather than magic numbers.

/sys/i386/isa/syscons.c
- Changed scioctl() to reflect the new `console.h' and some of the new
  ioctls defined in `mouse.h'.  Most importantly, the MOUSE_SETLEVEL
  ioctl will change the `sysmouse' output format from the MouseSystems
  5 byte format to the new, extended format so that the caller can
  take advantage of Z axis movement and additional buttons.
- Added support for double/triple click actions of the left button and
  single click action of the right button in the virtual console.  The
  left button double click will select a word under the mouse pointer.
  The triple click will select a line and the single click of the right
  button will extend the selected region to the current position of
  the mouse pointer.  This will make the cut/paste support more compatible
  with xterm.

/sys/i386/isa/kbdio.h
- Added PSM_INTELLI_ID.
1997-12-07 08:09:19 +00:00
..
alpha - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
amd64 Changes to allow event-based process monitoring and control. 1997-12-06 04:11:14 +00:00
compat Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
compile
conf Removed obsolete options: PSM_CHECKSYNC, PSM_ACCEL and PSM_EMULATION. 1997-12-07 08:07:17 +00:00
contrib/ipfilter/netinet Import kernel parts of ipfilter-3.2.1 1997-11-16 05:55:52 +00:00
ddb Some fixes from John Hood: 1997-12-05 05:36:58 +00:00
dev - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
fs Clear the stop events and wakeup the process on teh last close of the 1997-12-07 04:01:03 +00:00
geom There is no ccdread() nor ccdwrite(). 1997-11-18 14:39:04 +00:00
gnu Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
i386 - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
isa - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
isofs/cd9660 Staticize a few things. 1997-11-18 14:40:36 +00:00
kern Slight performance improvement, removal of unneeded SPLs. 1997-12-07 04:06:41 +00:00
libkern Rename some local variables to avoid shadowing other local variables. 1997-11-07 09:21:01 +00:00
miscfs Clear the stop events and wakeup the process on teh last close of the 1997-12-07 04:01:03 +00:00
modules - The daemon might go off the screen and crashed the system if the 1997-10-26 07:35:18 +00:00
msdosfs Reviewed by: various. 1997-11-12 05:42:33 +00:00
net Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
netatalk Fix various problems with netatalk kernel support. 1997-10-29 00:30:52 +00:00
netinet Add Matt Dillon's quick fix hack for the self-connect DoS. 1997-11-20 20:04:49 +00:00
netipx Removed unused #includes. 1997-10-28 15:59:26 +00:00
netkey Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
netnatm Removed unused #includes. 1997-10-28 15:59:26 +00:00
netns
nfs Don't call malloc(..., M_WAITOK) at splnet(). Doing so is often 1997-11-24 14:18:00 +00:00
nfsclient Don't call malloc(..., M_WAITOK) at splnet(). Doing so is often 1997-11-24 14:18:00 +00:00
nfsserver Don't call malloc(..., M_WAITOK) at splnet(). Doing so is often 1997-11-24 14:18:00 +00:00
pc98 Use ENOIOCTL instead of -1 (= ERESTART) for diskslice ioctls that are 1997-12-06 14:27:56 +00:00
pccard - Remove the code that cleared out the registers (previously enabled by the 1997-12-02 23:23:14 +00:00
pci Fix size of start queue to 32 entries, independent of the default 1997-12-02 22:37:58 +00:00
powerpc/include
rpc
scsi Use ENOIOCTL instead of -1 (= ERESTART) for diskslice ioctls that are 1997-12-06 14:27:56 +00:00
sys - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
tools Removed unused #includes. 1997-10-28 15:59:26 +00:00
ufs Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
vm Support an optional, sysctl enabled feature of idle process swapout. This 1997-12-06 02:23:36 +00:00
Makefile