Subject: CVS commit: xsrc
To: None <source-changes@netbsd.org>
From: Shin Takemura <takemura@netbsd.org>
List: source-changes
Date: 07/29/2000 17:23:59
Module Name: xsrc
Committed By: takemura
Date: Sat Jul 29 14:23:58 UTC 2000
Modified Files:
xsrc/xc/programs/Xserver/hw/netbsd/hpc: hpc.h hpcInit.c hpcKbd.c
hpcMouse.c
Log Message:
3 button mouse emulation by Matthew Orgass.
Here is the code to add mouse button
emulation. It uses WIN-# where # is between 1 and 5. If just WIN is
pressed, no button event is generated. Real buttons two or higher are
considered down if the real button or the emulated button is down. Also,
a bug is fixed that would cause extended keys not to be recognized on the
first key press (since hpcKbdGetEvents would return with NumEvents 0 but
Again TRUE if the key was extended).
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 xsrc/xc/programs/Xserver/hw/netbsd/hpc/hpc.h \
xsrc/xc/programs/Xserver/hw/netbsd/hpc/hpcKbd.c \
xsrc/xc/programs/Xserver/hw/netbsd/hpc/hpcMouse.c
cvs rdiff -r1.2 -r1.3 xsrc/xc/programs/Xserver/hw/netbsd/hpc/hpcInit.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.