linux -- xinput 输入设备管理

命令 ------> xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=12	[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	id=13	[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)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ Integrated Camera                       	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=14	[slave  keyboard (3)]

命令 ------> xinput list-props 12    查看id=12的设备状态
Device 'SynPS/2 Synaptics TouchPad':
	Device Enabled (126):	1
	Coordinate Transformation Matrix (128):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (248):	1
	Device Accel Constant Deceleration (249):	2.500000
	Device Accel Adaptive Deceleration (250):	1.000000
	Device Accel Velocity Scaling (251):	12.500000
	Synaptics Edges (252):	1781, 5579, 1646, 4582
	Synaptics Finger (253):	25, 30, 256
	Synaptics Tap Time (254):	180
	Synaptics Tap Move (255):	245
	Synaptics Tap Durations (256):	180, 180, 100
	Synaptics ClickPad (257):	0
	Synaptics Tap FastTap (258):	0
	Synaptics Middle Button Timeout (259):	75
	Synaptics Two-Finger Pressure (260):	282
	Synaptics Two-Finger Width (261):	7
	Synaptics Scrolling Distance (262):	111, 111
	Synaptics Edge Scrolling (263):	1, 0, 0
	Synaptics Two-Finger Scrolling (264):	0, 0
	Synaptics Move Speed (265):	1.000000, 1.750000, 0.035842, 40.000000
	Synaptics Edge Motion Pressure (266):	30, 160
	Synaptics Edge Motion Speed (267):	1, 446
	Synaptics Edge Motion Always (268):	0
	Synaptics Off (269):	0
	Synaptics Locked Drags (270):	0
	Synaptics Locked Drags Timeout (271):	5000
	Synaptics Tap Action (272):	0, 0, 0, 0, 0, 0, 0
	Synaptics Click Action (273):	1, 1, 1
	Synaptics Circular Scrolling (274):	0
	Synaptics Circular Scrolling Distance (275):	0.100000
	Synaptics Circular Scrolling Trigger (276):	0
	Synaptics Circular Pad (277):	0
	Synaptics Palm Detection (278):	0
	Synaptics Palm Dimensions (279):	10, 200
	Synaptics Coasting Speed (280):	20.000000, 50.000000
	Synaptics Pressure Motion (281):	30, 160
	Synaptics Pressure Motion Factor (282):	1.000000, 1.000000
	Synaptics Grab Event Device (283):	1
	Synaptics Gestures (284):	1
	Synaptics Capabilities (285):	1, 0, 1, 1, 1, 1, 1
	Synaptics Pad Resolution (286):	105, 75
	Synaptics Area (287):	0, 0, 0, 0
	Synaptics Noise Cancellation (288):	27, 27
	Device Product ID (243):	2, 7
	Device Node (244):	"/dev/input/event6"

xinput disable 12 禁用设备
xinput enable 12  启用设备

xinput 主要用于管理电脑上的输入设备.


  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值