mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
*** programs/Xserver/hw/xfree86/input/mouse/mouse.c.orig Sat Jul 1 01:39:02 2000
|
|
--- programs/Xserver/hw/xfree86/input/mouse/mouse.c Fri Sep 22 11:30:18 2000
|
|
***************
|
|
*** 584,591 ****
|
|
{ 0xc0, 0x00, 0x00, 0x00, 6, 0x00, 0xff, MPF_NONE }, /* NetScroll */
|
|
/* Bus Mouse */
|
|
{ 0xf8, 0x80, 0x00, 0x00, 5, 0x00, 0xff, MPF_NONE }, /* BusMouse */
|
|
! /* Auto */
|
|
! { 0xf8, 0x80, 0x00, 0x00, 5, 0x00, 0xff, MPF_NONE }, /* dummy entry */
|
|
};
|
|
|
|
/*
|
|
--- 584,591 ----
|
|
{ 0xc0, 0x00, 0x00, 0x00, 6, 0x00, 0xff, MPF_NONE }, /* NetScroll */
|
|
/* Bus Mouse */
|
|
{ 0xf8, 0x80, 0x00, 0x00, 5, 0x00, 0xff, MPF_NONE }, /* BusMouse */
|
|
! { 0xf8, 0x80, 0x00, 0x00, 5, 0x00, 0xff, MPF_NONE }, /* Auto */
|
|
! { 0xf8, 0x80, 0x00, 0x00, 8, 0x00, 0xff, MPF_NONE }, /* SysMouse */
|
|
};
|
|
|
|
/*
|
|
*** programs/Xserver/hw/xfree86/os-support/bsd/bsd_mouse.c.orig Sat Feb 12 21:45:41 2000
|
|
--- programs/Xserver/hw/xfree86/os-support/bsd/bsd_mouse.c Fri Sep 22 11:30:18 2000
|
|
***************
|
|
*** 165,171 ****
|
|
--- 165,179 ----
|
|
mode.rate = rate > 0 ? rate : -1;
|
|
mode.resolution = res > 0 ? res : -1;
|
|
mode.accelfactor = -1;
|
|
+ #if defined(__FreeBSD__)
|
|
+ /*
|
|
+ * As the FreeBSD sysmouse driver defaults to protocol level 0 everytime
|
|
+ * it is opened we enforce protocol level 1 again at this point.
|
|
+ */
|
|
+ mode.level = 1;
|
|
+ #else
|
|
mode.level = -1;
|
|
+ #endif
|
|
ioctl(pInfo->fd, MOUSE_SETMODE, &mode);
|
|
}
|
|
#endif
|