is anybody know about Joystick?
i want to create my game for Windows and I want to use Controller?
(Xbox 360 Controller for Windows)
how can i do this?
i think in Doc doesn't write any things ?
double XAXIS=GetJoysitck1Axis(0);
double YAXIS=GetJoysitck1Axis(1);
int BUTTON[15];
int i;
for(i=0;i<14;i++)
{
BUTTON[i]=GetJoystick1Button(i);
}
if(BUTTON[2])
{
x+=5;
}
Users browsing this forum: No registered users and 1 guest