|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
The synaptics driver is already included in the base system:
Code:
Puffy:~$ pkg_locate synaptics xbase64:/usr/X11R6/include/xorg/synaptics-properties.h xserv64:/usr/X11R6/lib/modules/input/synaptics_drv.la xserv64:/usr/X11R6/lib/modules/input/synaptics_drv.so xserv64:/usr/X11R6/lib/pkgconfig/xorg-synaptics.pc xserv64:/usr/X11R6/man/man4/synaptics.4 xserv64:/usr/X11R6/share/X11/xorg.conf.d/70-synaptics.conf dtb-4.20:sysutils/dtb:/usr/local/share/dtb/arm64/synaptics/ dtb-4.20:sysutils/dtb:/usr/local/share/dtb/arm64/synaptics/berlin4ct-dmp.dtb dtb-4.20:sysutils/dtb:/usr/local/share/dtb/arm64/synaptics/berlin4ct-stb.dtb Puffy:~$ Otherwise the umt(4) driver is loaded, that can be controlled with wsconsctl(8): Code:
Puffy:~$ doas wsconsctl | grep mouse wsconsctl: Use explicit arg to view keyboard.map. mouse.type=synaptics mouse.rawmode=0 mouse.scale=1472,5888,1408,4810,0,97,188 mouse.tp.tapping=0 mouse.tp.scaling=0.165 mouse.tp.swapsides=0 mouse.tp.disable=0 mouse.tp.edges=0.0,5.0,0.0,5.0 mouse1.type=ps2 Puffy:~$
__________________
Are you infected with Wetiko? |
|
||||
Quote:
Code:
Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "VertEdgeScroll" "on" Option "HorizEdgeScroll" "on" EndSection Code:
# Example xorg.conf.d snippet that assigns the touchpad driver # to all touchpads. See xorg.conf.d(5) for more information on # InputClass. # DO NOT EDIT THIS FILE, your distribution will likely overwrite # it when updating. Copy (and rename) this file into # /etc/X11/xorg.conf.d first. # Additional options may be added in the form of # Option "OptionName" "value" # Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "VertEdgeScroll" "on" Option "HorizEdgeScroll" "on" EndSection ## This option is recommend on all Linux systems using evdev, but cannot be ## enabled by default. See the following link for details: ## http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html ## MatchDevicePath "/dev/input/event*" #EndSection # This option enables the bottom right corner to be a right button on clickpads # and the right and middle top areas to be right / middle buttons on clickpads # with a top button area. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Default clickpad buttons" MatchDriver "synaptics" Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%" EndSection # This option disables software buttons on Apple touchpads. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Disable clickpad buttons on Apple touchpads" MatchProduct "Apple|bcm5974" MatchDriver "synaptics" Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" EndSection |
|
||||
I think you have to keep the MatchDevicePath "/dev/input/event*" line commented out, here is my file:
Code:
Puffy:~$ cat /etc/X11/xorg.conf.d/70-synaptics.conf # Example xorg.conf.d snippet that assigns the touchpad driver # to all touchpads. See xorg.conf.d(5) for more information on # InputClass. # DO NOT EDIT THIS FILE, your distribution will likely overwrite # it when updating. Copy (and rename) this file into # /etc/X11/xorg.conf.d first. # Additional options may be added in the form of # Option "OptionName" "value" # Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" ## This option is recommend on all Linux systems using evdev, but cannot ## enabled by default. See the following link for details: ## http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.h ## MatchDevicePath "/dev/input/event*" Option "VertEdgeScroll" "on" Option "VertTwoFingerScroll" "off" EndSection Section "InputClass" Identifier "touchpad ignore duplicates" MatchIsTouchpad "on" MatchOS "Linux" MatchDevicePath "/dev/input/mouse*" Option "Ignore" "on" EndSection # This option enables the bottom right corner to be a right button on cli # and the right and middle top areas to be right / middle buttons on clic # with a top button area. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Default clickpad buttons" MatchDriver "synaptics" Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%" EndSection # This option disables software buttons on Apple touchpads. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Disable clickpad buttons on Apple touchpads" MatchProduct "Apple|bcm5974" MatchDriver "synaptics" Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" EndSection Puffy:~$
__________________
Are you infected with Wetiko? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touchpad mouse scrolling | dragan | OpenBSD General | 3 | 20th March 2017 08:28 PM |
Xorg right click with touchpad | psypro | OpenBSD General | 30 | 30th October 2016 10:14 PM |
NetBSD and a Synaptics Touchpad | gmjs | NetBSD General | 16 | 17th July 2014 03:19 PM |
Synaptics touchpad is slower on OpenBSD 5.2 -current | daemonfowl | OpenBSD General | 4 | 26th June 2012 05:20 PM |
Scrolling touchpad on T500 | There0 | OpenBSD General | 0 | 28th December 2009 08:01 PM |