bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52037: 29.0.50; arrow key and mouse whell do not work when enable xi


From: Po Lu
Subject: bug#52037: 29.0.50; arrow key and mouse whell do not work when enable xinput2
Date: Tue, 23 Nov 2021 08:36:28 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

"Feng Shu" <tumashu@163.com> writes:

> ⎡ Virtual core pointer                        id=2    [master pointer  (3)]
>       Reporting 7 classes:
>               Class originated from: 10. Type: XIButtonClass
>               Buttons supported: 10
>               Button labels: "Button Left" "Button Middle" "Button Right" 
> "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz 
> Wheel Right" None None None
>               Button state:
>               Class originated from: 10. Type: XIValuatorClass
>               Detail for Valuator 0:
>                 Label: Rel X
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 10. Type: XIValuatorClass
>               Detail for Valuator 1:
>                 Label: Rel Y
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 10. Type: XIValuatorClass
>               Detail for Valuator 2:
>                 Label: Rel Horiz Scroll
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 10. Type: XIValuatorClass
>               Detail for Valuator 3:
>                 Label: Rel Vert Scroll
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 10. Type: XIScrollClass
>               Scroll info for Valuator 2
>                 type: 2 (horizontal)
>                 increment: 15.000000
>                 flags: 0x0
>               Class originated from: 10. Type: XIScrollClass
>               Scroll info for Valuator 3
>                 type: 1 (vertical)
>                 increment: 15.000000
>                 flags: 0x0

Thanks.  Could you please run `xinput test-xi2', move your pointer over
the window that is shown when you run that command, move the mouse
wheel, and send the contents of the "Motion" events that are generated?

> ⎜   ↳ PixArt Lenovo Optical USB Mouse                 id=10   [slave  pointer 
>  (2)]
>       Reporting 7 classes:
>               Class originated from: 10. Type: XIButtonClass
>               Buttons supported: 7
>               Button labels: "Button Left" "Button Middle" "Button Right" 
> "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz 
> Wheel Right"
>               Button state:
>               Class originated from: 10. Type: XIValuatorClass
>               Detail for Valuator 0:
>                 Label: Rel X
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 10. Type: XIValuatorClass
>               Detail for Valuator 1:
>                 Label: Rel Y
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 10. Type: XIValuatorClass
>               Detail for Valuator 2:
>                 Label: Rel Horiz Scroll
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 10. Type: XIValuatorClass
>               Detail for Valuator 3:
>                 Label: Rel Vert Scroll
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 10. Type: XIScrollClass
>               Scroll info for Valuator 2
>                 type: 2 (horizontal)
>                 increment: 15.000000
>                 flags: 0x0
>               Class originated from: 10. Type: XIScrollClass
>               Scroll info for Valuator 3
>                 type: 1 (vertical)
>                 increment: 15.000000
>                 flags: 0x0
>
> ⎜   ↳ SynPS/2 Synaptics TouchPad                      id=12   [slave  pointer 
>  (2)]
>       Reporting 7 classes:
>               Class originated from: 12. Type: XIButtonClass
>               Buttons supported: 7
>               Button labels: "Button Left" "Button Middle" "Button Right" 
> "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz 
> Wheel Right"
>               Button state:
>               Class originated from: 12. Type: XIValuatorClass
>               Detail for Valuator 0:
>                 Label: Rel X
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 12. Type: XIValuatorClass
>               Detail for Valuator 1:
>                 Label: Rel Y
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 12. Type: XIValuatorClass
>               Detail for Valuator 2:
>                 Label: Rel Horiz Scroll
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 12. Type: XIValuatorClass
>               Detail for Valuator 3:
>                 Label: Rel Vert Scroll
>                 Range: -1.000000 - -1.000000
>                 Resolution: 0 units/m
>                 Mode: relative
>               Class originated from: 12. Type: XIScrollClass
>               Scroll info for Valuator 2
>                 type: 2 (horizontal)
>                 increment: 15.000000
>                 flags: 0x0
>               Class originated from: 12. Type: XIScrollClass
>               Scroll info for Valuator 3
>                 type: 1 (vertical)
>                 increment: 15.000000
>                 flags: 0x0

Also, which mouse wheel is not working?  Is it that of your Synaptics
touchpad (device #12), or your optical USB mouse (device #10)?

> ⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
>       Reporting 1 classes:
>               Class originated from: 11. Type: XIKeyClass
>               Keycodes supported: 248

Please show the output of `xinput test-xi2' when you press the
non-functional arrow keys with keyboard focus given to the test window.

Thanks in advance.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]