Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Onslaught

An audio-only Asteroids-like shooter · By Lights Out Games

Controller (Linux)

A topic by ironcross32 created Sep 10, 2020 Views: 191 Replies: 4
Viewing posts 1 to 4

I managed to rustle up an old laptop and turn it into a linux system. I've got Ubuntu Mate 20.04 on it. The game runs fine on it; however, the controller mappings aren't quite correct.


I was pleasantly surprised that the controller worked at all, and it is sort of playable, but the sensitivity is a bit much and there don't seem to be much of a deadzone on any of the axes. Also what LT and RT are doing isn't what they do on windows. Sorry, I can't be more specific because it keeps interrupting itself due to it trying to register too many presses all at once.


The vibration is working though, and you can still fire with A, just not RT for some reason. This is the same controller that I'm using on Windows. The only difference is that on Windows, it's connected via Bluetooth, and on this machine, it's connected via USB since the machine is 7 years old and doesn't have that capability.

Actually, coming back to Windows, the deadzone there isn't much better, it's just a bit less noticeable on Windows. It is very easy to inadvertently activate the hyper jump.

Developer

Is this a PS4 controller by chance? Linux was my primary development environment until a couple weeks ago, and my Xbox One controller worked beautifully, but I do have one report of a PS4 controller not working well.

I’ll see about getting my buddy’s PS4 back if he’s done beating TLOU2 for the 8 millionth time. :) If I do, I’ll try it under Linux and see what I can do. I may be somewhat limited though, as controller bugs are either in Godot or subsystems it depends on.

The hyperjump deadzone issue should be fixed in the release that’s dropping in a few minutes. Thanks for the feedback.

It's an Xbox 1 controller.

Developer

That’s wild. I think I installed this driver, but it suggests that it only works for bluetooth. I only got it working via USB. So either I installed some other driver and forgot which, or Linux is more of a wild west than I suspected. :( Sorry. I do know that my Xbox One controller behaved very well, so I had high hopes for controller support on Linux. :( I was also on Fedora, but I can’t imagine that making much of a difference.