Latimerius wrote:
BINGO! thanks. i had a bug report for solarwolf that the jostick hat input didn't work to the right. hadn't looked into it yet, but i figured it was something like this. just applied to cvs, thanks again.there seems to be a typo in the code that assembles JOYHATMOTION event objects - the 'value' attribute is computed incorrectly. The following trivial patch should correct it: - if(event->jhat.value&SDL_HAT_LEFT) hx = 1; + if(event->jhat.value&SDL_HAT_RIGHT) hx = 1;