someday, i will write touch pad scipt

This commit is contained in:
Shihaam Abdul Rahman 2023-03-03 21:29:57 +05:00
parent 71537f9de5
commit d03559fd51
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
2 changed files with 31 additions and 0 deletions

12
scripts/scrcpy-autostart Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
while true; do
if [ -L /dev/android_adb ]
then
scrcpy --turn-screen-off --stay-awake & sndcpy
else
adb wait-for-device
fi
done

19
scripts/touchpad.sh Normal file
View File

@ -0,0 +1,19 @@
la2110 ~/.scripts xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DELL0959:00 06CB:CDD5 Mouse id=9 [slave pointer (2)]
⎜ ↳ DELL0959:00 06CB:CDD5 Touchpad id=10 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Integrated_Webcam_HD: Integrate id=8 [slave keyboard (3)]
↳ Intel HID events id=11 [slave keyboard (3)]
↳ Intel HID 5 button array id=12 [slave keyboard (3)]
↳ Dell WMI hotkeys id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
xinput set-prop 10 "Device Enabled" 1