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 (...
1 vote
0 answers
96 views
How does Windows' Game controller properties connect to a joystick?
The situation: We need to use a new game controller (with a joystick only) hardware on Windows IoT. In the properties of "Game Controllers", moving the joystick is visible in the displayed ...
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 ...
0 votes
0 answers
61 views
How do i get this web app to use the up joystick button as an input
There is this reaction time test app that calculates the reaction time from the time you press a button, it works with the joystick buttons except for the directional buttons, this is the app: https://...
1 vote
1 answer
102 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
2k views
Unity mobile joystick input doesn't react to touch
I created a 3D mobile project, so I used my own joystick script, I also tried joystick from asset store. The problem is that the stick image of joystick doesn't move at all, in this case it's ...
0 votes
1 answer
133 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 ...
0 votes
0 answers
434 views
How can I make the character rotate slowly with the joystick?
I am using two Joysticks. One for the character's movement and rotation and the other for the character's rotation and shooting. On the joystick I use for movement and rotation, the character turns ...
1 vote
1 answer
88 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 ...
0 votes
1 answer
271 views
Get Angle offset [duplicate]
I'm working on a game where the input is done via a joystick. Normally, one would snap the players rotation to the angle that the joystick is pointing, but for my game's purpose, I have to lerp to the ...
3 votes
2 answers
389 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
420 views
check if joystick magnitude is increasing
I use joystick mechanic. What I want to do is: Translating my object forward when my joystickInput.magnitude is increasing. Translating backward when my ...
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
0 answers
125 views
How to detect taps vs tilts in analog stick input
I'm trying to detect when a player taps vs tilts the analog stick. Ultimately, I'm trying to implement controls like Super Smash Bros. Melee. On top of this, I also want to incorporate an input buffer ...
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, ...