Questions tagged [joystick]

For questions about joysticks.

496 questions
1
vote
1 answer

Dual Virtual Joystick for iOS simultaneous use

I'm using a virtual joystick for SpriteKit, and it works great. I have tried either JCInput version, or SpriteKit-Joystick version. Both were used for the movement, and used them on the left. This is the code I used, although the documentation is…
Septronic
  • 1,156
  • 13
  • 32
1
vote
1 answer

ChucK Joystick Control

I am trying to receive input from joystick. After input has been received sound should be generated. This works, but it responds to both push and release of buttons of the joystick. How do I get it to respond to only pushes and not releases. More…
BattleDrum
  • 798
  • 7
  • 13
1
vote
2 answers

cant find joystick guid using sharpDX directinput

i'm trying to use a ps3 controller for a game i'm creating. I downloaded the sharpDX.DirectInput extension into my visual studio XNA solution, and used the seemingly simple code from Valdemar's answer in Taking input from a joystick with C# .NET. I…
J.Somers
  • 49
  • 6
1
vote
0 answers

Unity2D object following joystick

So I have a player. It has hands attached made from two rectangles.(I attached .GIF) So I need it to move how the player moves right stick on joystick. I made some controls, but I think they are poor, and inaccurate. I believe, it's possible to…
Justasmig
  • 67
  • 8
1
vote
2 answers

How to add a Joystick from Standard Assets in Unity 5?

I am totally a beginner in Unity (Downloaded Unity 3 days ago). I created a simple game and I can move the player with keyboard by using this code - void FixedUpdate () { float speed = 250; float moveHorizontal = Input.GetAxis…
FadedCoder
  • 1,517
  • 1
  • 16
  • 36
1
vote
1 answer

Python pygame calibrate joystick controller

I'm using pygame with a joystick controller. The joystick controller is not calibrated correctly, though. The right horizontal controller continually outputs bad values and does not zero correctly upon return to center position. Is this fully a…
errolflynn
  • 641
  • 2
  • 11
  • 24
1
vote
0 answers

Android Drone get video from controller APM 2.8

I'm searching for information on how to program an android app that could read a video from a controller APM installed on the joystick of a drone. The joystick already receives videos from the drone and saves them on his hard disk. So now I want to…
1
vote
1 answer

Unity3d iOS joystick?

There is a joystick that connects to Android and iOS devices. On Android it works completely , the unity3d sees it , and work out pressing buttons . And iOS joystick connected , controls the volume and the " home"-button of iPhone, but Unity does…
1
vote
0 answers

QSFMLCanvas not working on Qt5.4 SFML2.2

My goal is to be able to use a joystick inside of Qt (to add a piloting task to an existing Qt app) Note : Qt 5.4 // SFML 2.2 (running on CentOS7) In order to do so, I used the tutorial on the sfml website explaining how to insert an sfml window…
Glypwota
  • 11
  • 2
1
vote
1 answer

Issue using math.atan2 when rotating an object

Well... my issue comes from a quality of life preference to be honest. I'm currently at my day job so I can't provide specific code; however, I can give the pseudocode now and will provide the actual code when I get home. I have created a virtual…
1
vote
1 answer

Does SDL on linux support more than one gamepad/joystick?

I have a cheap PS3 controller and a NEO-GEO X controller. They are both detected on eg. Fedora 20 and a Lubuntu 14.04. They appear in lsusb Bus 001 Device 012: ID 0e8f:0003 GreenAsia Inc. MaxFire Blaze2 Bus 001 Device 016: ID 1292:4e47…
wreckgar23
  • 1,025
  • 9
  • 22
1
vote
0 answers

Remapped Sip'n'Puff input doesn't function like keyboard input

I'm trying to get a Sip'n'Puff device to work with an Android tablet. I have the S&P set to joystick mode. I've remapped the relevant joystick buttons to the down arrow key and the enter key by overriding dispatchKeyEvent in my activity, as…
Graph Theory
  • 699
  • 1
  • 7
  • 18
1
vote
2 answers

Sdl2 joystick don't capture "Pressed event"

I have an application which runs on SDL(simple directmedia layer). I've ported it to SDL2. But after porting, joystick(SDL_PollEvent) is only captures the release event of joysticks button. Is there anything wrong or is there any setting for…
zacoder
  • 91
  • 11
1
vote
0 answers

Java Android Virtual Joystick

I tried creating my own custom joystick for my android game and i encountered some problems while i tried to smooth the joystick animation.I made a sphere and created a bounding circle for it ,then placed the joystick inside the sphere (made a…
Catalin Mihai
  • 107
  • 1
  • 1
  • 6
1
vote
0 answers

How do I find out the serial port name logitech extreme 3d pro joystick on mac osx?

I want to find out the serial port name of a logitech 3d pro in order to be able to read the values from it. I tried then plugging in the joystick the again to find out the extra name. However it doesn't show up. The joystick is…
Mo_
  • 195
  • 1
  • 6