Leonardo Game Controller

Hello Community,

I want to make a custom Game controller with a Leonardo.
It uses 4 potentiometer and two buttons.

I managed to get the demo working but I really have no idea how to use the example code to realize my project.

Could someone writhe an example in the simplest way, using the joystick library?

It would really help me.