Gamepad support example.

With pthreads flavor!
Mmmmmm