freebsd-dev/sys/i386/include
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
..
pc Nuke the nonexistend pad bytes from the end of the DMI header structure. 1997-08-04 03:31:23 +00:00
_limits.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ansi.h Add _BSD_CLOCKID_T_ and _BSD_TIMER_T_ for posix clock/timer support 1997-05-08 13:45:43 +00:00
apic.h Eliminate frequent silo overflows by restoring the TEST_LOPRIO code. 1997-08-04 17:31:43 +00:00
apicreg.h Eliminate frequent silo overflows by restoring the TEST_LOPRIO code. 1997-08-04 17:31:43 +00:00
apm_bios.h Expand the APMIO_GETINFO ioctl to return the estimated remaining 1997-11-12 04:12:51 +00:00
apm_segments.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
asc_ioctl.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
asm.h Fixed longstanding profiling bug. The frame pointer wasn't set up 1997-04-23 19:26:04 +00:00
asmacros.h Make the necessary changes so that an ELF kernel can be built. I 1997-04-22 06:55:47 +00:00
asnames.h oops, I seem to have forgotten to commit this. redirect _cam_imask to 1997-09-29 02:17:42 +00:00
bootinfo.h Add support for booting in VESA 0x102 videomode. Corresponding patches to 1997-07-31 08:07:54 +00:00
cdk.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
clock.h correct the order of the variables 1997-05-05 09:34:33 +00:00
comstats.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
conf.h Pass 3 of the great devsw changes 1995-12-08 11:19:42 +00:00
cons.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
console.h - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
cpu.h Don't include <machine/cputypes.h> or declare cputype/class interfaces 1997-10-28 11:43:57 +00:00
cpufunc.h General cleanup of the lock pushdown code. They are grouped and enabled 1997-09-07 22:04:09 +00:00
cputypes.h Don't include <machine/cputypes.h> or declare cputype/class interfaces 1997-10-28 11:43:57 +00:00
cronyx.h Fixed pedantic ANSI C errors: 1997-07-20 10:14:28 +00:00
db_machdep.h Backed out rev.1.5. if %cs is bad, %eip may be bad, but this is no longer 1997-03-28 12:46:52 +00:00
dvcfg.h Moved include files which are independent of bs driver. 1997-08-28 09:23:57 +00:00
elf.h Define some machine characteristics using symbol naming on conventions 1997-08-30 18:59:48 +00:00
endian.h Put I*86_CPU options in opt_global.h and don't #include "opt_cpu.h" 1997-08-31 22:43:46 +00:00
exec.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
float.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
floatingpoint.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
frame.h VM86 kernel support. 1997-08-09 00:04:06 +00:00
gsc.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ieeefp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_wl_wavelan.h New defines for the Wavelan (wl) driver. 1997-08-01 03:33:43 +00:00
in_cksum.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
ioctl_bt848.h Reviewed by: Amancio Hasty 1997-11-16 04:52:29 +00:00
ioctl_ctx.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ioctl_fd.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ioctl_meteor.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ipl.h ipl.h: 1997-09-21 21:38:54 +00:00
joystick.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
limits.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
lock.h General cleanup of the lock pushdown code. They are grouped and enabled 1997-09-07 22:04:09 +00:00
lpt.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
md_var.h Moved some extern declarations to header files (unused ones to /dev/null). 1997-11-20 19:30:35 +00:00
mouse.h - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
mpapic.h Modified the PEND_INTS algorithm to fix the ISA INT loss problem. 1997-07-28 03:59:54 +00:00
mptable.h Use UPAGES when setting up private pages for SMP (which includes idle stack). 1997-11-07 19:58:34 +00:00
mtpr.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
npx.h Removed unused #includes and a stale forward declaration. 1997-07-20 11:06:44 +00:00
param.h Another round of lock pushdown. 1997-08-30 08:08:10 +00:00
pcaudioio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
pcb_ext.h A couple of missing doscmd header files. Messed up again. Now can 1997-08-09 04:55:05 +00:00
pcb.h Don't #include unneeded includes here. pcb_ext.h picks up lots of other 1997-10-10 12:40:09 +00:00
pci_cfgreg.h Completely replace the PCI bus driver code to make it better reflect 1997-05-26 15:08:43 +00:00
pcvt_ioctl.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
perfmon.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
pmap.h Moved some extern declarations to header files (unused ones to /dev/null). 1997-11-20 19:30:35 +00:00
proc.h Convert md_regs from an int[] to a struct trapframe *. It simplifies 1997-05-07 19:55:13 +00:00
profile.h Another round of lock pushdown. 1997-08-30 08:08:10 +00:00
psl.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ptrace.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
qcam.h Don't default to (wrong) SCO definitions for _IOR() etc. if <sys/ioctl.h> 1997-03-24 11:07:52 +00:00
random.h Update select -> poll in drivers. 1997-09-14 03:19:42 +00:00
reg.h Preserve %fs and %gs across context switches. This has a relatively low 1997-06-07 04:36:10 +00:00
reloc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
segments.h Revert my previous commit about using CS_SECURE macro. 1997-08-21 06:33:04 +00:00
si.h ipl.h: 1997-09-21 21:38:54 +00:00
signal.h VM86 kernel support. 1997-08-09 00:04:06 +00:00
smp.h General cleanup of the lock pushdown code. They are grouped and enabled 1997-09-07 22:04:09 +00:00
smptests.h DISABLE LEVEL_3 lock pushdown, somethings seems to have broken! 1997-09-07 23:06:15 +00:00
soundcard.h Upgrade the sound sources to Amancio Hasty's latest-and-greatest. 1997-10-31 06:30:22 +00:00
speaker.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
specialreg.h Enabled the FPU emilaute bit define: CR0_EM 1997-07-21 17:53:51 +00:00
spigot.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
stdarg.h Don't attempt to generate errors for unpromoted types in va_arg(), 1997-06-21 15:45:13 +00:00
sysarch.h VM86 kernel support. 1997-08-09 00:04:06 +00:00
trap.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tss.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
types.h move intrhand2_t from isa_device.h to machine/types.h - it's used far more 1997-05-31 09:07:36 +00:00
ultrasound.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
varargs.h Fixed va_arg() to work for small args (as in stdarg.h). 1997-06-21 16:20:55 +00:00
vm86.h Avoid passing some more `retval's. 1997-11-20 18:43:55 +00:00
vmparam.h Bump MAXDSIZ to 512MB so that soft limits have a chance to actually 1997-10-27 00:38:46 +00:00
wtio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00