Pinebook touchpad initial settings

This commit is contained in:
Igor Pecovnik 2017-07-04 12:37:05 +02:00
parent 75471189f6
commit fe36efb1be
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,9 @@
Section "InputClass"
Identifier "Hailuck Co.,Ltd USB keyboard"
MatchIsPointer "1"
MatchDevicePath "/dev/input/event*"
Option "AccelerationProfile" "2"
Option "AdaptiveDeceleration" "1"
#Option "ConstantDeceleration" "2.4" # Pinebook 14"
Option "ConstantDeceleration" "1.2" # Pinebook 11"
EndSection

View File

@ -67,9 +67,10 @@ family_tweaks()
for batlogo in low_pwr.bmp bempty.bmp battery_charge.bmp ; do
cp "$SRC/lib/bin/icons/pinebook-a64_$batlogo" "$CACHEDIR/$SDCARD/boot/bat/$batlogo"
done
# boot logo
# boot logo and touchpad settings
if [[ $BOARD == pinebook-a64 ]]; then
cp "$SRC/lib/bin/icons/pinebook-a64_bootlogo.bmp" "$CACHEDIR/$SDCARD/boot/bootlogo.bmp"
cp "$SRC/lib/config/50-pine64-pinebook-touchpad.conf" "$CACHEDIR/$SDCARD/etc/X11/xorg.conf.d/50-pine64-pinebook-touchpad.conf"
fi
# power manager
[[ $BUILD_DESKTOP == yes && $BOARD == pinebook-a64 ]] && chroot $CACHEDIR/$SDCARD /bin/bash -c "apt-get -qq -y install xfce4-power-manager >/dev/null 2>&1"