Para as propriedades libinput do xinput, qual é a diferença entre aqueles com padrão em seus nomes e aqueles sem?


2

Para a xinput list-props "ETPS/2 Elantech Touchpad"minha saída é

Device 'ETPS/2 Elantech Touchpad':
    Device Enabled (139):   1
    Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (276): 0
    libinput Tapping Enabled Default (277): 0
    libinput Tapping Drag Enabled (278):    1
    libinput Tapping Drag Enabled Default (279):    1
    libinput Tapping Drag Lock Enabled (280):   0
    libinput Tapping Drag Lock Enabled Default (281):   0
    libinput Tapping Button Mapping Enabled (282):  1, 0
    libinput Tapping Button Mapping Default (283):  1, 0
    libinput Accel Speed (284): 0.000000
    libinput Accel Speed Default (285): 0.000000
    libinput Natural Scrolling Enabled (286):   0
    libinput Natural Scrolling Enabled Default (287):   0
    libinput Send Events Modes Available (261): 1, 1
    libinput Send Events Mode Enabled (262):    0, 0
    libinput Send Events Mode Enabled Default (263):    0, 0
    libinput Left Handed Enabled (288): 0
    libinput Left Handed Enabled Default (289): 0
    libinput Scroll Methods Available (290):    1, 1, 0
    libinput Scroll Method Enabled (291):   1, 0, 0
    libinput Scroll Method Enabled Default (292):   1, 0, 0
    libinput Disable While Typing Enabled (293):    1
    libinput Disable While Typing Enabled Default (294):    1
    Device Node (264):  "/dev/input/event5"
    Device Product ID (265):    2, 14
    libinput Drag Lock Buttons (295):   <no items>
    libinput Horizontal Scroll Enabled (296):   1

Então, qual é a diferença entre algo como libinput Tapping Enablede libinput Tapping Enabled Default? O que significa default neste contexto? Estou usando-o para configurar meu touchpad para o i3.

Respostas:


3

O xf86-input-libinput usa essas propriedades somente leitura para relatar valores padrão que a libinput usaria para este dispositivo em particular e, portanto, permite que as UIs e os painéis de controle redefinam corretamente os parâmetros, em vez de assumirem um único padrão em todos os sistemas e dispositivos (ou duplicar a lógica da libinput).

Ao utilizar nosso site, você reconhece que leu e compreendeu nossa Política de Cookies e nossa Política de Privacidade.
Licensed under cc by-sa 3.0 with attribution required.