Questions tagged [joystick]
A form of directional input consisting of a stick that pivots from a fixed position. May or may not have buttons on top or on its base.
68 questions
2 votes
0 answers
105 views
Intercepting joystick/gamepad movement
I’m developing an accessibility app that allows users to navigate Windows using a game controller. The app works by using the left joystick to move the mouse and the right joystick to perform actions (...
0 votes
1 answer
1k views
Force Feedback on joystick device using SharpDX DirectInput API
The Goal (for context) Get input from a USB joystick device in the Unity Game Engine and activate Force Feedback functionality on the joystick from Unity. The Method I am using the SharpDX.DirectInput ...
1 vote
1 answer
101 views
Visual Joystick moving faster than my finger. why?
First of all, here's the video of what my problem really is. (Sorry for bad quality) As you can see, the red circle is the center of the visual joystick. The green one indicates my finger and the ...
0 votes
1 answer
132 views
Is there an algorithm for a Joystick class that happens to be engine/framework independent?
I need to be able to get the given input's distance inside the joystick, bounded within -100% and 100% and an unbounded version of it, get the position of where the mouse's position projects to the ...
1 vote
1 answer
87 views
Snap joystick value to minimum magnitude when it falls below
I got a joystick displayed in the image below with range -1 to 1. Green area is 80% of the total circle and yellow area is 20%. I want to get corrected values for both areas. For example: If given ...
3 votes
2 answers
388 views
Steam Controller thinks it has 2 hats?
Is there any reason why a Steam Controller would think it has two hats? The pad on the left is HAT 0, as expected. Note that the pad on the right is not a HAT/DPAD, it is two axes (Axis2 and Axis3) ...
0 votes
1 answer
199 views
Trigger Button with specific key only
I am having trouble understanding how to trigger a UI button with a specific joystick key only. Currently i have a pause menu in which i have several buttons. By pressing start i set the game time ...
0 votes
1 answer
148 views
JoyStick::GetInfo(JoyStick::id1).dwButtonNumber always returns 0x1
I am using an XBox 360 gamepad for Windows. I am having an issue with the following legacy code base, which relies on JOYINFOEX, ...