Basic input implemented

Signals are sent to the C++ code's entry point. Then it is up to the C
code to decide what to do with them.
Extra axes in the PS3 controller (probably the Ouya as well) need some
special handling