For questions about joysticks.
Questions tagged [joystick]
496 questions
2
votes
1 answer
Confusing Input From Joystick Unity
I am working on a Unity3D project that uses an XBox-360 Controller as the input. I am using the Unity input Manager to select the inputs. All of the Inputs are set up the exact same. However, the right joystick keeps acting like it is being pushed…

Flotolk
- 313
- 1
- 11
- 37
2
votes
3 answers
Python Linux Joystick support?
How can I use an analog joystick in Python on Linux? I come from a C++ background, where I used joystick.h to read events from /dev/input/js[x]. Is there a python wrapper around this I can use, perhaps? I don't really want to have to use a huge…

bsg75
- 21
- 1
- 3
2
votes
1 answer
Algorithm to calibrate joystick
I'm trying to write a in-app joystick axis calibration tool.
The joystick axis area should be a rectangle, but in the reality it's a non-linear closed curve and I want to increase the accuracy.
The calibration should work this way:
we have a…

Vektor88
- 4,841
- 11
- 59
- 111
2
votes
4 answers
Java on screen virtual joystick control
I need a on-screen virtual joystick solution to control external device - a cart. My program is written on Java/Swing and it works on windows rugged tablet with resistive touch screen. There's no x-y slider control in Swing, failed to find it thru…

tutejszy
- 602
- 7
- 22
2
votes
2 answers
Using USB gamepad from Java app
Is there any way to use my generic usb gamepad from my java application?
Thanks.

johnny-b-goode
- 3,792
- 12
- 45
- 68
2
votes
2 answers
USB controller will not work in Pygame
I have a USB controller that I have mapped to be the arrow keys on the keyboard, outside of gaming programs (as in, you can use it as the normal arrow keys on the keyboard). I did this using the program ControlMK. My Pygame program will not…

user1848006
- 21
- 1
- 3
2
votes
1 answer
Multitouch for two draggables Jquery
I have two draggables that work as a joystick. So, I have to be able to get one event in each joystick.
I am using a library called touch-punch but it is not multitouch. I have created my own listener but now I can't drag. Any idea?

user1685439
- 31
- 3
2
votes
1 answer
Android NDK joystick events
Does anyone know how to capture joystick events from the Android NDK?
The NDK does not contain any APIs to let me extract axis information from an AMotionEvent. (AXIS_X and AXIS_Y are mapped to the pointer (x,y) pair, but I need more than that.)…

David Given
- 13,277
- 9
- 76
- 123
2
votes
1 answer
Pygame, joystick detecting doesn't work
I'm trying to detect an USB Joystick with Pygame.
Every time when I run this code the program crashes with the error:
"Joystick not initialized" in line 10.
import pygame as p
p.init()
stick = p.joystick.Joystick(0)
#get init returns always…
user1509818
1
vote
2 answers
Cocos2d. Digital joystick (joypad)?
There are a lot of examples of analog joypad for cocos2d. But I need a simple 8-directional (8-positional) digital one.

Gargo
- 704
- 6
- 16
1
vote
0 answers
Better iPhone Joystick
Recently I've been working on creating Pac-Man for the iPhone. Yes, I know it's on the App store, but it's five dollars and I've had more fun making it myself. Everything works great, except for the joystick. It's not great at handling tight turns…

NSchulze
- 179
- 1
- 5
- 19
1
vote
1 answer
Android gui controller Unity3D
How do I implement the controllers (joystick) into unity3d? I'm building a very barebones game where the player moves around the x and z axis. I want the joystick to show up on screen.
user868935
1
vote
2 answers
Using joystick (gamepad) buttons in form even if window hidden in tray. Is it possible in Delphi?
Using the code below, or maybe modifying it, possible to achive my goal?
Or not by using this code, but it must be joystick buttons using when form is hidden in tray.
Thanks
type
TForm125 = class(TForm)
procedure FormCreate(Sender: TObject);
…

Yurios
- 123
- 12
1
vote
0 answers
Error with opencv when importing joystick.h with types.hpp
I am trying to read the data from an Xbox One controller via Bluetooth on my computer running Ubuntu 20.
The problem appears at the time of compilation, I have the impression that it appears randomly sometimes without any modification on my part of…

Thomas Raynal
- 11
- 2
1
vote
1 answer
joystick from arduino to pygame
Right now, I'm just trying to move the circle object based on the joystick coordinates given from the Arduino data.
I'm just testing the x axis to move the circle right when the value of the x axis reaches 1023.
I have two main issues:
When I run…

mooseturd
- 39
- 8