Commit 18296b38 authored by abveritas's avatar abveritas
Browse files

adding clickpad supprt to xf86-input-synaptics

parent 01d790d1
......@@ -2,8 +2,7 @@ Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.product" contains="ETPS/2 Elantech Touchpad">
<append key="info.capabilities" type="strlist">input.touchpad</append>
</match>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">2</merge>
<merge key="input.x11_options.TapButton3" type="string">3</merge>
<!-- Arbitrary options can be passed to the driver using
the input.x11_options property since xorg-server-1.5. -->
<!-- EXAMPLES:
Switch on shared memory, enables the driver to be configured at runtime
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
Maximum movement of the finger for detecting a tap
<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
Enable vertical scrolling when dragging along the right edge
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
If on, circular scrolling is used
<merge key="input.x11_options.CircularScrolling" type="string">true</merge>
For other possible options, check CONFIGURATION DETAILS in synaptics man page
-->
</match>
</device>
</deviceinfo>
......@@ -6,32 +6,36 @@
pkgname=xf86-input-synaptics
pkgver=1.4.1
pkgrel=1
pkgdesc="Synaptics driver for notebook touchpads"
pkgrel=2
pkgdesc="synaptics driver for notebook touchpads"
arch=(i686 x86_64)
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxtst')
makedepends=('xorg-server' 'libxi' 'libx11')
conflicts=('xorg-server<1.10.0')
replaces=('synaptics')
provides=('synaptics')
conflicts=('synaptics')
groups=('xorg-drivers' 'xorg')
optdepends=('synaptics-led: support fot ON/OFF swich led')
conflicts=('xorg-server<1.9.0')
provides=('xf86-input-synaptics')
conflicts=('xf86-input-synaptics')
groups=('xorg-input-drivers')
options=(!libtool)
backup=('etc/X11/xorg.conf.d/10-synaptics.conf')
source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
10-synaptics.conf)
sha1sums=('e41201476f4bc8658291808d2d6ef2e0535179ae'
'68e1f4ef5e1038231d210eb422fa4d18c5922f0f')
10-synaptics.conf
synaptics-clickpad-support.patch)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../synaptics-clickpad-support.patch
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
install -m644 "${srcdir}/10-synaptics.conf" "${pkgdir}/etc/X11/xorg.conf.d/"
......@@ -39,4 +43,9 @@ package() {
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
rm -rf "${pkgdir}/usr/share/X11"
}
\ No newline at end of file
}
md5sums=('2dac10f93918ed5bf7d1039d56880cf4'
'69f24fc2b8230313c30053b621502051'
'7fea317a43c6a17d487e2776d76ce1fd')
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment