mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
tinus
implement MouseResolution setting Me (Magnus Olsen) remove old psuax drv from hiveinst.inf and add tinus mouse drv settings add MouseResolution setting to reg svn path=/trunk/; revision=14982
This commit is contained in:
parent
0e71d1e88d
commit
7a3fb8af07
4 changed files with 7 additions and 3 deletions
|
@ -24,7 +24,8 @@ HKLM,"SYSTEM\CurrentControlSet\Services\Vga","Start",0x00010001,0x00000001
|
|||
;
|
||||
|
||||
; PS/2 mouse port driver
|
||||
HKLM,"SYSTEM\CurrentControlSet\Services\Psaux","Start",0x00010001,0x00000001
|
||||
HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt","Start",0x00010001,0x00000001
|
||||
|
||||
|
||||
; Serial mouse driver
|
||||
;HKLM,"SYSTEM\CurrentControlSet\Services\Sermouse","Start",0x00010001,0x00000001
|
||||
|
|
|
@ -583,6 +583,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt","Type",0x00010001,0x00000001
|
|||
|
||||
HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt\Parameters","SampleRate",0x00010001,0x00000060
|
||||
HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt\Parameters","BreakOnSysRq",0x00010001,0x00000001
|
||||
HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt\Parameters","MouseResolution",0x00010001,0x00000003
|
||||
|
||||
; Keyboard class driver
|
||||
HKLM,"SYSTEM\CurrentControlSet\Services\kbdclass","ErrorControl",0x00010001,0x00000000
|
||||
|
|
|
@ -87,7 +87,7 @@ typedef struct _I8042_SETTINGS
|
|||
DWORD OverrideKeyboardSubtype;
|
||||
DWORD MouseResendStallTime;
|
||||
DWORD MouseSynchIn100ns;
|
||||
DWORD MouseResolution;
|
||||
DWORD MouseResolution; /* done */
|
||||
DWORD NumberOfButtons;
|
||||
DWORD EnableWheelDetection;
|
||||
} I8042_SETTINGS, *PI8042_SETTINGS;
|
||||
|
|
|
@ -299,7 +299,9 @@ BOOLEAN STDCALL I8042MouseResetIsr(PDEVICE_EXTENSION DevExt,
|
|||
DevExt->MouseResetState = ExpectingFinalResolutionACK;
|
||||
return TRUE;
|
||||
case ExpectingFinalResolutionACK:
|
||||
I8042IsrWritePortMouse(DevExt, 0x03);
|
||||
I8042IsrWritePortMouse(DevExt,
|
||||
DevExt->Settings.MouseResolution & 0xff);
|
||||
DPRINT1("%x\n", DevExt->Settings.MouseResolution);
|
||||
DevExt->MouseResetState = ExpectingFinalResolutionValueACK;
|
||||
return TRUE;
|
||||
case ExpectingFinalResolutionValueACK:
|
||||
|
|
Loading…
Reference in a new issue