an input device to control video games or machines. Questions address how to interface the Pi with joysticks.
Questions tagged [joystick]
22 questions
6
votes
1 answer
Wired 360 controller doesn't seem to work with C64 vice emulator?
Just got my retro pie set up. Played some great old SNES games with my xbox 360 wired usb controller, but had no luck with my C64 Vice Emulator games. Got some C64 the games to load, but was unable to get the controller or buttons to make any…
Roachy
- 61
- 2
4
votes
0 answers
Connecting Pi3 ModelB with a Sony PS3 DualShock controller
I bought the following model of Raspberry Pi3 from Amazon.
RASPBERRYPI3-MODB-1GB
which claims to support: Bluetooth 4.1, Bluetooth Low Energy
And I also got a Sony DualShock PS3 controller with Model No: CECHZC2U
I am trying to connect them using…
Edamame
- 141
- 2
4
votes
1 answer
Getting axis values from joystick from jstest into C program
I am wondering if there is a way to get the axis position values from a joystick to feed into a C program. I can run the command jstest /dev/input/js0 and it will display live feedback of current button, axis positions. I would like to get the…
Yamaha32088
- 265
- 5
- 16
3
votes
1 answer
Is there any way to use a joystick as a mouse?
In order to cut down on connected devices, is there any way to use a connected USB gamepad as a mouse?
Bonus points to anyone who can make it also act as the keyboard.
As a clarification, the optimal result that I'm looking for is something like the…
Zoot
- 2,996
- 3
- 27
- 36
2
votes
2 answers
Multi-Joystick (Joystick, rotary Encoder, push Button) to GPIOs
I'm trying to connect a Joystick/Encoder/Button (Copal Electronics CJ25) to a Raspberry PI. Using gpiotest I managed to get it up and running pretty well - using 3.3V input (though the data sheet mentions 5V).
The problem is, that each of the…
ftw
- 33
- 5
2
votes
0 answers
How to use PC Joystick from Raspberry PI via TeamViewer?
I've installed TeamViewer 11 Host in my Raspberry PI 3 and I can access my Raspberry PI by using the TeamViewer. But the problem is that, I can't access my Joystick that is connected in my PC from Raspberry PI using the TeamViewer. Is there any way…
csharpbd
- 121
- 5
2
votes
0 answers
How to access bluetooth controller on `/dev/input/js0` as user/group?
I'm working on an application that is reading an XBox controller connected via bluetooth. After configuring it (see https://pimylifeup.com/xbox-controllers-raspberry-pi/), I noticed that only root has read/write access to /dev/input/js0. Reading…
jhill515
- 121
- 3
1
vote
0 answers
Paired bluetooth joystick but it won't show at /dev/input or /dev/js
I just paired my bluetooth gamepad using https://www.cnet.com/how-to/how-to-setup-bluetooth-on-a-raspberry-pi-3/
Since it's a gamepad (it has a keyboard button but I'm usng in gamepad ode), it should appear at /dev/input or /dev/jsX, right? There's…
Poperton
- 65
- 2
- 11
1
vote
1 answer
Performance problems with xboxdrv
I wanna use the RPi as an emulation machine, thanks to RetroPie this is not a big problem. To control everything I want to connect multiple Xbox 360 wireless gamepads. This is possible by using xboxdrv.
It's easy to establish a connection via sudo…
MOnsDaR
- 111
- 4
1
vote
0 answers
Run brushless motor with esc
I have looked all over the internet on how to run a brushless motor with an esc through RPi.GPIO and have no results. I have tried simply wiring the esc as it is supposed to be and programming it through PWM. Here is what I have so…
DSchana
- 141
- 4
1
vote
1 answer
ESC Control with PS3 Controller using Python
I have connected my PS3 controller to the raspberry pi using a bluetooth dongle. I am not sure about how to structure the code to control the ESC with the left joystick (axis 1). Could anyone advise me on tutorials or information which can aid the…
tanuj Jain
- 61
- 5
1
vote
0 answers
Interfacing Saitek Megamaster MX-530 with Raspberry Pi
I found out an old Saitek Megamaster MX-530 joystick that I used to play games on old Pentium machine with Win XP. I've tried to used on modern system buying midi/game port converter (25 pin) to USB but without any success (I've tried 2…
Sbraaa
- 11
- 2
1
vote
0 answers
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
Failed to pair: org.bluez.Error.ConnectionAttemptFailed.
I am trying to connect my Bluetooth joystick controller '8bitdo Pro 2' to my RPi4. Below is the error I get. This appears to be the same error I have seen constantly asked about since 2014 up…
Roger Mckee
- 11
- 1
- 7
1
vote
1 answer
Calibrating axis joystick problem
I acquired this interface with buttons for 2 players (http://www.arcadeoutlet.es/es/interfaces-jamma/27-jamma-to-usb-2p.html)
I follow this steps to connect my joysticks with raspberry pi (http://…
50l3r
- 121
- 5
1
vote
0 answers
Access remote `/dev/input/` on local machine
My robot needs to read input commands from a USB joystick which is physically connected to a remote desktop (Ubuntu). On desktop, the joystick is available for local user with permissions:
crw-rw-r--+ 1 root input 13, 0 ** /dev/input/js0
Using…
zlg
- 51
- 1
- 6