xinput/libinput 中的“默认”属性有什么用?

xinput/libinput 中的“默认”属性有什么用?

我想通过调整垂直(两指)滚动速度,xinput因为我的 DE 设置实用程序不会公开该设置。因此,我跑去xinput --list-props获取触摸板的可用设置列表。我注意到许多属性本身有 2 个版本:1 个带有默认值,一个没有:

Device '******* Touchpad':
Device Enabled (201):   1
Coordinate Transformation Matrix (203): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (349): 1
libinput Tapping Enabled Default (350): 0
libinput Tapping Drag Enabled (351):    1
libinput Tapping Drag Enabled Default (352):    1
libinput Tapping Drag Lock Enabled (353):   0
libinput Tapping Drag Lock Enabled Default (354):   0
libinput Tapping Button Mapping Enabled (355):  1, 0
libinput Tapping Button Mapping Default (356):  1, 0
libinput Natural Scrolling Enabled (328):   1
libinput Natural Scrolling Enabled Default (329):   0
libinput Disable While Typing Enabled (357):    1
libinput Disable While Typing Enabled Default (358):    1
libinput Scroll Methods Available (330):    1, 1, 0
libinput Scroll Method Enabled (331):   1, 0, 0
libinput Scroll Method Enabled Default (332):   1, 0, 0
libinput Click Methods Available (359): 1, 1
libinput Click Method Enabled (360):    1, 0
libinput Click Method Enabled Default (361):    1, 0
libinput Middle Emulation Enabled (362):    0
libinput Middle Emulation Enabled Default (363):    0
libinput Accel Speed (337): 0.000000
libinput Accel Speed Default (338): 0.000000
libinput Accel Profiles Available (339):    1, 1
libinput Accel Profile Enabled (340):   1, 0
libinput Accel Profile Enabled Default (341):   1, 0
libinput Left Handed Enabled (342): 0
libinput Left Handed Enabled Default (343): 0
libinput Send Events Modes Available (313): 1, 1
libinput Send Events Mode Enabled (314):    0, 0
libinput Send Events Mode Enabled Default (315):    0, 0
Device Node (316):  "/dev/input/event16"
Device Product ID (317):    1267, 12491
libinput Drag Lock Buttons (344):   <no items>
libinput Horizontal Scroll Enabled (345):   1
libinput Scrolling Pixel Distance (346):    30
libinput Scrolling Pixel Distance Default (347):    15
libinput High Resolution Wheel Scroll Enabled (348):    1

正如名称所示,默认值是否在重新启动后仍然存在并填充其非默认对应项?

我查看了https://wiki.archlinux.org/title/Xinputxinput 的手册页,但没有注意到我的问题的答案。

相关内容