Detect all possible generic mouse buttons for keybind settings
Posted: Thu May 08, 2025 12:10 am
Hello, I have a little QOL suggestion :
As far as I know (maybe it has changed), Windows only recognizes generic Mouse Buttons 1 to 5, 4 and 5 traditionally being "back" and "forward" in browsers.
As a consequence, most mice map additional buttons after 5 to seldom-used keyboard keys. However, some mice like mine allow setting these buttons to generic Mouse Buttons numbered 6 and up. I have confirmed that they are properly recognized by Linux, and some games (at least Minecraft) are able to detect them and use them in keybinds. That said, Factorio currently does not after button 5.
My suggestion is then to add this capabilty to the game, at least on platforms where it is technically possible (Linux for sure, Windows and macOS TBD).
Thanks for hearing me out!
As far as I know (maybe it has changed), Windows only recognizes generic Mouse Buttons 1 to 5, 4 and 5 traditionally being "back" and "forward" in browsers.
As a consequence, most mice map additional buttons after 5 to seldom-used keyboard keys. However, some mice like mine allow setting these buttons to generic Mouse Buttons numbered 6 and up. I have confirmed that they are properly recognized by Linux, and some games (at least Minecraft) are able to detect them and use them in keybinds. That said, Factorio currently does not after button 5.
My suggestion is then to add this capabilty to the game, at least on platforms where it is technically possible (Linux for sure, Windows and macOS TBD).
Thanks for hearing me out!