values of the joystick mapped to the range the application wants
them
- generate events after setting the apropiate values in This->js
- replaced magic ints with defines from linux/input.h
- removed mapping code that generated wrong values for axes, that have
the center on the min or max
- Changed the mapping of the axis to a simpler formula, that ignores
the middle of an axis.
- Min/max values where initalized switched.
- Added the missing button and axis events that are registered earlier
in the code but never made it to the application.
- Added a little more descriptive comment about the deadzone.