How do I change settings on libinput?

Hey so I cannot find out how to edit a setting on a listed device on libinput.

By running a simple libinput list-devices It would list a bunch of devices, but the one I want to change is Disable-w-typing on AlpsPS/2 ALPS GlidePoint

Device:           AlpsPS/2 ALPS GlidePoint
Kernel:           /dev/input/event19
Group:            11
Seat:             seat0, default
Size:             104x60mm
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
Rotation:         n/a

The documentation for libinput suggest that

Disable-while-typing can be enabled and disabled by calling

libinput_device_config_dwt_set_enabled().

I do not understand how to call that, or how I would do that. I have tried using xinput to set the property for the device but I ran into an issue with wayland that messes up xinput (I still don’t really understand that). I am at a loss for how to even start.

Still learning how to use markdown and let me know if you need any computer details.

https://wiki.archlinux.org/title/Libinput#Enable_the_touchpad_while_typing

I do not have /etc/X11/xorg.conf.d/30-touchpad.conf on my device or any xorg conf files of that manner. I have no idea why.