Steam for Linux

Steam for Linux

lonesh33p 2023 年 1 月 11 日 下午 5:05
mouse button remap
Background part 1:
One way to scroll in Supreme Commander** is to drag while holding the middle mouse button. I'm trying to train myself to do that but struggling badly.

Background part 2:
I have a Rosewill Neon M59[www.rosewill.com] wired mouse with a couple of extra buttons, which do work out of the box in lubuntu 22.04 as browser-forward and browser-back, both in Firefox and Steam. No idea what codes are sent. It occurred to me I might remap one of those buttons to act as middle mouse button. Piper doesn't appear to support the M59. The (windows) neon_m59.exe utility did run under Proton, but (not suprisingly) reported no gaming mouse found when I clicked the apply button.

--------

I acknowledge that my ideal best option is to train myself to use the mmb. Failing that, is my second best option to buy a mouse supported by piper? (I prefer wireless anyway; that reduces the $$ reluctance.) Or is there a simple way to sniff those codes and remap the buttons with a config file or two?

**I'm actually running faf[www.faforever.com]; I've not inquired there yet.
引用自 jason:
KDE thing is apparently only available in Wayland.

For a simple rearranging of buttons you could do
xinput list
to find the appropriate device name, then
xinput set-buttom-map "device name" 1 2 3 4 5 6 7 2 2

(left middle right scroll up down left right back forward)
< >
目前顯示第 1-3 則留言,共 3
Zyro 2023 年 1 月 12 日 上午 3:11 
I'm not sure this would work in games, but KDE seems to have a remapping function for extra mouse buttons...
https://www.phoronix.com/news/KDE-Rebind-Extra-Mouse-Buttons
此討論串的作者認為本留言為原主題提供了解答。
jason 2023 年 1 月 12 日 上午 5:08 
KDE thing is apparently only available in Wayland.

For a simple rearranging of buttons you could do
xinput list
to find the appropriate device name, then
xinput set-buttom-map "device name" 1 2 3 4 5 6 7 2 2

(left middle right scroll up down left right back forward)
lonesh33p 2023 年 1 月 12 日 上午 9:41 
@jason thank you. So simple when you have the knowledge!

Obvious that you have some experience with this type of device. Even though the M59 has only five** buttons, the back and forward buttons show up in the 8 & 9 "slots".

** or 6. xev didn't print any output for DPI button.
< >
目前顯示第 1-3 則留言,共 3
每頁顯示: 1530 50

張貼日期: 2023 年 1 月 11 日 下午 5:05
回覆: 3