2009-11-08 23:12:55 +01:00
|
|
|
{stdenv}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "hal-info-synaptics";
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out/share/hal/fdi/information/15-osvendor/
|
|
|
|
cat << EOF > $out/share/hal/fdi/information/15-osvendor/10-x11-synaptics.fdi
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<deviceinfo version="0.2">
|
|
|
|
<device>
|
2010-04-13 08:49:34 +02:00
|
|
|
<match key="info.capabilities" contains="input.touchpad">
|
2009-11-08 23:12:55 +01:00
|
|
|
<merge key="input.x11_driver" type="string">synaptics</merge>
|
|
|
|
<merge key="input.x11_options.AlwaysCore" type="string">true</merge>
|
|
|
|
<merge key="input.x11_options.Protocol" type="string">event</merge>
|
|
|
|
</match>
|
|
|
|
</device>
|
|
|
|
</deviceinfo>
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
}
|