V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
againster

网页版的触控板,远程控制你的鼠标

  •  
  •   againster · Jul 29, 2021 · 2421 views
    This topic created in 1732 days ago, the information mentioned may be changed or developed.

    做 ppt 想到可以远程控制下,因此做了这个,欢迎体验装逼

    地址: https://github.com/webgjc/web-touch-pad

    web-touch-pad

    网页触控板

    实现功能

    • 箭头滑动
    • 左键(单指点击)
    • 右键(双指点击)
    • 滚动(双指上下滑)

    使用场景

    • 讲 ppt 可在电脑上开启,将手机作为控制板点击切页
    • 触控板失效的情况下,可以作为救急
    • 远程遥控等等

    运行

    使用环境为 Python3,Python3,Python3

    安装必需的包,在 requirements.txt 中(也可以直接运行下看少什么就用 pip 装什么)

    启动

    python main.py

    启动后

    启动后请按提示

    http://xxx.xxx.xxx.xxx:8000

    请在局域网另一个设备进行访问(最好使用 Chrome)

    可将那个设备作为本设备的触控板

    注意请将设备顺时针旋转 90 度使用

    Mac 的话需要开启安全与隐私 - 辅助控制 - 允许 APP 控制电脑

    其他注意问题

    • Werkzeug 包必须是 1.x.x 的,2 以上会有报错%
    1 replies    2021-07-29 11:40:38 +08:00
    goodryb
        1
    goodryb  
       Jul 29, 2021
    有点意思,不过真是场景要么带电脑,要么翻页笔
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   860 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 21:56 · PVG 05:56 · LAX 14:56 · JFK 17:56
    ♥ Do have faith in what you're doing.