unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Feng Shu" <tumashu@163.com>
Cc: 52037@debbugs.gnu.org
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	[thread overview]
Message-ID: <874k83908j.fsf@yahoo.com> (raw)
In-Reply-To: <87a6hw1jjy.fsf@163.com> (Feng Shu's message of "Mon, 22 Nov 2021 20:06:25 +0800")

"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	other threads:[~2021-11-23  0:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 12:06 bug#52037: 29.0.50; arrow key and mouse whell do not work when enable xinput2 Feng Shu
2021-11-23  0:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-11-23  0:38   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-23  3:11 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-23 15:29   ` Feng Shu
2021-11-24  0:33     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874k83908j.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=52037@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=tumashu@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).