Nherve, i noticed that if i remove
Code:
case 12: //Debug
val&=~(1<<18);
break;
and
Code:
case 12: //Debug
val|=(1<<18);
break;
that the X button fails to work again, lol, somehow its tied into it :\
i've also looked throughout the source and noticed you haven't added any support for diagonal pov presses
its insanely odd, if i compile it, the buttons work fine
if mudlord compiles it, X or Y doesn't work,
its driving me nuts >.<