Touchpad dwt in gigabyte aero 17 xe5

I work in KDE plazma wayland. Need to disable the touchpad during typing. In the system settings this option is enabled, but does not work - when I touch the pad during the typing, it always acts a click

sudo dmesg | grep -E ‘(hid|i2c|syna|elan)’

[    1.148738] hid: raw HID events driver (C) Jiri Kosina
[    2.494721] hid-generic 0003:1044:7A40.0001: input,hidraw0: USB HID v1.11 Keyboard [GIGABYTE USB-HID Keyboard] on usb-0000:00:14.0-6/input0
[    2.496686] hid-generic 0003:1044:7A40.0002: hiddev96,hidraw1: USB HID v1.11 Device [GIGABYTE USB-HID Keyboard] on usb-0000:00:14.0-6/input1
[    2.555364] hid-generic 0003:1044:7A40.0003: input,hiddev97,hidraw2: USB HID v1.11 Mouse [GIGABYTE USB-HID Keyboard] on usb-0000:00:14.0-6/input2
[    2.556807] hid-generic 0003:1044:7A40.0004: hiddev98,hidraw3: USB HID v1.11 Device [GIGABYTE USB-HID Keyboard] on usb-0000:00:14.0-6/input3
[    2.556828] usbcore: registered new interface driver usbhid
[    2.556829] usbhid: USB HID core driver
[    2.603112] hid-generic 0003:0B05:1958.0005: hiddev99,hidraw4: USB HID v1.11 Device [ASUSTeK ROG CHAKRAM CORE] on usb-0000:00:14.0-1.2/input0
[    2.603881] hid-generic 0003:0B05:1958.0006: input,hidraw5: USB HID v1.11 Mouse [ASUSTeK ROG CHAKRAM CORE] on usb-0000:00:14.0-1.2/input1
[    2.661865] hid-generic 0003:0B05:1958.0007: input,hiddev100,hidraw6: USB HID v1.11 Keyboard [ASUSTeK ROG CHAKRAM CORE] on usb-0000:00:14.0-1.2/input2
[    2.662914] hid-generic 0003:0B05:1958.0008: input,hidraw7: USB HID v1.11 Gamepad [ASUSTeK ROG CHAKRAM CORE] on usb-0000:00:14.0-1.2/input3
[    3.244303] hid-generic 0003:0951:16AD.0009: input,hidraw8: USB HID v1.11 Device [Kingston HyperX Cloud Revolver S] on usb-0000:00:14.0-1.3/input3
[   10.182772] i2c_dev: i2c /dev entries driver
[   10.906693] i2c i2c-0: 2/2 memory slots populated (from DMI)
[   10.906700] i2c i2c-0: Memory type 0x22 not supported yet, not instantiating SPD
[   11.043171] input: ELAN0A02:00 04F3:31EA Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0A02:00/0018:04F3:31EA.000A/input/input20
[   11.043246] input: ELAN0A02:00 04F3:31EA Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0A02:00/0018:04F3:31EA.000A/input/input22
[   11.043303] hid-generic 0018:04F3:31EA.000A: input,hidraw9: I2C HID v1.00 Mouse [ELAN0A02:00 04F3:31EA] on i2c-ELAN0A02:00
[   11.435218] input: ELAN0A02:00 04F3:31EA Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0A02:00/0018:04F3:31EA.000A/input/input23
[   11.435280] input: ELAN0A02:00 04F3:31EA Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0A02:00/0018:04F3:31EA.000A/input/input25
[   11.435321] hid-multitouch 0018:04F3:31EA.000A: input,hidraw9: I2C HID v1.00 Mouse [ELAN0A02:00 04F3:31EA] on i2c-ELAN0A02:00

libinput list-devices

Device:           Power Button
Kernel:           /dev/input/event4
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Video Bus
Kernel:           /dev/input/event21
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Lid Switch
Kernel:           /dev/input/event0
Group:            3
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Sleep Button
Kernel:           /dev/input/event1
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Power Button
Kernel:           /dev/input/event3
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Sleep Button
Kernel:           /dev/input/event2
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           ASUSTeK ROG CHAKRAM CORE
Kernel:           /dev/input/event12
Group:            6
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0

Device:           ASUSTeK ROG CHAKRAM CORE Consumer Control
Kernel:           /dev/input/event13
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           ASUSTeK ROG CHAKRAM CORE System Control
Kernel:           /dev/input/event14
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           ASUSTeK ROG CHAKRAM CORE Keyboard
Kernel:           /dev/input/event15
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Kingston HyperX Cloud Revolver S
Kernel:           /dev/input/event17
Group:            7
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           GIGABYTE USB-HID Keyboard
Kernel:           /dev/input/event5
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           GIGABYTE USB-HID Keyboard
Kernel:           /dev/input/event10
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           GIGABYTE USB-HID Keyboard Wireless Radio Control
Kernel:           /dev/input/event11
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           GIGABYTE USB-HID Keyboard Mouse
Kernel:           /dev/input/event6
Group:            8
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      identity matrix
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0

Device:           GIGABYTE USB-HID Keyboard System Control
Kernel:           /dev/input/event7
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           GIGABYTE USB-HID Keyboard Consumer Control
Kernel:           /dev/input/event8
Group:            8
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           ELAN0A02:00 04F3:31EA Mouse
Kernel:           /dev/input/event19
Group:            9
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         n/a

Device:           ELAN0A02:00 04F3:31EA Touchpad
Kernel:           /dev/input/event20
Group:            9
Seat:             seat0, default
Size:             119x73mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles:   flat *adaptive custom

xinput list-props 17:

Device 'ELAN0A02:00 04F3:31EA Mouse':
        Device Enabled (177):   0
        Coordinate Transformation Matrix (179): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (306):       0
        libinput Natural Scrolling Enabled Default (307):       0
        libinput Scroll Methods Available (308):        0, 0, 1
        libinput Scroll Method Enabled (309):   0, 0, 1
        libinput Scroll Method Enabled Default (310):   0, 0, 1
        libinput Button Scrolling Button (311): 3
        libinput Button Scrolling Button Default (312): 3
        libinput Button Scrolling Button Lock Enabled (313):    0
        libinput Button Scrolling Button Lock Enabled Default (314):    0
        libinput Accel Speed (317):     0.000000
        libinput Accel Speed Default (318):     0.000000
        libinput Accel Profiles Available (319):        1, 1, 1
        libinput Accel Profile Enabled (320):   0, 1, 0
        libinput Accel Profile Enabled Default (321):   1, 0, 0
        libinput Accel Custom Fallback Points (322):    <no items>
        libinput Accel Custom Fallback Step (323):      0.000000
        libinput Accel Custom Motion Points (324):      <no items>
        libinput Accel Custom Motion Step (325):        0.000000
        libinput Accel Custom Scroll Points (326):      <no items>
        libinput Accel Custom Scroll Step (327):        0.000000
        libinput Left Handed Enabled (330):     0
        libinput Left Handed Enabled Default (331):     0
        libinput Send Events Modes Available (291):     1, 0
        libinput Send Events Mode Enabled (292):        0, 0
        libinput Send Events Mode Enabled Default (293):        0, 0
        Device Node (294):      "/dev/input/event13"
        Device Product ID (295):        1267, 12778
        libinput Drag Lock Buttons (332):       <no items>
        libinput Horizontal Scroll Enabled (333):       1
        libinput Scrolling Pixel Distance (334):        15
        libinput Scrolling Pixel Distance Default (335):        15
        libinput High Resolution Wheel Scroll Enabled (336):    1

xinput list-props 18

Device 'ELAN0A02:00 04F3:31EA Touchpad':
        Device Enabled (177):   1
        Coordinate Transformation Matrix (179): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (337): 1
        libinput Tapping Enabled Default (338): 0
        libinput Tapping Drag Enabled (339):    1
        libinput Tapping Drag Enabled Default (340):    1
        libinput Tapping Drag Lock Enabled (341):       0
        libinput Tapping Drag Lock Enabled Default (342):       0
        libinput Tapping Button Mapping Enabled (343):  1, 0
        libinput Tapping Button Mapping Default (344):  1, 0
        libinput Natural Scrolling Enabled (306):       1
        libinput Natural Scrolling Enabled Default (307):       0
        libinput Disable While Typing Enabled (345):    1
        libinput Disable While Typing Enabled Default (346):    1
        libinput Scroll Methods Available (308):        1, 1, 0
        libinput Scroll Method Enabled (309):   1, 0, 0
        libinput Scroll Method Enabled Default (310):   1, 0, 0
        libinput Click Methods Available (347): 1, 1
        libinput Click Method Enabled (348):    1, 0
        libinput Click Method Enabled Default (349):    1, 0
        libinput Middle Emulation Enabled (315):        0
        libinput Middle Emulation Enabled Default (316):        0
        libinput Accel Speed (317):     0.800000
        libinput Accel Speed Default (318):     0.000000
        libinput Accel Profiles Available (319):        1, 1, 1
        libinput Accel Profile Enabled (320):   1, 0, 0
        libinput Accel Profile Enabled Default (321):   1, 0, 0
        libinput Accel Custom Fallback Points (322):    <no items>
        libinput Accel Custom Fallback Step (323):      0.000000
        libinput Accel Custom Motion Points (324):      <no items>
        libinput Accel Custom Motion Step (325):        0.000000
        libinput Accel Custom Scroll Points (326):      <no items>
        libinput Accel Custom Scroll Step (327):        0.000000
        libinput Left Handed Enabled (330):     0
        libinput Left Handed Enabled Default (331):     0
        libinput Send Events Modes Available (291):     1, 1
        libinput Send Events Mode Enabled (292):        0, 0
        libinput Send Events Mode Enabled Default (293):        0, 0
        Device Node (294):      "/dev/input/event14"
        Device Product ID (295):        1267, 12778
        libinput Drag Lock Buttons (332):       <no items>
        libinput Horizontal Scroll Enabled (333):       1
        libinput Scrolling Pixel Distance (334):        15
        libinput Scrolling Pixel Distance Default (335):        15
        libinput High Resolution Wheel Scroll Enabled (336):    1