的一些条目xinput
很奇怪
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SYNA7501:00 06CB:12B8 Pen id=11 [slave pointer (2)]
⎜ ↳ SYNA7501:00 06CB:12B8 id=12 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=16 [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)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ HP Truevision HD id=10 [slave keyboard (3)]
↳ Intel Virtual Button driver id=13 [slave keyboard (3)]
↳ Intel Virtual Button driver id=14 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]
↳ HP WMI hotkeys id=17 [slave keyboard (3)]
↳ HP Wireless hotkeys id=18 [slave keyboard (3)]
之类的东西Virtual core XTEST pointer
或两者SYNA7501:00 06CB:12B8
我在哪里可以找到这些条目的文档?例如,哪一个是触摸屏?
...我尝试了该参数list-props
,但它不是很有帮助。事实上,它输出的东西我也想为其查找文档。
例如; xinput list-props 11
:
Device 'SYNA7501:00 06CB:12B8 Pen':
Device Enabled (137): 1
Coordinate Transformation Matrix (139): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (263): 0
Device Accel Constant Deceleration (264): 1.000000
Device Accel Adaptive Deceleration (265): 1.000000
Device Accel Velocity Scaling (266): 10.000000
Device Product ID (255): 1739, 4792
Device Node (256): "/dev/input/event12"
Evdev Axis Inversion (267): 0, 0
Evdev Axis Calibration (268): <no items>
Evdev Axes Swap (269): 0
Axis Labels (270): "Abs X" (260), "Abs Y" (261), "Abs Pressure" (262)
Button Labels (271): "Button 0" (259), "Button Unknown" (258), "Button Unknown" (258), "Button Wheel Up" (143), "Button Wheel Down" (144)
Evdev Scrolling Distance (272): 0, 0, 0
Evdev Middle Button Emulation (273): 0
Evdev Middle Button Timeout (274): 50
Evdev Third Button Emulation (275): 0
Evdev Third Button Emulation Timeout (276): 1000
Evdev Third Button Emulation Button (277): 3
Evdev Third Button Emulation Threshold (278): 20
Evdev Wheel Emulation (279): 0
Evdev Wheel Emulation Axes (280): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (281): 10
Evdev Wheel Emulation Timeout (282): 200
Evdev Wheel Emulation Button (283): 4
Evdev Drag Lock Buttons (284): 0
我希望能够控制这些参数。
这些输出的型号是“HP ENVY x360 - 15-w107ne”
SYNA7501:00 06CB:12B8 以及 Pen 层是您的触摸屏。
来自https://www.x.org/wiki/XOrgInputDriverSpec/#index3h2:
本质上,虚拟核心指针/键盘可以由软件和硬件委派以执行某些任务,例如捕获鼠标或启用多个鼠标光标。
至于更改参数,请使用以下命令:
请注意,值取决于参数。例如,翻转 X 轴/Y 轴将需要两个值 -
0 0
导致不反转,0 1
导致 Y 轴反转 - X 轴的第一个值和 Y 轴的第二个值。编辑,文档:
Evdev 手册页:ftp: //www.x.org/pub/X11R7.5/doc/man/man4/evdev.4.html