You are not logged in.

#1 2014-11-09 19:59:32

aphirst
Member
From: Hull, England
Registered: 2008-06-30
Posts: 99
Website

Lenovo Bluetooth Mouse - Hardware Horizontal Scroll

I was wondering if anyone happened to be knowledgable enough in the area of advanced mouse configuration to be able to guide me in the right direction regarding this issue.

Basically, what I expect to happen is that the left- and right- physical scroll buttons on my Lenovo Bluetooth Mouse perform left- and right- scroll, and that holding the button down causes the scroll to continue (i.e. the button-press to be repeated indefinitely) until you release.

What actually happens is that these buttons act just like regular mouse buttons, giving a single ButtonPress and a single ButtonRelease.

Sample xev output for the affected buttons:

ButtonPress event, serial 48, synthetic NO, window 0x2400001,
    root 0x94, subw 0x0, time 25572000, (149,33), root:(564,420),
    state 0x0, button 6, same_screen YES

ButtonRelease event, serial 48, synthetic NO, window 0x2400001,
    root 0x94, subw 0x0, time 25572233, (149,33), root:(564,420),
    state 0x0, button 6, same_screen YES

ButtonPress event, serial 48, synthetic NO, window 0x2400001,
    root 0x94, subw 0x0, time 25574370, (149,33), root:(564,420),
    state 0x0, button 7, same_screen YES

ButtonRelease event, serial 48, synthetic NO, window 0x2400001,
    root 0x94, subw 0x0, time 25574967, (149,33), root:(564,420),
    state 0x0, button 7, same_screen YES

There was another issue with this mouse by which the default auto-detected button-mapping was nonsense, and mapped the left- and right- scroll buttons to browser forward and back, but I fixed that by creating /etc/X11/xorg.conf.d/20-evdev-bluetoothmouse.conf as follows:

Section "InputClass"
	Identifier	"ThinkPad Bluetooth Laser Mouse"
	MatchProduct	"ThinkPad Bluetooth Laser Mouse"
	Option		"ButtonMapping" "1 2 3 4 5 0 0 6 7"
	Option		"EmulateWheel" "true"
EndSection

Obviously, I would like for this mouse to exhibit the behaviour I desire/expect, instead of what it currently does. However, my own research into this has not yielded any useful information. So if anyone is able to provide any advice or recommend any courses of action, I'd appreciate it. If there's any information which would be useful regarding the hardware or my configuration, then on request I'll edit it into the OP.

Last edited by aphirst (2014-11-11 21:22:27)


ArchLinux | x86_64 | linux-ck-ivybridge
ThinkPad X230 | 12.5" | i5-3320M (2.5GHz) | HD 4000 | 16GB (1600MHz) | 256GB mSATA SSD | 2TB HDD
ThinkPad T430 | 14.1" | i7-3520M (2.9GHz) | GF108M (NVS 5400M) | 16GB (1600MHz) | 256GB mSATA SSD | 1TB HDD | 500GB HDD

Offline

#2 2016-06-07 02:22:02

aphirst
Member
From: Hull, England
Registered: 2008-06-30
Posts: 99
Website

Re: Lenovo Bluetooth Mouse - Hardware Horizontal Scroll

I know it's against the rules here to necrobump and so on, but I'm still having the same issue as I describe here, absolutely verbatim, and would still like to know how to solve it. So, rather than making a carbon copy repost, I will bump, in the hope that someone who knows the issue might see it and respond.


ArchLinux | x86_64 | linux-ck-ivybridge
ThinkPad X230 | 12.5" | i5-3320M (2.5GHz) | HD 4000 | 16GB (1600MHz) | 256GB mSATA SSD | 2TB HDD
ThinkPad T430 | 14.1" | i7-3520M (2.9GHz) | GF108M (NVS 5400M) | 16GB (1600MHz) | 256GB mSATA SSD | 1TB HDD | 500GB HDD

Offline

#3 2016-06-07 03:26:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 18,330

Re: Lenovo Bluetooth Mouse - Hardware Horizontal Scroll

aphirst wrote:

I know it's against the rules here to necrobump and so on, ...

One of the reasons we discourage it is because the Original Poster (OP) seldom cares anymore.  I don't think that applies here tongue

Carry on...


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#4 2017-07-31 21:24:35

aphirst
Member
From: Hull, England
Registered: 2008-06-30
Posts: 99
Website

Re: Lenovo Bluetooth Mouse - Hardware Horizontal Scroll

It's been another year, and funnily enough I have use for this peripheral again. But am of course met with the same issue. Perhaps someone now on the forum might know how to further proceed?


ArchLinux | x86_64 | linux-ck-ivybridge
ThinkPad X230 | 12.5" | i5-3320M (2.5GHz) | HD 4000 | 16GB (1600MHz) | 256GB mSATA SSD | 2TB HDD
ThinkPad T430 | 14.1" | i7-3520M (2.9GHz) | GF108M (NVS 5400M) | 16GB (1600MHz) | 256GB mSATA SSD | 1TB HDD | 500GB HDD

Offline

#5 2017-08-04 13:41:58

seth
Member
Registered: 2012-09-03
Posts: 28,889

Re: Lenovo Bluetooth Mouse - Hardware Horizontal Scroll

EmulateWheel does sth. different. It performs wheelevents when holding a button down and moving the mouse (very useful feature ;-)

You're looking for some sort of autorepeat feature for mouse buttons, I don't think this is generically available, eg. for Logitech devices you should be able to set this using https://www.archlinux.org/packages/comm … 64/lomoco/ but I've no idea about your rodent :-(

You could check "xinput list-props <device ID>" for something in this regard.

Offline

#6 2017-08-04 13:50:33

aphirst
Member
From: Hull, England
Registered: 2008-06-30
Posts: 99
Website

Re: Lenovo Bluetooth Mouse - Hardware Horizontal Scroll

Thanks for the clarification, @seth.

I made a post about my issue on the x.org mailing list, something I probably should have done back when I first opened this thread, where I already attached the output of `xinput list-props`, which I'll reproduce here:

$ xinput list-props 13
Device 'ThinkPad Bluetooth Laser Mouse':
	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 Accel Speed (277):	0.000000
	libinput Accel Speed Default (278):	0.000000
	libinput Accel Profiles Available (279):	1, 1
	libinput Accel Profile Enabled (280):	1, 0
	libinput Accel Profile Enabled Default (281):	1, 0
	libinput Natural Scrolling Enabled (282):	0
	libinput Natural Scrolling Enabled Default (283):	0
	libinput Send Events Modes Available (262):	1, 0
	libinput Send Events Mode Enabled (263):	0, 0
	libinput Send Events Mode Enabled Default (264):	0, 0
	libinput Left Handed Enabled (284):	0
	libinput Left Handed Enabled Default (285):	0
	libinput Scroll Methods Available (286):	0, 0, 1
	libinput Scroll Method Enabled (287):	0, 0, 0
	libinput Scroll Method Enabled Default (288):	0, 0, 0
	libinput Button Scrolling Button (289):	2
	libinput Button Scrolling Button Default (290):	2
	libinput Middle Emulation Enabled (291):	0
	libinput Middle Emulation Enabled Default (292):	0
	Device Node (265):	"/dev/input/event17"
	Device Product ID (266):	6127, 24632
	libinput Drag Lock Buttons (293):	<no items>
	libinput Horizontal Scroll Enabled (294):	1

Since I don't really know how to properly interpret that, does that suggest anything? Meanwhile I'll look into lomoco.

Last edited by aphirst (2017-08-04 13:51:54)


ArchLinux | x86_64 | linux-ck-ivybridge
ThinkPad X230 | 12.5" | i5-3320M (2.5GHz) | HD 4000 | 16GB (1600MHz) | 256GB mSATA SSD | 2TB HDD
ThinkPad T430 | 14.1" | i7-3520M (2.9GHz) | GF108M (NVS 5400M) | 16GB (1600MHz) | 256GB mSATA SSD | 1TB HDD | 500GB HDD

Offline

#7 2017-08-04 14:03:21

seth
Member
Registered: 2012-09-03
Posts: 28,889

Re: Lenovo Bluetooth Mouse - Hardware Horizontal Scroll

My best guess would be

xinput set-prop 13 287 0 0 1

Since it's a disabled available scroll method and horizontal scrolling is already enabled.

Offline

#8 2017-08-04 14:23:47

aphirst
Member
From: Hull, England
Registered: 2008-06-30
Posts: 99
Website

Re: Lenovo Bluetooth Mouse - Hardware Horizontal Scroll

Well, I tried running that, but it didn't seem to do anything. I'll re-enable my button re-mapping and try it again, but of course until then I'd greatly appreciate any further suggestions.

(I tried to ping you on IRC, as this was from me a pretty small update, but with no reply I figured I should just post and carry on.)

EDIT: I re-enabled the button re-mapping, and running the command makes no difference on the behaviour of the left- and right-tilt buttons.

Last edited by aphirst (2017-08-04 17:04:56)


ArchLinux | x86_64 | linux-ck-ivybridge
ThinkPad X230 | 12.5" | i5-3320M (2.5GHz) | HD 4000 | 16GB (1600MHz) | 256GB mSATA SSD | 2TB HDD
ThinkPad T430 | 14.1" | i7-3520M (2.9GHz) | GF108M (NVS 5400M) | 16GB (1600MHz) | 256GB mSATA SSD | 1TB HDD | 500GB HDD

Offline

Board footer

Powered by FluxBB