New input management system

The new input management system seems to be faster than the first one.

Now the input data is located in a Singleton class called InputList, so
I don't have to create a new struct with the input data to update the
list. I access directly the unique InputList instance.

In the first test, a single click has generated over 1700 state of the
right button of the mouse.