You are not logged in.

#1 2016-07-25 03:05:44

CTech
Member
Registered: 2015-11-23
Posts: 30

[SOLVED] Libinput disables touchpad while typing

Hey!
When using libinput, my touchpad is disabled while and type, and for a short period after.
I found this: https://wayland.freedesktop.org/libinpu … ile-typing
Basically, it says I have to call LIBINPUT_CONFIG_DWT_DISABLED, but where do i call this?
More details: https://wayland.freedesktop.org/libinpu … bcdff51b0f
Thanks for any help!

Last edited by CTech (2016-07-25 06:41:33)

Offline

#2 2016-07-25 04:03:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] Libinput disables touchpad while typing

Offline

#3 2016-07-25 06:22:27

CTech
Member
Registered: 2015-11-23
Posts: 30

Re: [SOLVED] Libinput disables touchpad while typing

I'm on X. Where do I put this?

Offline

#4 2016-07-25 06:41:10

CTech
Member
Registered: 2015-11-23
Posts: 30

Re: [SOLVED] Libinput disables touchpad while typing

Fixed it! Using xinput i did
xinput 11(device number) 293 0, and it works now

Offline

#5 2016-09-25 15:07:55

HisDudeness
Member
From: Melzo, Milan (Italy)
Registered: 2014-09-29
Posts: 107

Re: [SOLVED] Libinput disables touchpad while typing

This topic is two months old. I hope that's not enough to call it necroposting. Sorry if it is, but I had the same problem and couldn't immediately resolve it, so I thought about sharing the problem I had and how I solved it.

The fact is I'm trying to get the number corresponding to the DWT option in my libinput-managed touchpad. Following what's written on the wiki, I'm getting the device number with

# libinput-list-devices

Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event8
Group:            7
Seat:             seat0, default
Size:             64.88x35.71mm
Capabilities:     pointer
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *two-finger edge
Click methods:    none
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

So I'm assuming the number is 7.

$ xinput list-props 7

Device 'Video Bus':
    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 Send Events Modes Available (259):    1, 0
    libinput Send Events Mode Enabled (260):    0, 0
    libinput Send Events Mode Enabled Default (261):    0, 0
    Device Node (262):    "/dev/input/event5"
    Device Product ID (263):    0, 6
    libinput Horizontal Scroll Enabled (264):    0

Although a "libinput Horizontal Scroll Enabled" is present making me think this correctly is my touchpad, there is nothing regarding Disable While Typing.

The error is I must issue this command to ge the correct number

$ xinput list

⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                  id=13    [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)]
    ↳ Video Bus                                   id=8    [slave  keyboard (3)]
    ↳ Sleep Button                                id=9    [slave  keyboard (3)]
    ↳ ASUS USB2.0 WebCam                          id=10    [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                            id=11    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=12    [slave  keyboard (3)]

Issuing "xinput list-props 13" will give me what I want.


The Dude minds.

Offline

#6 2016-09-25 15:23:10

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: [SOLVED] Libinput disables touchpad while typing

FYI, you can also run xinput list-props with a name, such as 'SynPS/2 Synaptics TouchPad' , to obtain the same information. Running xinput list <name of device> will also print the id associated with that name at the top of the output.

Offline

Board footer

Powered by FluxBB