Gyro daemon for games etc

On the Nokia N900 and even before on the OpenMoko we had a daemon that would listen to the gyros and convert them into a Joystick HID. Appifying it like the N900 had with a nice callibrate function would be ideal though even a CLI script would do to play tuxcart and penguinracer.

How difficult is this to make a demonstration at least?

I have been playing with making something in python but so far no luck.

I don’t see what wouldn’t be straightforward about it. Just glue two APIs with each other.

Note that there have been some attempts to expose a generic API that things like games could then consume:

Resurrecting that effort may be more useful to the ecosystem than hacking up a translation layer.

Yea, I am not great at writing code or debugging(read terrible), a few more tries. I tend to get lost in my own code and it ends up easier to blank page it.

Just to be clear - I don’t want to discourage you or anyone else from hacking up translations layers. Even if it’s not the best approach for the underlying frameworks, it may be the best approach for particular individual to do something fun :grin:

We had this for Maemo5 in a nice app which had a callibrate step and all, just run in the background. I want to look that over for when I try this again.

Sound like a new creature for the Lawful Neutral plane.