LF help in using Particle Photon gyroscope data in openFrameworks game

I am currently working on a (school) project and gotten stuck at using gyroscope data from the Particle photon to control an element in a openFrameworks game.

Since the situation is quite complex to explain in a post I am looking for some personal help that could help me look into the project.