Pinebook touchpad initial settings
This commit is contained in:
parent
75471189f6
commit
fe36efb1be
9
config/50-pine64-pinebook-touchpad.conf
Normal file
9
config/50-pine64-pinebook-touchpad.conf
Normal 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
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user