Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [Bug?] 3D First Person Example & Xbox 360 controller

Author
Message
XANAX 2B
21
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 31st Aug 2016 07:58 Edited at: 3rd Sep 2016 08:19
Hello
When i compile & run the 3D First Person Example with my Xbox 360 Controller connected, the camera always turns for nothing.
If i disconnect it and run again the application, all works correctly.

EDIT:
Deleting this line in the main source fix the problem :
setrawjoystickdeadzone(0.1)
My Freewares here : http://www.retro-bruno.com
Xaby
FPSC Reloaded TGC Backer
17
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 4th Sep 2016 18:42 Edited at: 4th Sep 2016 18:43
I had the same problem. SetRawJoystickDeadzone seems not to apply to GetRawJoystickRx() and GetRawJoyStickRy()
I solved it with my own function:

Login to post a reply

Server time is: 2024-11-25 03:37:29
Your offset time is: 2024-11-25 03:37:29