freebsd-dev/sys/isa
Kazutaka YOKOTA 1ee1681798 - Move the mouse cursor to the center of the screen after video
mode switch in ioctl.
Possibly related to PR: kern/4271

- A kludge: initialize scp->xpixel and ypixel even in the text mode.
If the console enters the `unknown' graphics mode via the ioctl KDSETMODE
(KD_GRAPHICS), these fields are not set (because syscons cannot know
the correct values), but set_mouse_pos() need to refer to these field
to adjust the mouse position.

- Turn off MOUSE_VISIBLE when switching video mode by ioctl.

- another new option: SC_MOUSE_CHAR
Define the first character code of four consecutive codes to be used for
the mouse cursor.  Default codes are 0xd0 through 0xd3.  Beware that
if you decide to use any codes outside the range of 0xc0-0xdf,
the mouse cursor may not look good, because of the way VGA displays
characters in 9-dot-wide character cells.
Requested by several people.

(This patch was tested by a person who recently reported, in the -current
ML, a page fault problem in the kernel (draw_mouse_iamge()) after
X server shutdown. The patch cured his problem.)
1998-02-11 15:02:40 +00:00
..
ic Enable the FIFO on enhanced floppy controllers. This reduces the 1997-09-17 20:16:17 +00:00
atrtc.c Staticize. 1998-02-09 06:11:36 +00:00
fd.c Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style. 1998-01-24 02:54:56 +00:00
fdc.h Enable the FIFO on enhanced floppy controllers. This reduces the 1997-09-17 20:16:17 +00:00
fdreg.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
joy.c Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style. 1998-01-24 02:54:56 +00:00
kbdio.c Removed unused #includes. 1997-07-20 14:10:18 +00:00
kbdio.h - Add support for the following mice to psm/moused/sysmouse: 1997-12-07 08:09:19 +00:00
kbdtables.h Define CTL-ALT-ESC as the debug' key, CTL-ALT-SPACE as the suspend'key 1998-01-28 08:45:18 +00:00
ppc.c Removed unused #includes. 1997-09-01 02:08:42 +00:00
ppcreg.h Minor ppc_data structure tweak. 1997-08-16 14:07:26 +00:00
rtc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
sio.c Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style. 1998-01-24 02:54:56 +00:00
sioreg.h Bring back CONSPEED as a last-ditch default if you can't change the speed 1997-06-04 16:25:15 +00:00
syscons.c - Move the mouse cursor to the center of the screen after video 1998-02-11 15:02:40 +00:00
syscons.h Make comp_vgaregs() less strict about VGA register values when 1997-11-21 11:37:07 +00:00
timerreg.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00