You are not logged in.

#1 2012-12-30 15:20:50

runny6play
Member
Registered: 2012-02-18
Posts: 85

multiple mice

I have a synaptic track-pad and a orochi razer mouse. I want different settings for each device and for the razer I want to disable acceleration.
This may seem pretty basic, but all arch wiki articles assume one device. I do not know how to specifically multiple devices and settings for each device when one of them is removeable.


#Section "ServerLayout"
#    Identifier     "Main Layout"
#    Screen      0  "Screen0" 0 0 
#    Screen       1 "Screen1" LeftOf "Screen0" 
#    Option         "Xinerama" "0"   
#    Option         "TwinView" "0"
#    InputDevice    "Keyboard0" "CoreKeyboard"
#    InputDevice    "Mouse0" "CorePointer"
#EndSection
Section "InputDevice"

     #generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
EndSection

Offline

#2 2012-12-30 16:55:47

runny6play
Member
Registered: 2012-02-18
Posts: 85

Re: multiple mice

So far.
this was deleted

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
EndSection

my edits

Section "ServerLayout"
    Identifier     "Main Layout"
    Screen      0  "Screen0" 0 0 
    Screen       1 "Screen1" LeftOf "Screen0" 
    Option         "Xinerama" "0"   
    Option         "TwinView" "1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "orochi"  "CorePointer"
EndSection


Section "InputDevice"

     #generated from default
    Identifier     "Mouse0"
    Driver         "synaptics"
    Option         "Protocol" "auto-dev"
    Option         "Device" "/dev/mouse0"
     Option "TapButton1" "1"
              Option "TapButton2" "2"
              Option "TapButton3" "3"
              Option "VertEdgeScroll" "off"
              Option "VertTwoFingerScroll" "on"
              Option "HorizEdgeScroll" "off"
              Option "HorizTwoFingerScroll" "off"
              Option "CircularScrolling" "off"
              Option "CircScrollTrigger" "0"
              Option "EmulateTwoFingerMinZ" "40"
              Option "EmulateTwoFingerMinW" "8"
              Option "CoastingSpeed" "3"
              Option      "CircScrollTrigger"          "0"
EndSection

Section "InputDevice"

     #generated from default
    Identifier     "orochi"
    Driver         "mouse"
    Option         "Protocol" "auto-dev"
    Option         "Device" "/dev/mouse1"
     Option "AccelerationProfile" "-1"
        Option "AccelerationScheme" "none"
EndSection

xinput props

Device 'Razer Razer Orochi':
	Device Enabled (139):	1
	Coordinate Transformation Matrix (141):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (257):	0
	Device Accel Constant Deceleration (258):	1.000000
	Device Accel Adaptive Deceleration (259):	1.000000
	Device Accel Velocity Scaling (260):	10.000000
	Device Product ID (298):	5426, 19
	Device Node (299):	"/dev/input/event1"
	Evdev Axis Inversion (309):	0, 0
	Evdev Axes Swap (311):	0
	Axis Labels (312):	"Rel X" (149), "Rel Y" (150), "Rel Vert Wheel" (308)
	Button Labels (313):	"Button Left" (142), "Button Middle" (143), "Button Right" (144), "Button Wheel Up" (145), "Button Wheel Down" (146), "Button Horiz Wheel Left" (147), "Button Horiz Wheel Right" (148), "Button Side" (303), "Button Extra" (304), "Button Forward" (305), "Button Back" (306), "Button Task" (307), "Button Unknown" (302), "Button Unknown" (302), "Button Unknown" (302), "Button Unknown" (302)
	Evdev Middle Button Emulation (314):	0
	Evdev Middle Button Timeout (315):	50
	Evdev Third Button Emulation (316):	0
	Evdev Third Button Emulation Timeout (317):	1000
	Evdev Third Button Emulation Button (318):	3
	Evdev Third Button Emulation Threshold (319):	20
	Evdev Wheel Emulation (320):	0
	Evdev Wheel Emulation Axes (321):	0, 0, 4, 5
	Evdev Wheel Emulation Inertia (322):	10
	Evdev Wheel Emulation Timeout (323):	200
	Evdev Wheel Emulation Button (324):	4
	Evdev Drag Lock Buttons (325):	0

it doesn't seem like its working

Last edited by runny6play (2012-12-30 17:05:44)

Offline

#3 2012-12-30 17:05:25

Gusar
Member
Registered: 2009-08-25
Posts: 3,466

Re: multiple mice

I don't know what documentation you're reading, but ServerLayout and InputDevice sections are outdated.

Read up on InputClass sections, particularly about MatchIsPointer and other match settings.

Offline

#4 2012-12-30 17:42:13

runny6play
Member
Registered: 2012-02-18
Posts: 85

Re: multiple mice

Gusar wrote:

I don't know what documentation you're reading, but ServerLayout and InputDevice sections are outdated.


edit: So i Understand InputClasses now, but how do you know what to specify. for instance I just want one for my orochi mouse. what do input classes use to pick up on the devices.
also what is ServerLayout replaced with
my mouse is also showing up as two devices. one with accel and one without.

Last edited by runny6play (2012-12-30 18:20:54)

Offline

Board footer

Powered by FluxBB