From a801285d3d6cc84ed476a0c10f1e09578eb01ee6 Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Sat, 18 Jan 2020 22:31:55 +1000 Subject: [PATCH] remove hotspot monkey script --- hotspot.script | 7 ------- selfdrive/dragonpilot/appd/appd.py | 3 --- 2 files changed, 10 deletions(-) delete mode 100644 hotspot.script diff --git a/hotspot.script b/hotspot.script deleted file mode 100644 index 5e40d3942..000000000 --- a/hotspot.script +++ /dev/null @@ -1,7 +0,0 @@ -type=raw events -count= 1 -speed= 1.0 -start data >> -DispatchPointer( 459755113000,459755113000, 0, 995, 160,0.20784314,0.06666667,0,0.0,0.0,65539,0) -UserWait (100) -DispatchPointer( 459755113000,459755113000, 1, 995, 160,0.20784314,0.06666667,0,0.0,0.0,65539,0) diff --git a/selfdrive/dragonpilot/appd/appd.py b/selfdrive/dragonpilot/appd/appd.py index ad1c876ad..5bb4c5040 100644 --- a/selfdrive/dragonpilot/appd/appd.py +++ b/selfdrive/dragonpilot/appd/appd.py @@ -260,9 +260,6 @@ def main(): system(f"am start -n com.android.settings/.TetherSettings") time.sleep(1) system(f"LD_LIBRARY_PATH= input tap 995 160") - #system(f"LD_LIBRARY_PATH= monkey -f /data/openpilot/hotspot.script 1") - #system(f"settings put system accelerometer_rotation 0") - #system(f"settings put system user_rotation 1") system(f"pkill com.android.settings") init_apps(apps)