freebsd-dev/sys/dev
Kazutaka YOKOTA c6d1bed112 - 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
..
advansys Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
aic7xxx Add support to aicasm for "downloaded constants". These are immediate 1997-09-27 19:37:31 +00:00
ar Added used #include - don't depend on <sys/mbuf.h> including 1997-09-02 01:19:47 +00:00
bktr Reviewed by: Amancio Hasty 1997-11-16 04:52:29 +00:00
ccd There is no ccdread() nor ccdwrite(). 1997-11-18 14:39:04 +00:00
cy Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
de Ifdefed a conditionally used #include. 1997-11-22 06:45:57 +00:00
dgb Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
ed Add Winbond W89C940 ID to the list. 1997-11-22 06:19:59 +00:00
eisa Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
en Removed unused #includes. 1997-10-28 15:59:26 +00:00
ep Recognize 3C569 network interface when `PC98' is defined. 1997-11-27 12:59:46 +00:00
ex Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
fdc In all such uses of struct buf: 's/b_un.b_addr/b_data/g' 1997-12-02 21:07:20 +00:00
fe - Renamed <pccard/card.h> -> <pccard/cardinfo.h>. 1997-11-20 15:48:41 +00:00
fxp Shuffle things a bit for better cacheline behavior. 1997-11-29 08:11:01 +00:00
ic Enable the FIFO on enhanced floppy controllers. This reduces the 1997-09-17 20:16:17 +00:00
ie Hide a silly ``unknown board type'' message behind bootverbose. The 1997-10-15 10:09:24 +00:00
joy Removed unused #includes. 1997-07-20 14:10:18 +00:00
kbd Back out my LALT -> META change until we figure out a way to make it 1997-10-12 19:57:49 +00:00
lnc Removed unused #includes. 1997-08-02 14:33:27 +00:00
mcd In all such uses of struct buf: 's/b_un.b_addr/b_data/g' 1997-12-02 21:07:20 +00:00
mse - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
pci Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
pcm/isa update of Luigi's sound drivers... 1997-11-23 07:03:21 +00:00
pdq Add shared EISA interrupt support. 1997-09-21 21:35:24 +00:00
ppbus In all such uses of struct buf: 's/b_un.b_addr/b_data/g' 1997-12-02 21:07:20 +00:00
ppc Removed unused #includes. 1997-09-01 02:08:42 +00:00
rc Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
rp Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
scd In all such uses of struct buf: 's/b_un.b_addr/b_data/g' 1997-12-02 21:07:20 +00:00
si Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
sio Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
snp Removed unused #includes. Ifdefed a conditionally used #include. 1997-11-18 16:12:51 +00:00
sound/isa update of Luigi's sound drivers... 1997-11-23 07:03:21 +00:00
speaker In all such uses of struct buf: 's/b_un.b_addr/b_data/g' 1997-12-02 21:07:20 +00:00
sr Removed unused #includes. 1997-09-02 20:06:59 +00:00
syscons - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
vn Use ENOIOCTL instead of -1 (= ERESTART) for diskslice ioctls that are 1997-12-06 14:27:56 +00:00
vx Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
wl aha1542.c aic6360.c cy.c fd.c ft.c 1997-09-21 21:41:49 +00:00