Adding support for JOYHATMOTION

Adding support for the JOYHATMOTION event