You are not logged in.

#1 2024-04-01 21:49:29

tomekk228
Member
Registered: 2020-04-24
Posts: 16

[RESOLVED] Disable Scrolling (Mouse, Touchpad, etc)

Hey,

i try to disable Scrolling.

Tried following:

https://wiki.archlinux.org/title/Libinput#
https://www.baeldung.com/linux/enable-d … mmand-line

Devices:

[user@cf31 ~]$ xinput list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ Fujitsu Component USB Touch Panel           id=9    [slave  pointer  (2)]
⎜   ↳ ImPS/2 Generic Wheel Mouse                  id=11    [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)]
    ↳ Power Button                                id=8    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=10    [slave  keyboard (3)]
    ↳ Panasonic Laptop Support                    id=12    [slave  keyboard (3)]
[user@cf31 ~]$

In this Case, ID 11 is the Touchpad. ImPS/2 Generic Wheel Mouse.

Props of this Device:

[user@cf31 ~]$ xinput list-props 11
Device 'ImPS/2 Generic Wheel Mouse':
    Device Enabled (175):    1
    Coordinate Transformation Matrix (177):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Natural Scrolling Enabled (309):    0
    libinput Natural Scrolling Enabled Default (310):    0
    libinput Scroll Methods Available (320):    0, 0, 1
    libinput Scroll Method Enabled (321):    0, 0, 0
    libinput Scroll Method Enabled Default (322):    0, 0, 0
    libinput Button Scrolling Button (323):    2
    libinput Button Scrolling Button Default (324):    2
    libinput Button Scrolling Button Lock Enabled (325):    0
    libinput Button Scrolling Button Lock Enabled Default (326):    0
    libinput Middle Emulation Enabled (311):    0
    libinput Middle Emulation Enabled Default (312):    0
    libinput Rotation Angle (290):    0.000000
    libinput Rotation Angle Default (291):    0.000000
    libinput Accel Speed (327):    0.000000
    libinput Accel Speed Default (328):    0.000000
    libinput Accel Profiles Available (329):    1, 1, 1
    libinput Accel Profile Enabled (330):    1, 0, 0
    libinput Accel Profile Enabled Default (331):    1, 0, 0
    libinput Accel Custom Fallback Points (332):    <no items>
    libinput Accel Custom Fallback Step (333):    0.000000
    libinput Accel Custom Motion Points (334):    <no items>
    libinput Accel Custom Motion Step (335):    0.000000
    libinput Accel Custom Scroll Points (336):    <no items>
    libinput Accel Custom Scroll Step (337):    0.000000
    libinput Left Handed Enabled (315):    0
    libinput Left Handed Enabled Default (316):    0
    libinput Send Events Modes Available (292):    1, 0
    libinput Send Events Mode Enabled (293):    0, 0
    libinput Send Events Mode Enabled Default (294):    0, 0
    Device Node (295):    "/dev/input/event7"
    Device Product ID (296):    2, 5
    libinput Drag Lock Buttons (317):    <no items>
    libinput Horizontal Scroll Enabled (318):    1
    libinput Scrolling Pixel Distance (338):    15
    libinput Scrolling Pixel Distance Default (339):    15
    libinput High Resolution Wheel Scroll Enabled (319):    1
[user@cf31 ~]$

Sadly, so far everything i tried, dont work.

libinput recorgnize if user use scroll:

event7   POINTER_SCROLL_WHEEL    +56.551s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.571s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.590s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.730s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.750s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.770s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.791s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.810s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.830s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.850s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.870s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.890s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.910s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.930s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.950s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.970s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)
event7   POINTER_SCROLL_WHEEL    +56.990s    vert 15.00/120.0* horiz 0.00/0.0 (wheel)

Last edited by tomekk228 (2024-04-02 22:01:35)

Offline

#2 2024-04-02 16:18:12

tomekk228
Member
Registered: 2020-04-24
Posts: 16

Re: [RESOLVED] Disable Scrolling (Mouse, Touchpad, etc)

Fixed it with help of: https://github.com/sezanzeb/input-remapper

This can be closed.

Offline

#3 2024-04-02 16:59:36

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: [RESOLVED] Disable Scrolling (Mouse, Touchpad, etc)

Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB