Created
June 3, 2017 02:57
-
-
Save kjmkznr/a9c9e2f2cfe78a0a69699a5317b557e3 to your computer and use it in GitHub Desktop.
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
Section "InputClass" | |
Identifier "Keyboard-ThinkPad" | |
Driver "libinput" | |
#MatchProduct "ThinkPad Compact Bluetooth Keyboard with TrackPoint" | |
#MatchIsKeyboard "on" | |
#Option "SendCoreEvents" "true" | |
Option "XkbLayout" "dvorak,us" | |
Option "XkbVariant" "dvorak" | |
Option "XkbOptions" "ctrl:swapcaps,grp:alt_shift_toggle,grp_led:scroll" | |
EndSection | |
Section "InputClass" | |
Identifier "mouse-ThinkPad" | |
Driver "libinput" | |
Option "EmulateWheel" "true" | |
Option "Emulate3Buttons" "true" | |
Option "EmulateWheelButton" "2" | |
Option "XAxisMapping" "6 7" | |
Option "YAxisMapping" "4 5" | |
#MatchIsPointer "yes" | |
EndSection |
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
Section "InputClass" | |
Identifier "Kensington Trackball" | |
Driver "evdev" | |
MatchProduct "Kensington Expert Mouse" | |
MatchIsPointer "on" | |
Option "Device" "/dev/input/by-id/usb-Kensington_Kensington_Expert_Mouse-event-mouse" | |
Option "SendCoreEvents" "true" | |
# Default: | |
# .--------. .-----------. | |
# | 2:Mid | | 8:Back | | |
# `--------' `-----------' | |
# .--------. .-----------. | |
# | 1:Left | | 3:Right | | |
# `--------' `-----------' | |
# 4:ScrollUp | |
# 5:ScrollDown | |
# | |
# .--------. .-----------. | |
# | 2:Mid | | 8:Back | | |
# `--------' `-----------' | |
# .--------. .-----------. | |
# | 1:Left | | 3:Right | | |
# `--------' `-----------' | |
# 4:ScrollUp | |
# 5:ScrollDown | |
#Option "ButtonMapping" "1 2 8 4 5 6 7 3" | |
Option "EmulateWheel" "true" | |
Option "EmulateWheelButton" "2" | |
Option "EmulateWheelInertia" "20" | |
Option "XAxisMapping" "6 7" | |
Option "YAxisMapping" "4 5" | |
EndSection |
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
Section "InputClass" | |
Identifier "Logitech USB Trackball" | |
MatchProduct "Logitech USB Trackball" | |
MatchIsPointer "on" | |
Option "Device" "/dev/input/by-id/usb-Logitech_USB_Trackball-event-mouse" | |
Driver "evdev" | |
Option "SendCoreEvents" "true" | |
Option "EmulateWheel" "true" | |
Option "EmulateWheelButton" "8" | |
Option "EmulateWheelInertia" "20" | |
Option "XAxisMapping" "6 7" | |
Option "YAxisMapping" "4 5" | |
EndSection |
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
Section "Device" | |
Identifier "Intel Graphics" | |
Driver "intel" | |
Option "DRI" "false" | |
Option "NoAccel" "True" | |
Option "XvMC" "True" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment