I have the GOG version of Hollow Knight and i play using a Dualshock 4 (PlayStation 4) controller, remapped via AntiMicroX to send keyboard inputs instead of controller inputs.
I have it set up this way because Hollow Knight doesn’t support this controller. That is, it supports it enough to know that i have a controller plugged in and to sometimes override my controls with the default gamepad controls, but it doesn’t support it enough for me to rebind controls or consistently rely on controller input.
The game is unplayable with some buttons changing at random times, so i’d like to either make it work with my controller or make it ignore my controller. I’m fine with installing a mod for this if i have to, but at a glance i couldn’t find any mods for this. Is there a way to make this work?
Alternatively, what would i change in ~/.config/unity3d/Team Cherry/prefs to disable all the buttons on this controller?
I don’t know whether Hollow Knight uses an input library (like SDL) that would allow controller tweaks, but it might be worth investigating.
Steam generally gets games with poor/rigid controller support to work via Steam Input, which creates a virtual device that behaves like an Xbox controller and maps the real controller’s inputs to it. You’re not using Steam, but this project does the same sort of thing, and might be helpful:
https://github.com/chrippa/ds4drv
I don’t know if it’s still maintained, but if it chokes on a new distro, one if its forks might work.