Skip to content

Instantly share code, notes, and snippets.

View Biri0's full-sized avatar
πŸ‘‹
hi there!

Mariano Riefolo Biri0

πŸ‘‹
hi there!
View GitHub Profile
@Biri0
Biri0 / README.md
Last active May 19, 2026 11:10
LD_PRELOAD shim to fix Godot 4.1.1 touchpad-as-gamepad bug in Buckshot Roulette on Linux

Buckshot Roulette - Touchpad Fix for Linux

Fixes the touchpad being misidentified as a gamepad in Buckshot Roulette (Godot 4.1.1) on Linux. The game's engine opens /dev/input/event* directly and registers any device with EV_KEY + EV_ABS + (ABS_X && ABS_Y) as a gamepad β€” which includes most laptop touchpads.

Symptoms

  • Controller button hints appear with no controller connected