For questions about joysticks.
Questions tagged [joystick]
496 questions
0
votes
2 answers
How can I list available input devices with haxe?
I would like to list all the input devices available when I launch an application, but I can't find a way to do that in the API.
How can I get a list of available keyboards, mice, gamepads, touch screens, accelerometers...

Coyote
- 2,454
- 26
- 47
0
votes
1 answer
Transforming analog keypresses to digital
In python I want to simulate a joystick that when used, to give values between -63 and +63 let's say. When the value it's positive, I want to press the "w" key and "s" key when negative.
I am not having problems receiving the values, but to…

Serban Razvan
- 4,250
- 3
- 21
- 22
0
votes
1 answer
With SDL joystick handler, I want to keep doing something while the hat is pressed in
Currently when I hold down a direction on the d-pad (hat in sdl) my code only executes once,
here is my code:
while (SDL_PollEvent( &event ))
{
switch (event.type)
{
case SDL_QUIT:
exitapp = 1;
break;
case…

user1686825
- 11
0
votes
1 answer
VB.NET - Convert joyGetDevCaps function from VB6 to VB.NET
I am clueless how I should convert the following API to VB.NET
Private Const MAXPNAMELEN As Long = 32&
Private Type JOYCAPS
wMid As Integer
wPid As Integer
szPname As String * MAXPNAMELEN
wXmin As Long
wXmax As Long
wYmin As Long
wYmax As…

tmighty
- 10,734
- 21
- 104
- 218
0
votes
2 answers
Using pygame Joystick in pyglet
I'm trying to write a simple game with pyglet but use pygame for gamepad input. The following code successfully prints axis values to the command line, but aside from importing pyglet, doesn't actually show a pyglet window:
import pygame
import…

Jegschemesch
- 11,414
- 4
- 32
- 37
0
votes
1 answer
Using SneakyJoystick in a layer to control a game character in a different layer
What I'm trying to achieve is the ability to use a Cocos2d SneakyInput SneakyJoystick to control the movement of my LHSprite (created using level helper) Character/Player in my box2d/cocos2d game.
I can get it to work, however, the sneakyJoystick…

Harry
- 321
- 1
- 5
- 17
0
votes
1 answer
C# Joystick Input
I've got a Logitech Attack 3 (Standard Joystick) plugged into my computer and have confirmed that it is working. Now given that, I need a way via C# (only C#) to read the axis (and buttons would be nice too) values from the joystick. I have seen…

Mohammad Adib
- 788
- 6
- 19
- 39
0
votes
1 answer
Levelhelper sprite + SneakyJoystick
Basically i'd like to move a box2d body of a LHSprite that I created using LevelHelper.
I have tried moving the box2d body of the LHSprite, based on weather my SneakyJoystick is active (that part works fine) with the following…

Harry
- 321
- 1
- 5
- 17
0
votes
1 answer
Multiple uinput devices
Is it possible to create multiple uinput devices and if so how to do it? I'd like to create multiple separate game controllers.
Thanks for any help.

jimmy
- 23
- 4
0
votes
1 answer
Get List Of Connected Joysticks using VBScript
I'm looking for a way that I can get list of connected joysticks via VBScript just like in the picture below (I mean the order of them is highly important):

Inside Man
- 4,194
- 12
- 59
- 119
0
votes
1 answer
Can Allegro update the number of joysticks at runtime?
Is there a way to update the number of joysticks plugged in at run-time other than constantly calling remove_joystick() then install_joystick? This proves to be extremely slow (goes from 60 FPS to around 5).
Allegro 4.2 answers only please...
void…

Casey
- 10,297
- 11
- 59
- 88
0
votes
1 answer
How to reset the SneakyJoyStick back to its centered position?
I need to know how to reset the SneakyJoyStick back to its original centered position. The problem that I'm having is I have the joystick controlling my player and when the player reaches a door tile on a TMX map I have it push the new scene/map,…

stenger96
- 224
- 3
- 17
0
votes
1 answer
win32 DialogBox() and MAKEINTRESOURCE(): how to modify the app's ui?
I'm working on my project which is trying to control a camera by using a Joystick,
and I found this sample code:
http://ukgtut.googlecode.com/svn-history/r53/trunk/irrlicht/src/proto_carace/Joystick.cpp
This app has its own ui which isn't fit to my…

lesner
- 25
- 2
0
votes
1 answer
Android game software joystick
Im looking for an easy way to move around a character and rotate it using a software joystick. Though, i have never done anything like this and have no idea about how to create one.
Any advice?
Thanks

rel-s
- 6,108
- 11
- 38
- 50
-1
votes
1 answer
Having an issue where the on-screen stick component on unity doesnt get dragged anymore
I was working on a game of mine, and the stick was working initially, but on the latest compile, the stick doesn't move anymore, I cant say it it isn't getting clicked or there is an issue with the component, I'm fairly new to unity, please help!

Eventor
- 46
- 8