Add support for tiltX and tiltY in API.

Tilt isn't supported on all devices however, so I will probably need
some additional error handling eventually.