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之类的东西
在哪里可以找到这些条目的文档?例如,哪一个是触摸屏?
...I尝试了参数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艳羡x360 - 15-w107ne“。
发布于 2016-10-28 04:03:03
your 7501:0006CB:12B8,连同钢笔层,是你的触摸屏。
来自https://www.x.org/wiki/XOrgInputDriverSpec/#index3h2:
虚拟核心设备总是可用的,但不会产生独立的事件。所有事件都来自扩展设备。这是一个非常适合的服务器,支持多核心设备和设备热插拔.随着MPX的最新集成,可能存在多个虚拟核心设备。它们也被称为主设备。
本质上,Virtual指针/键盘可以由软件和硬件委托来执行某些任务,比如捕获鼠标或启用多个鼠标游标。
至于更改参数,请使用以下命令:
xinput set-prop <device-id> <param-id> <values>注意,值取决于参数。例如,翻转X轴/Y轴需要两个值-- 0 0结果没有反演,0 1结果是Y轴反转--X轴的第一个值,Y轴的第二个值。
编辑、文件:
Evdev手册页:ftp://www.x.org/pub/X11R7.5/doc/man/man4/evdev.4.html
https://askubuntu.com/questions/842670
复制相似问题