Inspiration

Pebble is a miniature yet powerful platform. It's data-rich sensors such as accelerometer and compass provide us infinite possibilities. Its API returns us the simplest data: acceleration in x, y, and z-axis. Why purchase an expensive gesture sensors when you already has one on your wrist?

What it does

Use your pebble to control your cursor. Move the mouse, left click, right click, and double click.

How I built it

Pebble Mouse uses the new Pebble SDK 3.0, and is built on CloudPebble using the new Pebble.js. Pebble.js sends accelerometer data as HTTP requests to a Java server running on the host machine. The server interprets the tilting data from Pebble, and controls the cursor and mouse events accordingly.

Challenges I ran into

High latency due to complication of data transfer through HTTP. Unsmooth cursor animation.

Accomplishments that I'm proud of

My first Pebble hack!

What I learned

The Pebble SDK.

What's next for Pebble Mouse

Instead of using tilt to determine the rate of cursor movement, the app should be able to sense the acceleration of translational movements. The user can simply wear the watch, and translationally move hand and arm in the air, as if holding an invisible mouse. A direct bluetooth connection from Pebble to computer is also a desirable improvement that will greatly improve latency.

Share this project:
×

Updates