Questions tagged [gamepad]

A type of game controller held in two hands

A gamepad (also called joypad or control pad), is a type of game controller held in two hands, where the fingers (especially thumbs) are used to provide input. Gamepads generally feature a set of action buttons handled with the right thumb and a direction controller handled with the left. The direction controller has traditionally been a four-way digital cross (also named a joypad, or alternatively a D-pad), but most modern controllers additionally (or as a substitute) feature an analog stick.

303 questions
1
vote
2 answers

arduino joystick library, don't stop joystick

I'm making a gamepad on a joystick using an arduino pro micro. Input commands such as up and down from the console, raspberry pi's gpio will output them and the arduino will receive them and input them to the game machine. I use the…
Kouji Kawasaki
  • 153
  • 3
  • 11
1
vote
2 answers

Making Button/Selectable not react to "Submit" action, but without disabling them

I'm implementing controller navigation in my settings menu and I've set up a bunch of options with buttons that you can choose from by pressing left/right while the button is selected. Applying the options is handled by WestButton (square) on the…
1
vote
2 answers

QGamePadManager connectedDevices empty but Windows detects gamepad

I'm trying to get gamepad functionality to work in my C++ QT arcade game(yes PacMan) clone app. I'm writing and testing it in Windows for now (I don't have access to a Linux box but eventually I'll test there too hopefully). I have a protected…
Seth D. Fulmer
  • 490
  • 1
  • 4
  • 21
1
vote
1 answer

What is the difference between /dev/input/eventX and /dev/input/jsX?

When I connect a gamepad on my Linux kernel v5.14 there are two new devices that show up: /dev/input/event23 /dev/input/js1 If I cat | xxd both device files provide gamepad event information. But event23 is much more verbose than js1. Also,…
Arjonais
  • 563
  • 2
  • 17
1
vote
0 answers

Android joystick event injection

I'm tring to create joystick server on android like vJoy. I tried instrumentation but even if i signed apk not worked. I dont find any rooted method on internet. I found adb shell input joystick roll 0 0 but delay is very high. Edit 1: I tried…
1
vote
0 answers

How to use the Racing Wheel class in the UWP windows.gaming.input namespace

I want to use the windows.gaming.input to connect my Thrustmaster T300 with Force-Feedback. Some background information: I have to read all data (steering angle, buttons, ...) from the steering wheel and simply display them in a command prompt. If…
Philipp
  • 11
  • 2
1
vote
1 answer

Listen for gamepad button events with xbox one controller

I'd like to listen for button press events on an xbox one controller, but seems that many solutions to this are experimental and under development. Most examples I've found showing how to receive input from a gamepad use a polling method to…
j45612
  • 362
  • 1
  • 5
  • 17
1
vote
0 answers

Getting dualshok 4 positions

I trying to make a simple app that can be controlled by my gamepad (dualshok 4) and i stacked at getting current positions axies and buttons of my gamepad. Below my code that i already tried: class MainActivity : AppCompatActivity(),…
HWorld
  • 11
  • 1
1
vote
2 answers

How to implement Left and Right Analog Triggers in a HID Gamepad for Android

I am working on a HID gamepad with 4 axis(14 Bit), 16 Buttons, 2 Analog Triggers(1 Byte) and a Hat Switch. I am currently using Axis X and Y for the left analog stick, axis Rx and Ry for right analog stick and axis Z and Rz for left and right…
1
vote
0 answers

Must reconnect gamepad after every webpack update

I am using the GamePad API in a web app. I am using webpack-dev-server to serve the app as write it. Every time I save, I must physically reconnect the gamepad in order for it to be visible to the game. This slows down development. How can I…
sdgfsdh
  • 33,689
  • 26
  • 132
  • 245
1
vote
1 answer

How to send MotionEvents to Android?

I'm trying to develop a Virtual Gamepad but I'm facing lots of problems sending input and event to Android, especially with MotionEvents. I have a device rooted and the app stored in /system/app, required to send events to the system, but I'm not…
1
vote
0 answers

inputs.devices.all_devices Doesn't Find SNES Usb Gamepad

I would like to use a SNES Usb Controller with a python game that I am making, however, I can't seem to detect the controller. The Windows Gamepad Controller Configure window finds the controller, and so does https://html5gamepad.com/, but python…
Resistnz
  • 74
  • 5
1
vote
0 answers

What does uses-feature android.hardware.gamepad and android:required=true do for non-android TV devices?

I'm developing a game which requires a gamepad if run on an Android-TV device. However, if run on a regular phone/pad it does not require a gamepad. I would like to specify in the manifest that a gamepad is only required on Android-TV devices? The…
Viktor Sehr
  • 12,825
  • 5
  • 58
  • 90
1
vote
1 answer

Arduino Leonardo as gamepad

I'm trying to build up a new gamepad with arduino leonardo to send keystrokes to pc. I can only make my gamepad to work such as keyboard. After I build my gamepad and tried to use it in a pc game, I pressed a button and it can send to the PC…
bladekel
  • 37
  • 7
1
vote
1 answer

Problems working with several gamepads simultaneously in Unity3d

I have two gamepads connected: one compatible with PC connected via cable one compatible with PS4 connected wireless. I configured the Input in a way that each button has a different input according to the joystick to which it belongs to. The…
g5fighter
  • 45
  • 1
  • 6