diff --git a/config/50-pine64-pinebook-touchpad.conf b/config/50-pine64-pinebook-touchpad.conf new file mode 100644 index 0000000000..0539a741cf --- /dev/null +++ b/config/50-pine64-pinebook-touchpad.conf @@ -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 diff --git a/config/sources/sun50iw1.conf b/config/sources/sun50iw1.conf index c29a04dd29..ccba95d3de 100644 --- a/config/sources/sun50iw1.conf +++ b/config/sources/sun50iw1.conf @@ -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"