TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Controlling your mouse using an iPad and HTML5

20 点作者 timcameronryan大约 14 年前

4 条评论

newhouseb大约 14 年前
I built a similar thing for a talk my co-founder and I gave at TED, we needed to use a Gyroscope in an iPod Touch with an iPad and so I initially used WebSockets to proxy sensor readings at about 60Hz (from the ondevicemotion HTML5 APIs). It worked pretty well, but ultimately I ended up writing a bit of C to send the data over UDP directly to the client so that I could skip the web server.<p>Even then, everything failed on stage when there was too much interference to send anything over WiFi :(
julianc大约 14 年前
Works great but it would be nice if you could also use the the movement on the iPad as a relative start point from where the mouse cursor is on the computer screen... you know, just like a notebook's touchpad.<p>For example if a slide my finger from the middle of the iPad to the bottom right corner, the mouse cursor on my computer is moved from the middle of the desktop to the bottom right corner, no matter where the mouse cursor position's when the action starts. There should be a checkbox (relative movement or something) so when you slide your finger on the iPad the mouse cursor on your computer uses its current position and moves with your finger, it should not be repositioned where your finger first touches the iPad screen.<p>Also, one tap should equal a left click, and maybe two taps a right click.<p>Also, maybe you can get a screenshot of the desktop instead of the white background on the iPad? Then you would have something similar to a VNC server-client thingy, which I'm using right now on my iPad and computer :)
rheide大约 14 年前
I love little trinkets like this. Nice work. On a side note, I've been staring at the mouse on my desk for 2 minutes now, and it's still not moving.
bobf大约 14 年前
There's also fingerpoken by Jordan Sissel - <a href="https://github.com/jordansissel/fingerpoken" rel="nofollow">https://github.com/jordansissel/fingerpoken</a>