Created
January 12, 2021 13:59
-
-
Save dekisugi/565cdf8e8f06cf8736e423c9cce0d600 to your computer and use it in GitHub Desktop.
xorg.conf.d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 全てのマウスボタンを動作させる - ArchWiki | |
# https://wiki.archlinux.jp/index.php/%E5%85%A8%E3%81%A6%E3%81%AE%E3%83%9E%E3%82%A6%E3%82%B9%E3%83%9C%E3%82%BF%E3%83%B3%E3%82%92%E5%8B%95%E4%BD%9C%E3%81%95%E3%81%9B%E3%82%8B | |
# > egrep "Name|Handlers" /proc/bus/input/devices | egrep -B1 'Handlers.*mouse' | |
# > キーボードをマウスボタンにバインド | |
# Logitech Trackball not scrolling | |
# https://forums.opensuse.org/showthread.php/521341-Logitech-Trackball-not-scrolling | |
# evdevじゃなくてlibinput使え | |
# Logitech Marble Mouse - ArchWiki | |
# https://wiki.archlinux.jp/index.php/Logitech_Marble_Mouse#libinput | |
Section "InputClass" | |
Identifier "HUGE libinput" | |
MatchProduct "ELECOM TrackBall Mouse HUGE TrackBall" | |
MatchIsPointer "on" | |
#MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
Option "ScrollMethod" "button" | |
Option "ScrollButton" "9" | |
Option "ButtonMapping" "1 2 3 4 5 6 7 3 2 9 8 2" | |
EndSection | |
#Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 10 11 12" | |
# 1 Left | |
# 2 Middle | |
# 3 Right | |
# 4 Wheel-Up | |
# 5 Wheel-Down | |
# 6 Tilt-Left | |
# 7 Tilt-Right | |
# 8 Back (near-side) | |
# 9 Forward (far-side) | |
# 10 Fn1 | |
# 11 Fn2 | |
# 12 Fn3 | |
# スクロールに他の動作を割り当ててしまうと、ScrollButtonの動作が残念なことになるようだ? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment