NetBSD-Bugs archive

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

Re: kern/58435: synaptics_aux_mid_button_scroll not working



The following reply was made to PR kern/58435; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/58435: synaptics_aux_mid_button_scroll not working
Date: Thu, 18 Jul 2024 19:27:42 +0300

 I'd _guess_ - from a quick glance - that in your case the middle
 button "belongs" to the pass-through device (the stick, or whatever),
 so it's mapped by the driver's code to 0x40, while whoever wrote that
 code had their middle button belong to the main device, so it would
 have been mapped to 0x02.  The code in the else branch merged the two
 sets of buttons, but the scrolling code didn't and only tested the
 main device bits (and your kludge was to test the pass-through device
 bits).  So kre's fix is to always merge the buttons, and the scrolling
 code should now react to both the primary and the pass-through middle
 buttons.
 
 -uwe
 


Home | Main Index | Thread Index | Old Index