timbobsteve
Member
- Joined
- Oct 4, 2005
- Messages
- 301
Hi All,
I recently compiled a toolchain and set of libs for use in GP2niX, thanks to ooPo and payern.
To test the toolchain and libs I downloaded Guyfawkes SDL-Test program and compiled it using my toolchain. Upon testing the compiled binary I found some wierd results.
During the "Test Input" section of the program X and Y button mappings are reversed (where pressing Button X == "Y Pressed" vice-versa). First thing I did was check the code that I compiled and it seems correct according to the Wiki information. The code in the header for sdltest.gpe is correct for mapping.
Just to make sure, I tested the precompiled binary that came with the SDL-Test code and it has the correct mappings X Button == X etc.
No other buttons were affected on my test app, just the reversal of X and Y.
Does anyone have any idea why this might be happening? and how to fix it? I do hope it has nothing to do with my toolchain, as it has taken a while to get one setup.
Thanks for any help you can provide.
I recently compiled a toolchain and set of libs for use in GP2niX, thanks to ooPo and payern.
To test the toolchain and libs I downloaded Guyfawkes SDL-Test program and compiled it using my toolchain. Upon testing the compiled binary I found some wierd results.
During the "Test Input" section of the program X and Y button mappings are reversed (where pressing Button X == "Y Pressed" vice-versa). First thing I did was check the code that I compiled and it seems correct according to the Wiki information. The code in the header for sdltest.gpe is correct for mapping.
Just to make sure, I tested the precompiled binary that came with the SDL-Test code and it has the correct mappings X Button == X etc.
No other buttons were affected on my test app, just the reversal of X and Y.
Does anyone have any idea why this might be happening? and how to fix it? I do hope it has nothing to do with my toolchain, as it has taken a while to get one setup.
Thanks for any help you can provide.