Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Actively used controller not automatically recognized

A topic by Hazel created 96 days ago Views: 208 Replies: 2
Viewing posts 1 to 3
(1 edit)

Hiya, so the Linux kernel keeps recognizing my keyboard as a gamepad, so when I have that plugged in and connect a controller to play it will start polling the first available joystick, /dev/input/js0, which is my keyboard.

Is there a way to implement automatically selecting a controller based on which one can poll some sort of input?

I had to use Steam input to get my controller working on linux

I got it working eventually by disconnecting my keyboard and then connecting my controller first to occupy /js0, but having a more robust solution would be wonderful.