For questions about joysticks.
Questions tagged [joystick]
496 questions
0
votes
1 answer
Joystick acquisition with SharpDX
I'm new about C# and Sharpdx. I have this code problem from a couple of days and I don't understand way doesn't work! This is a simple task about acquiring a value of one axis of a Joystick and show it on a text box in a Form.
I did a new project on…

user2713126
- 1
- 1
- 2
0
votes
1 answer
Object controll with mouse position relative to circle
Need some inspiration. I've got a picture (blue) and want it to move proportional to the mouse position inside an invisible area (orange). So, if the mouse moves in top-left direction, the image should follow the movement.
I don't want to simply…

greg.ms
- 109
- 2
- 11
0
votes
1 answer
Issues With Creating SDL2 Joystick Bindings With Node FFI
I've been trying to write an object to use the Joystick class from the SDL2 library with NodeJS using the FFI module, but keep running into problems. It appears to work as expected roughly 50% of the time, but at other times, the program claims it's…

Charlie
- 4,197
- 5
- 42
- 59
0
votes
1 answer
How to create an event# device for a virtual input device (/dev/input/js3) in linux kernel module?
i am writing a linux kernel module which takes N of real /dev/input/js# devices and proxifies them as a single /dev/input/js3 device. Currently my module is creating /dev/input/js3 just fine, jstest is happy with it, but not the real applications. I…

Alexander Tumin
- 1,561
- 4
- 22
- 33
0
votes
1 answer
Need to make Joystick With Four Directions
Hi. How can I make the joystick which is movable only in four directions? Can anyone give me some suggestions?
Write now I am using this code for joystick. How to make this one to allow only in four directions?
-(void) trackVelocity:(CGPoint)…

Raj
- 11
- 5
0
votes
1 answer
how to change joystick controlls in xna
exactly the title. i need it for my game.
i know how to change controlls on some games trough some programms that do exactly that, but i want to go into options screen, go change controlls, choose whether i will play on joystic or keyboard and then…

Monset
- 648
- 5
- 25
0
votes
1 answer
python read controller button's velocity
i need to get a joystick's velocity data, but pygame (also my os) only tells me if a button on a specified controller is pressed or else..
i'm trying to convert guitar hero drum controller signals into midi, the controller is seen by the os as a…

mellotanica
- 174
- 5
- 12
0
votes
1 answer
Custom Joystick Behavior Linux - Adding Mod Keys
I don't have much experience with this type of stuff so I wanted to get some feedback on what I should be looking into.
Here is the situation: I have a joystick (Thrustmaster T-Flight Hotas X) that has about 12 buttons. What I would like to do is…

philmo
- 205
- 3
- 7
0
votes
2 answers
why am I not able to receive data inputs from my USB joystick in labview?
The following Labview code:
does not receive any data from my USB Saitek X52 joystick. I am not able to figure out why.
Is there something I am missing?

user1068636
- 1,871
- 7
- 33
- 57
0
votes
1 answer
Time-stamped file recording joystick button presses
This is for an experiment we are running in our lab. First the script asks for a participant number and creates a file in C: . During the experiment a participant with a gamepad presses a single button (8), and each time the button is pressed the…

Industrademic
- 127
- 5
0
votes
1 answer
Joystick USB definition for use with Arduino
I'm trying to write the control code for a custom joystick, and I cannot find any reference to what needs to be implemented to be recognized by a computer as a joystick.
I can see what things I need to have by referencing various game library APIs…

yarbelk
- 7,215
- 6
- 29
- 37
0
votes
1 answer
Keep getting garbage value
I am working on a program that takes an axis value from a USB joystick and sends it over TCP. What I did is first get the TCP program working so I can send messages which was working as expected. Then I wrote another program to obtain the values…

Yamaha32088
- 4,125
- 9
- 46
- 97
0
votes
0 answers
Android joystick won't show up
I am working on a project right now in Android, and we have been using an edited joystick class that has been great! However, when optimizing the code for the project, I used Lint in Eclipse to identify any trouble spots to clean up. It pointed out…

Proto
- 45
- 4
0
votes
3 answers
What is the most efficient way to quickly understand how a complex LabView VI works?
What is the best way to understand a complex LabView VI that controls a motor?
My goal is to control the motor from a joystick.
The wiring diagram shown below allows a LabView user to control the motor from the LabView GUI: move a slider up and…

user1068636
- 1,871
- 7
- 33
- 57
0
votes
3 answers
How to access a joystick/gamepad from Mono/C# in Linux?
I'm working on a robotics project using C# on a Raspberry Pi running Debian. I've gotten a PS3 DualShock controller paired with the OS, so that it appears as joystick device /dev/input/js0.
Now I'd like to access the DualShock joysticks and buttons…

Joe Strout
- 2,634
- 2
- 28
- 39