Skip to content

Instantly share code, notes, and snippets.

@osyoyu
Last active August 29, 2015 14:04
Show Gist options
  • Save osyoyu/77cfb5f7bde831cce3fc to your computer and use it in GitHub Desktop.
Save osyoyu/77cfb5f7bde831cce3fc to your computer and use it in GitHub Desktop.
ThinkPad X240 ClickPad Configuration
Section "InputClass"
Identifier "Clickpad"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
# RightButtonAreaLeft RightButtonAreaRight RightButtonAreaTop RightButtonAreaBottom MiddleButtonAreaLeft MiddleButtonAreaRight MiddleButtonAreaTop MiddleButtonAreaBottom
Option "SoftButtonAreas" "66% 0 0 0 50% 64% 0 0"
# Disable tapping and scrolling
Option "TouchpadOff" "1"
EndSection
Section "InputClass"
Identifier "TrackPoint"
MatchProduct "TrackPoint"
MatchDriver "evdev"
Option "EmulateWheel" "1"
Option "EmulateWheelButton" "2"
Option "XAxisMapping" "6 7"
EndSection
@osyoyu
Copy link
Author

osyoyu commented Jul 16, 2014

見ての通り、X240のClickPadのconfです。
ClickPadの上の 75% はスクロールを完全に無効化してます。
下 25% のうち、中央の 30% を始点にしてスクロールを開始できます。
ボタンの割り当ては 左から 50% が左クリック、15% が中クリック、そこから右は右クリック。

@osyoyu
Copy link
Author

osyoyu commented Jul 16, 2014

X250 だかなんだか知らないけど、次の ThinkPad は物理的にキーを分けてほしい……。

@osyoyu
Copy link
Author

osyoyu commented Jul 17, 2014

スクロール、使いづらかったので完全に無効にした。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment