LINUX.ORG.RU

История изменений

Исправление arax, (текущая версия) :

Попробуй xinput list --long и смотри Class originated from у Virtual core pointer.
Но если устройств ввода много, то это не поможет(он будет показывать последнее использованое).

можно понять только при раскопке list-props каждого девайса, и поиска свойства, свойственного указателю, к примеру скорости указателя

Нет такое и у клавиатуры может быть, пример:

Device 'CX 2.4G Wireless Receiver Mouse':
	Device Enabled (161):	1
	Coordinate Transformation Matrix (163):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (294):	0
	libinput Natural Scrolling Enabled Default (295):	0
	libinput Scroll Methods Available (296):	0, 0, 1
	libinput Scroll Method Enabled (297):	0, 0, 1
	libinput Scroll Method Enabled Default (298):	0, 0, 1
	libinput Button Scrolling Button (299):	9
	libinput Button Scrolling Button Default (300):	2
	libinput Button Scrolling Button Lock Enabled (301):	0
	libinput Button Scrolling Button Lock Enabled Default (302):	0
	libinput Middle Emulation Enabled (303):	0
	libinput Middle Emulation Enabled Default (304):	0
	libinput Rotation Angle (275):	0.000000
	libinput Rotation Angle Default (276):	0.000000
	libinput Accel Speed (305):	-1.000000
	libinput Accel Speed Default (306):	0.000000
	libinput Accel Profiles Available (307):	1, 1, 1
	libinput Accel Profile Enabled (308):	1, 0, 0
	libinput Accel Profile Enabled Default (309):	1, 0, 0
	libinput Accel Custom Fallback Points (310):	<no items>
	libinput Accel Custom Fallback Step (311):	0.000000
	libinput Accel Custom Motion Points (312):	<no items>
	libinput Accel Custom Motion Step (313):	0.000000
	libinput Accel Custom Scroll Points (314):	<no items>
	libinput Accel Custom Scroll Step (315):	0.000000
	libinput Left Handed Enabled (316):	0
	libinput Left Handed Enabled Default (317):	0
	libinput Send Events Modes Available (277):	1, 0
	libinput Send Events Mode Enabled (278):	0, 0
	libinput Send Events Mode Enabled Default (279):	0, 0
	Device Node (280):	"/dev/input/event5"
	Device Product ID (281):	1452, 598
	libinput Drag Lock Buttons (318):	<no items>
	libinput Horizontal Scroll Enabled (319):	1
	libinput Scrolling Pixel Distance (320):	15
	libinput Scrolling Pixel Distance Default (321):	15
	libinput High Resolution Wheel Scroll Enabled (322):	1

Исправление arax, :

Попробуй xinput list --long и смотри Class originated from у Virtual core pointer.
Но если устройств ввода много, то это не поможет(он будет показывать последнее использованое).

можно понять только при раскопке list-props каждого девайса, и поиска свойства, свойственного указателю, к примеру скорости указателя

Нет такое и у клавиатуры может быть, пример:

⎜   ↳ CX 2.4G Wireless Receiver Mouse         	id=10	[slave  pointer  (2)]
	Reporting 7 classes:
		Class originated from: 10. Type: XIButtonClass
		Buttons supported: 9
		Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra"
		Button state:
		Class originated from: 10. Type: XIValuatorClass
		Detail for Valuator 0:
		  Label: Rel X
		  Range: -1.000000 - -1.000000
		  Resolution: 0 units/m
		  Mode: relative
		Class originated from: 10. Type: XIValuatorClass
		Detail for Valuator 1:
		  Label: Rel Y
		  Range: -1.000000 - -1.000000
		  Resolution: 0 units/m
		  Mode: relative
		Class originated from: 10. Type: XIValuatorClass
		Detail for Valuator 2:
		  Label: Rel Horiz Scroll
		  Range: -1.000000 - -1.000000
		  Resolution: 0 units/m
		  Mode: relative
		Class originated from: 10. Type: XIValuatorClass
		Detail for Valuator 3:
		  Label: Rel Vert Scroll
		  Range: -1.000000 - -1.000000
		  Resolution: 0 units/m
		  Mode: relative
		Class originated from: 10. Type: XIScrollClass
		Scroll info for Valuator 2
		  type: 2 (horizontal)
		  increment: 120.000000
		  flags: 0x0
		Class originated from: 10. Type: XIScrollClass
		Scroll info for Valuator 3
		  type: 1 (vertical)
		  increment: 120.000000
		  flags: 0x0

Исправление arax, :

Попробуй xinput list --long и смотри Class originated from у Virtual core pointer.
Но если устройств ввода много, то это не поможет(он будет показывать последнее использованое).

Исходная версия arax, :

Попробуй xinput list --long и смотри Class originated from у Virtual core pointer.
Но если устройств ввода много, то это не поможет.