Questions tagged [joystick]

For questions about joysticks.

496 questions
1
vote
1 answer

Libgdx 1.2.0 controllers extensions crash

I just recently updated to the newest Libgdx and set up my project with Gradle. Everything else seems to be working but I encountered a problem when attempting to add controller support to my game. When I attempt to get the controller or do anything…
Arbel
  • 425
  • 8
  • 26
1
vote
0 answers

Different bits for the same buttons in two different game controllers (joyGetPosEx)?

I have two different game controllers, and I've been using joyGetPosEx (Windows API) to get information from them. They each have buttons with the same physical labels, but some of those buttons have different bit values (as returned by joyGetPosEx…
Bob Vesterman
  • 1,127
  • 1
  • 11
  • 31
1
vote
1 answer

Andengine Analog OnscreenControls values are not smooth

I implemented Andengine analog onscreencontrol in a game. I am calculating the angle of the knob on onscreencontrol and giving it to the physics body. The values are not smooth. Controller = new AnalogOnScreenControl(width/6, height/6, camera,…
Sandeep R
  • 2,284
  • 3
  • 25
  • 51
1
vote
1 answer

BeamNG inputmap syntax error for USB Joystick

I wanted to make inputmap for my USB Joystick. I made all like in this tutorial: http://wiki.beamng.com/Playing My inputmap: // Product Name: (USB Joystick) // GUID: (00030E8F-0000-0000-0000-504944564944, format:…
janw23
  • 65
  • 6
1
vote
0 answers

How to disable joystick input on Unity

Subj. Some users complain about their Thrustmaster calibrated to generate constant axis signal recognized by the game as mouse move. And demands to disable joystick in the game. How to do it ? Thanks.
Newbee
  • 1,032
  • 1
  • 11
  • 27
1
vote
1 answer

custom joystickView doesn't work in xml - Android

I'm trying to implement a custom JoystickView for my project and through my search I found this library : https://github.com/zerokol/JoystickView I've added the jar to the lib folder and added the jar file to the build path. The problem is when I…
Boreddo
  • 83
  • 1
  • 9
1
vote
0 answers

DirectInput, multiple joysticks, multiple users

My situation is that I have multiple joystick input devices, from the same manufacturer. The idea is that you set them up once, and then any user could log in and play without having to set them up again. The problem is how to uniquely identify…
obermeister
  • 89
  • 1
  • 8
1
vote
1 answer

joyGetPosEx returns 165 in C#

I tried to read out the data from my JoyStick in C# which is working fine as long as i do it with jeyGetPos. But I need to use joyGetPosEx because it delivers more date like the rotation of the Joystick which I need. class JoyStick { JOYINFO…
Jan Kressin
  • 115
  • 1
  • 9
1
vote
1 answer

iOS SpriteKit touch outside of virtual joystick interferes with joystick

I am new to objective c so still very much learning the ropes. I have a game which uses code provided by TheSneakyNarwhal to make a virtual joystick on screen. https://github.com/TheSneakyNarwhal/SpriteKit-Joystick I have imported the files provided…
kev3kev3
  • 197
  • 1
  • 3
  • 15
1
vote
0 answers

How to determine brakes on steering wheel controller vertical axis

So in every game engine I program, with a steering controller, the gas is positive values on the Y-axis and the brakes are negative values. Basically, pressing the gas sends a Y value of 0 to 1, and pressing the brake sends 0 to -1. How can I…
Tanoshimi
  • 463
  • 1
  • 4
  • 11
1
vote
1 answer

Looking for joystick for direct up/down left/right directions only

I'm using SpriteKit and wonder if there is open sourced joystick somewhere which allows to move only in four directions left right down up I understand that there are should be some workaround with angle. I'm wondering if it's possible…
Injectios
  • 2,777
  • 1
  • 30
  • 50
1
vote
1 answer

Joystick setup in Unity 2d game

I am using the Unity 3D standart assets (mobile) joystick, but I have a problem when I use it in my 2D game. I have no clue, how to achieve this: when the joystick goes left or right my character to follow or when i move it up, my character to…
1
vote
1 answer

SDL 2 C# - Opening a joystick device

I'm trying to port an old project of mine from DirectX to SDL2. I'm using SDL2-CS because the only other binding I was available to find is C# SDL2, which seems to be outdated (last unstable version is 6.1.1beta in 2010, last stable - 6.1.0 in…
rbaleksandar
  • 8,713
  • 7
  • 76
  • 161
1
vote
1 answer

C# Joystick Detection Error

I'm trying to create an application in C# that uses a joystick. I went to "http://www.codeproject.com/KB/directx/joystick.aspx" and basically copied the example exactly but I keep getting the follow error: "is not a valid Win32 application.…
Petezah
  • 1,465
  • 4
  • 26
  • 30
1
vote
1 answer

How to simulate a joystick or gamepad -button press?

How to simulate a joystick or gamepad -button press using an AutoIt script? E.g. pressing button A on an Xbox360 controller.
JatSing
  • 4,857
  • 16
  • 55
  • 65