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.


Topics - infrared511

Pages: [1]
1
Window / Joystick enum Axis
« on: October 06, 2019, 10:52:00 pm »
Is it possible to change the enumerator numbers in the Joystick.hpp Axis? I know you can edit and change it, but does that affect the rest of the Joystick implementation? My issue is the axis numbers and button numbers are often the same and causes conflict with my bindings when checking the joystick with a constant update, not the event. For instance, PovY = 7 while the right trigger(Dinput) also = 7. Both trigger it's the joystick, but then the ints are the same. With Events, this is kept separate as the events separate Axis and buttons. If I could change the Axis enumerator to start at 12 instead of 0 there will be no int clashes between buttons and Axis's while checking real time.

I hope this made sense and
Thanks.

2
Window / JoystickMoveEvent PovX PovY
« on: August 14, 2019, 05:00:40 pm »
I am having trouble understanding why the JoysticMoveEvent keeps registering when there is either no gamepad connected, or when a gamepad is connected but nothing is being moved or pushed. I have printed all the axis and nothing is registering as movement.

Secondly, when PovX is pressed, PovY is registering pressed as well. This goes both ways.

 Is this a bug? Am I missing something here? I am using 2.5.0 on windows ten and have tested multiple controllers, drivers, and computers with the same result. Any help is appreciated.

Pages: [1]