The game only supports mouse_left, mouse_right, mouse_middle, mouse_4, and mouse_5. So this would be a feature request to TF2 (including Windows).
Thanks for the info. I suppose that this is easily worked-around on Windows when you can use Logitech's SetPoint software to fake keyboard presses. The Linux version of TF2 isn't so easily fooled. Common methods to do this in Linux involve evrouter (doesn't work in TF2), and xbindkeys (causes mouse input to stop and/or jump around the screen when a button is held down or released).
If anyone knows how to fake key presses in Linux reliably I'd love to know more about that.
Issue transferred to ValveSoftware/Source-1-Games#68.
This issue is closed - continue conversation there.
Nothing extracted yet.
My Logitech MX518 has a total of eight buttons detected by xev. Only five are usable in TF2. All buttons are detected by the game, but mouse4 and mouse5 are duplicated across some of the buttons. Here is the output of xev after pressing all mouse buttons:
And here is a xev to TF2 translation mapping for the buttons that are duplicated and therefore unavailable for unique functions:
Steps to reproduce:
System Information: