Accelerometer zoom using Qt

Did a small experiment to zoom an application by moving the phone. In short, it works by processing accelerometer values and does the required zoom (in/out) with a smooth property animation. To start zoom action press and hold 2 fingers on the screen and move the phone towards/away from your face. Currently this works for QGraphicsView only. By the way, this experiment is 100% inspired from Samsung Galaxy II. Find the sources at my repo.

Advertisements

One thought on “Accelerometer zoom using Qt

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s