2017年9月12日 星期二

ThinkPad Trackpoint 設定



$xinput
⎡ Virtual core pointer                     id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer               id=4 [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                   id=12 [slave  pointer  (2)]
⎜   ↳ Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint id=8 [slave  pointer  (2)]
⎣ Virtual core keyboard                   id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard             id=5 [slave  keyboard (3)]
    ↳ Power Button                             id=6 [slave  keyboard (3)]
    ↳ Power Button                             id=7 [slave  keyboard (3)]
    ↳ Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint id=9 [slave  keyboard (3)]
    ↳ Logitech USB Receiver                   id=13 [slave  keyboard (3)]

$xinput list-props "pointer:Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint"
Device 'Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint':
Device Enabled (152): 1
Coordinate Transformation Matrix (154): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (413): 0
Device Accel Constant Deceleration (414): 1.000000
Device Accel Adaptive Deceleration (415): 1.000000
Device Accel Velocity Scaling (416): 10.000000
Device Product ID (271): 6127, 24585
Device Node (272): "/dev/input/event14"
Evdev Axis Inversion (417): 0, 0
Evdev Axes Swap (419): 0
Axis Labels (420): "Rel X" (162), "Rel Y" (163)
Button Labels (421): "Button Left" (155), "Button Middle" (156), "Button Right" (157), "Button Wheel Up" (158), "Button Wheel Down" (159), "Button Horiz Wheel Left" (160), "Button Horiz Wheel Right" (161), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412), "Button Unknown" (412)
Evdev Scrolling Distance (422): 0, 0, 0
Evdev Middle Button Emulation (423): 0
Evdev Middle Button Timeout (424): 50
Evdev Middle Button Button (425): 2
Evdev Third Button Emulation (426): 0
Evdev Third Button Emulation Timeout (427): 1000
Evdev Third Button Emulation Button (428): 3
Evdev Third Button Emulation Threshold (429): 20
Evdev Wheel Emulation (430): 0
Evdev Wheel Emulation Axes (431): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (432): 10
Evdev Wheel Emulation Timeout (433): 200
Evdev Wheel Emulation Button (434): 4
Evdev Drag Lock Buttons (435): 0

$xinput set-prop "pointer:Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint" "Evdev Wheel Emulation" 1
$ xinput set-prop "pointer:Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint" "Evdev Wheel Emulation Button" 2
$ xinput set-prop "pointer:Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint" "Evdev Wheel Emulation Timeout" 200


The need for the "--with-bdeps y" and "--backtrack 100" switches will go away over upcoming



沒有留言: