qdot/emokit — pull request #1 by zheng1i (2012-11-16 16:49:23+00:00)
Title: Contact quality and battery level

Copied over heavyk's battery level implementation.

Added implementation for signal quality:
* New function that does a switch on the counter and update contact quality,
* Added a emokit_contact_quality field to the emokit_device object to store the current contact quality,
* Changed data type of contact quality values from char to short. I see values from 0 to ~6000

Minor optimization (division -> bit-shift)