Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tain

Pages: [1]
1
Window / AxisPOV always zero, others fine?
« on: January 08, 2010, 03:31:50 am »
I just tried the latest from the SVN and found that my main arcade stick now works (X360 Street Fighter IV TE Stick), POV and all, whereas a second one that I have (X360 Hori Fighting Stick EX2) doesn't work at all (no buttons or axes).

I tried the EX2 on 1.5 again and found that it doesn't work there, either, despite Windows and other programs recognizing it just fine. I found that to be really strange.

Also, the standard Xbox 360 USB controller's POV hat works fine now.

2
Window / AxisPOV always zero, others fine?
« on: January 02, 2010, 08:00:08 pm »
Windows 7. Wish I had something else to test it with, but everybody here is using it.

3
Window / AxisPOV always zero, others fine?
« on: January 02, 2010, 01:29:49 pm »
Pretty sure, yeah. Other programs recognize the d-pad directions as POV Hat directions.

4
Window / AxisPOV always zero, others fine?
« on: January 02, 2010, 06:15:59 am »
I cannot seem to get any sort of non-zero result from any POV hats for the life of me. I've tried two different controllers; a standard Xbox 360 wired controller, and an Xbox 360 arcade stick with no analog axes.

Here's a simple program that I can close using an analog stick but not a POV hat:

Code: [Select]
int main()
{

sf::RenderWindow App(sf::VideoMode(800, 600, 32), "Test Window");

while (App.IsOpened())
{

sf::Event Event;
while (App.GetEvent(Event))
{
if (Event.Type == sf::Event::Closed)
App.Close();
}

if (App.GetInput().GetJoystickAxis(0, sf::Joy::AxisPOV) == 45)
App.Close();

if (App.GetInput().GetJoystickAxis(0, sf::Joy::AxisX) == 100)
App.Close();

}

return 0;
}


I hope I'm missing something obvious.

Pages: [1]
anything