mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
- remove double entry in inf
- load mouse settings - TODO: mouse settings doesn't work properly, but read and set works svn path=/trunk/; revision=43288
This commit is contained in:
parent
6f249378c9
commit
374363363d
2 changed files with 15 additions and 15 deletions
|
@ -23,7 +23,6 @@ HKCU,"Control Panel\Desktop","SCRNSAVE.EXE",0x00000000,""
|
|||
HKCU,"Control Panel\Desktop","WaitToKillAppTimeout",0x00000002,"20000"
|
||||
HKCU,"Control Panel\Desktop","Wallpaper",0x00000000,""
|
||||
HKCU,"Control Panel\Desktop","FontSmoothing",2,"0"
|
||||
HKCU,"Control Panel\Desktop","DragFullWindows",2,"0"
|
||||
HKCU,"Control Panel\Desktop","SmoothScroll",3,00,00,00,00
|
||||
HKCU,"Control Panel\Desktop","UserPreferenceMask",3,10,00,00,80
|
||||
HKCU,"Control Panel\Desktop","LowPowerActive",,"0"
|
||||
|
|
|
@ -216,11 +216,25 @@ SpiUpdatePerUserSystemParameters()
|
|||
/* Load desktop settings */
|
||||
gspv.bDragFullWindows = SpiLoadInt(KEY_DESKTOP, VAL_DRAG, 0);
|
||||
|
||||
/* Load mouse settings */
|
||||
gspv.bMouseBtnSwap = SpiLoadInt(KEY_MOUSE, VAL_SWAP, 0);
|
||||
gspv.iMouseSpeed = SpiLoadInt(KEY_MOUSE, VAL_MOUSE3, 1);
|
||||
gspv.iDblClickTime = SpiLoadInt(KEY_MOUSE, VAL_DBLCLKTIME, 500);
|
||||
gspv.iDblClickWidth = SpiLoadInt(KEY_MOUSE, VAL_DBLCLKWIDTH, 4);
|
||||
gspv.iDblClickHeight = SpiLoadInt(KEY_MOUSE, VAL_DBLCLKHEIGHT, 4);
|
||||
|
||||
/* Some hardcoded values for now */
|
||||
gspv.iMouseHoverTime = 80;
|
||||
gspv.iMouseHoverWidth = 4;
|
||||
gspv.iMouseHoverHeight = 4;
|
||||
gspv.iWheelScrollLines = 3;
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
gspv.uiWheelScrollChars = 1;
|
||||
#endif
|
||||
|
||||
gspv.tmCaptionFont.tmAveCharWidth = 6;
|
||||
gspv.bBeep = TRUE;
|
||||
gspv.bFlatMenu = FALSE;
|
||||
gspv.iDblClickTime = 500;
|
||||
gspv.uiFocusBorderWidth = 1;
|
||||
gspv.uiFocusBorderHeight = 1;
|
||||
gspv.bMenuDropAlign = 1;
|
||||
|
@ -228,19 +242,6 @@ SpiUpdatePerUserSystemParameters()
|
|||
gspv.dwUserPrefMask = UPM_DEFAULT;
|
||||
gspv.dwMenuShowDelay = 100;
|
||||
|
||||
gspv.bMouseBtnSwap = FALSE;
|
||||
gspv.iMouseSpeed = 10;
|
||||
gspv.iMouseHoverTime = 80;
|
||||
gspv.iMouseHoverWidth = 4;
|
||||
gspv.iMouseHoverHeight = 4;
|
||||
gspv.iDblClickTime = 500;
|
||||
gspv.iDblClickWidth = 4;
|
||||
gspv.iDblClickHeight = 4;
|
||||
gspv.iWheelScrollLines = 3;
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
gspv.uiWheelScrollChars = 1;
|
||||
#endif
|
||||
|
||||
gspv.iScrSaverTimeout = 10;
|
||||
gspv.bScrSaverActive = FALSE;
|
||||
gspv.bScrSaverRunning = FALSE;
|
||||
|
|
Loading…
Reference in a new issue