Questions tagged [joystick]

For questions about joysticks.

496 questions
1
vote
1 answer

Bind and distinguish 2 equals joysticks new input system Unity3d

I am making a Pad Dance Game. I have 2 pad dances, they works like a joystick on Pc, they almost have the same number/button sequence(because they are not from the same company). The problem is when I click one pad and the other has the same gamepad…
Rodrigozol
  • 11
  • 1
1
vote
0 answers

How Can We Create A Line Renderer That Moves According To Joystick In Unity3D

I am trying to create a Brawl Stars clone for fun purposes. I created all other mechanics but there's one which i can't seem to figure out. I am trying to create an Aim Bar which will let player know which direction he is currently aiming at... Also…
CsharpUser
  • 31
  • 4
1
vote
2 answers

I made joystick 3d movement and made the player rotate towards where its moving

however, when its moving up is not up anymore, its up plus/minus the y rotation here is the code if (joystick.Horizontal != 0 || joystick.Vertical != 0) { transform.Translate(transform.forward * Time.deltaTime * speed *…
Vladutzu27
  • 55
  • 9
1
vote
1 answer

Simulate/Emulate Xbox Controller in C++ or C#

I have a cooperative PC game, but the second player need Xbox joystick to play. Well i don't have Xbox Controller i have some other 10 buck piece of shit joystick and the game don't recognize him. So i tried different programs to emulate any…
TreantBG
  • 1,192
  • 6
  • 25
  • 44
1
vote
0 answers

How to make the inner joystick stay on screen when the camera moves?

I'm developing a mobile game for the first time, and its 2D top-down shooter. I'm having an issue where the middle part of the joystick gets left behind when the camera moves to follow the player. Everything works fine when the camera is stationary,…
1
vote
0 answers

How to get a list of available joystick ids in Go

I'm trying to find joystick state in a cross platform way - developing on windows - using Golang. I'm currently looking to use the joystick API at https://github.com/0xcafed00d/joystick However, for Go on windows, I don't know how to find the id…
AndyS
  • 725
  • 7
  • 17
1
vote
2 answers

Unity 3D Trying To Disable Joystick Controls So The Character Can't Move While Aiming

I'm trying to disable the joystick controls so when I zoom in on my character(and he is aiming), he won't start to move if the player accidently hits the joystick while he is in aim mode. I'm using the --new input system from the starter assets…
1
vote
0 answers

Android virtual joysticks not behaving as expected

In my app I currently have virtual joysticks using the library suggested in this (Virtual Joystick in Android SDK) post being used to steer something like an RC car. They work exactly as intended most of the time (say 95%), but occasionally I'll run…
1
vote
1 answer

Android Multi-touch event problems...No new touch events while dragging?

So what I'm trying to make is a little space game, You control the ship with a graphic on-screen joystick using touch and drag. I have gotten this to work fine. The problem arises once I started to try and add the ability to touch the top portion of…
Brasou
  • 15
  • 1
  • 3
1
vote
2 answers

Event Handling API's to Use with OpenGL

I've been looking into input handling for an OpenGL application. I want to handle at least two joysticks, keyboard, and mouse. Outsourcing this to python scripting would be a big bonus, but not required. I look at freeglut, but it only supports…
Präriewolf
  • 829
  • 2
  • 9
  • 28
1
vote
1 answer

How to Get Input from Joystick in Python?

I'm trying to get input from a joystick I have (specifically the Logitech Extreme 3D Pro) with a Python program. Unfortunately, I do not know how to do this well. I currently have a working prototype using PyGame, but I do not want to use PyGame…
llamaking136
  • 421
  • 5
  • 16
1
vote
1 answer

How do I get input from nintendo switch joycons?

I'm trying to get input from two Joycons. I have tried joycon-python, but that gives me inaccurate stick movement. I have tried connecting via pybluez, but I can't seem to get anything to work. So far, the code I have is meant to connect to the…
qwerty
  • 51
  • 2
1
vote
0 answers

Esp32 joystick mouse

I am using the Esp32 nodemcu to create a Bluetooth mouse controlled by a joystick. The connection is established and I am able to move the mouse, however, I am having issues with the accuracy of the movement. In two of the axis (down and left) the…
1
vote
1 answer

Does the Flash Incubator support joystick / gamepad input?

I realize that natively Flash not been able to support joystick / gamepad input in the past and that it can be done using third party software that must be ran separately. However, with the new Molehill/Stage3D API which supports 3D model…
Dennis Day
  • 607
  • 2
  • 5
  • 13
1
vote
0 answers

Custom HID Gamepad works on Windows, has some inverted buttons in Linux

I've designed a custom gamepad using an STM32. It has four analog axes, and 22 buttons. I have written firmware for it, including the USB Descriptor (that took a few tries). It works exactly as expected on Windows, but on Linux (Raspbian…
notloc
  • 136
  • 5