Mouse

From miki
Jump to navigation Jump to search

Mouse Settings in Windows

Some registry keys

HKEY_CURRENT_USER\Control Panel\Accessibility\MouseKeys
HKEY_CURRENT_USER\Control Panel\Mouse
HKEY_CURRENT_USER\Software\Alps\Apoint\Params\Default 
HKEY_LOCAL_MACHINE\SOFTWARE\Alps\Apoint\Params\Default      
HKEY_LOCAL_MACHINE\SOFTWARE\Alps\Apoint_Default\Params\Default             
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}       
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ACPI\PNP0F13\4&25e2ff18&0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\Vid_045e&Pid_00f9&MI_01&Col02                  
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\Vid_0461&Pid_4d03
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\Vid_0461&Pid_4d15
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\Vid_046d&Pid_c00e
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\Vid_046d&Pid_c016
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\Vid_413c&Pid_3010
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\Vid_413c&Pid_3200
HKEY_USERS\.DEFAULT\Control Panel\Mouse

It seems that settings for current user is set in HKEY_CURRENT_USER\Control Panel\Mouse

Mouse sensitivity

I need to change frequently the mouse sensitivity, when switching from MS Wireless Mouse 6000 to standard mouse or laptop mouse pad. Several options:

  • Normal process is to go to the Control Panel → Mouse, and then Pointer Options tab.
  • With Launchy installed, using plugin controly, simply type mouse to access directly the panel sheet.

The question however is whether it is possible to do this using command-line?

Mouse settings in Linux (via X)

xinput list               # list peripherals
xinput list-props 9       #list parameters from peripheral number 9
xinput set-prop 9 'Device Accel Constant Deceleration' 3 # set the acceleration of peripheral 9 to value 3. 
                                                         # The higher the value is, the more you divide the acceleration. 
                                                         # Acceleration is maximum for a value equal to 1.

For permanent settings, edit either ~/.profile or /etc/profile

Not sure how this interfers with gnome settings.