Questions tagged [joystick]
22 questions
11
votes
3 answers
Are there any command line utilities that can capture joystick button presses?
Here's my situation: I have a Raspberry Pi with Raspbian installed on it. I also have RetroArch installed and a simple USB gamepad hooked up. Everything works fine, but I wanted to set it up so that pressing a key combination (ex L1+L2+R1+R2) would…
Doppelganger
- 115
- 1
- 1
- 6
8
votes
3 answers
accelerometer + screen rotation on non-touchscreen laptop?
I've recently got a non-touchscreen hp laptop with a hdd accelerometer. After upgrading it to Debian testing I noticed that whenever I tilt my laptop upwards past +45 deg, the screen rotates upside down. The opposite happens when I tilt my laptop…
MrWm
- 171
- 2
- 4
- 10
5
votes
2 answers
joystick as a mouse with Fedora
I would like to use a joystick as a mouse with Fedora 12. I tried js2mouse but didn't work. Is there another solution? How should I configure the system?
Luke
4
votes
1 answer
Emulate joystick input via numeric input
I have an arduino which gives me numbers from a potentiometer (300-600), device /dev/ttyACM0 baudrate 9600.
I want to use these numbers as a 1-axis joystick.
My system is archlinux and X-Displaymanager.
linuscl
- 542
- 1
- 6
- 22
4
votes
3 answers
How can you run a script triggered by a joystick input?
I'm using a Raspberry Pi running Raspbian to power my arcade cabinet. I want to shut the Pi down using the sudo poweroff command without using the keyboard. I'm thinking the best way would be to create a simple script that would somehow be triggered…
Jody
- 41
- 1
- 3
3
votes
1 answer
test evdev-joystick calibration
I want to calibrate a joystick (custom hardware) with no buttons and only one axis (Z). I used evtest to read the movement range i.e. min/max values and the centre (the point where the joystick rests), which is approximately in the middle of that…
ldd3
- 71
- 6
3
votes
1 answer
How to force evdev API instead Joystick legacy API?
Steam has support only evdev driver when using joystick, so I have a cool wii u "usb adapter" and 2 gamecube controllers working OK in steam thanks to the "wii-u-gc-adapter" tool.
I also have 2 wiimote (with classic controller) working great (with…
Martin
- 31
- 3
3
votes
0 answers
Help with udev rules my Keyboard thinks it's a Joystick
I'm running Archlinux and I have a weird problem my "Microsoft Wired Keyboard 600" gets picked up as a Joystick and a Keyboard for some reason.
Note: Output trimmed
─$ xinput list
Virtual core pointer id=2[master pointer (3)]
↳…
DeMeNteD
- 131
- 2
2
votes
0 answers
usb Joystick Detected, but registers no input
I have two Oracle Enterprise Linux 6.7 systems, each running kernel 2.6.32-573.7.1.el6.x86_64
The same overall packages/configuration are applied to both, and I have installed kmod-joydev from the elrepo repository. On one of the systems(dell t3600…
Gravy
- 1,552
- 10
- 22
2
votes
1 answer
What does the xpad kernel module provide? (And what would I lose by disabling it?)
Backstory
I wanted to use xbox controller for some steam-on-wine games.
I found xboxdrv which claims to make xbox controller work for wine programs.
When I run $sudo xboxdrv I get:
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright…
ThorSummoner
- 4,312
- 6
- 30
- 47
2
votes
1 answer
Mapping two joysticks with Xorg
I already managed to map the input of a joystick to keyboard inputs by writing a file in my xorg.conf.d/ directory (the file is named 51-joystick.conf).
Now I would like to map the inputs of a second joystick (same model) to use them together. So I…
SLakx
- 21
- 4
1
vote
0 answers
Is it possible to merge two (or more) joysticks into one virtual one?
With a more powerful graphics adapter comes the luxury of playing games in Linux (mostly using Lutris/Wine).
I have the classical bundle of CH Products joystick (Fighterstick, Pro Throttle and Pro Pedals) mostly for flight simulations. Most modern…
Phoenix
- 274
- 2
- 9
1
vote
4 answers
Trick a window that it has focus in kde
Is it possible to make a window believe that it has a focus while it has not?
My use case description:
I am playing a game named Detroit Become Human. I am playing with gamepad. The game is actually an interactive movie. It has a very complicated…
Ashark
- 767
- 7
- 24
1
vote
1 answer
Force PS3 clone arcade gamepad to be hid generic
I have a NETWAY GAMING ARCADE FIGHTER PS3/PC. This device works fine under windows and also does on recalbox 4.1, but does not in any current linux that I have tried.
I have tried to recompile hid-sony with various older versions, including the very…
Eugenio
- 21
- 5
1
vote
1 answer
Where is code for Switch Pro bluetooth joystick handling in linux kernel?
I want to try to implement gyro feature for Switch Pro joystick. For now it works, but no gyro input is supported, so it's implemented somewhere.
However, I can't find where that code is, while wiimote or sony ones are pretty obvious. So, where is…
val - disappointed in SE
- 136
- 3
- 14