Marco Rapino, a developer working at the Center for Knowledge and Innovation Research at HSE in Helsinki, has developed a prototype controller using the accelerometer in his Nokia N95 smartphone, some Python, and the Blender 3D content creation suite.
The application is structured in this way:
- Mobile client, a python script which reads the accelerometer data and sends it via bluetooth to the pc
- A server that runs on your pc and shares the data with the BGE through a local UDP non-blocking socket
- A Blender script which handles the cube rotation in the BGE using the n95 accelerometer’s data
Source and examples available here