mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +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
|
; PS/2 mouse port driver
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\Psaux","Start",0x00010001,0x00000001
|
HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt","Start",0x00010001,0x00000001
|
||||||
|
|
||||||
|
|
||||||
; Serial mouse driver
|
; Serial mouse driver
|
||||||
;HKLM,"SYSTEM\CurrentControlSet\Services\Sermouse","Start",0x00010001,0x00000001
|
;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","SampleRate",0x00010001,0x00000060
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt\Parameters","BreakOnSysRq",0x00010001,0x00000001
|
HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt\Parameters","BreakOnSysRq",0x00010001,0x00000001
|
||||||
|
HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt\Parameters","MouseResolution",0x00010001,0x00000003
|
||||||
|
|
||||||
; Keyboard class driver
|
; Keyboard class driver
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\kbdclass","ErrorControl",0x00010001,0x00000000
|
HKLM,"SYSTEM\CurrentControlSet\Services\kbdclass","ErrorControl",0x00010001,0x00000000
|
||||||
|
|
|
@ -87,7 +87,7 @@ typedef struct _I8042_SETTINGS
|
||||||
DWORD OverrideKeyboardSubtype;
|
DWORD OverrideKeyboardSubtype;
|
||||||
DWORD MouseResendStallTime;
|
DWORD MouseResendStallTime;
|
||||||
DWORD MouseSynchIn100ns;
|
DWORD MouseSynchIn100ns;
|
||||||
DWORD MouseResolution;
|
DWORD MouseResolution; /* done */
|
||||||
DWORD NumberOfButtons;
|
DWORD NumberOfButtons;
|
||||||
DWORD EnableWheelDetection;
|
DWORD EnableWheelDetection;
|
||||||
} I8042_SETTINGS, *PI8042_SETTINGS;
|
} I8042_SETTINGS, *PI8042_SETTINGS;
|
||||||
|
|
|
@ -299,7 +299,9 @@ BOOLEAN STDCALL I8042MouseResetIsr(PDEVICE_EXTENSION DevExt,
|
||||||
DevExt->MouseResetState = ExpectingFinalResolutionACK;
|
DevExt->MouseResetState = ExpectingFinalResolutionACK;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
case ExpectingFinalResolutionACK:
|
case ExpectingFinalResolutionACK:
|
||||||
I8042IsrWritePortMouse(DevExt, 0x03);
|
I8042IsrWritePortMouse(DevExt,
|
||||||
|
DevExt->Settings.MouseResolution & 0xff);
|
||||||
|
DPRINT1("%x\n", DevExt->Settings.MouseResolution);
|
||||||
DevExt->MouseResetState = ExpectingFinalResolutionValueACK;
|
DevExt->MouseResetState = ExpectingFinalResolutionValueACK;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
case ExpectingFinalResolutionValueACK:
|
case ExpectingFinalResolutionValueACK:
|
||||||
|
|
Loading…
Reference in a new issue