<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - libinput ignores xinput settings regarding mouse wheel (quick fix included)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105830">bug 105830</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTOURBUG
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>peter.hutterer@who-t.net
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - libinput ignores xinput settings regarding mouse wheel (quick fix included)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105830#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - libinput ignores xinput settings regarding mouse wheel (quick fix included)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105830">bug 105830</a>
              from <span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span></b>
        <pre>libinput doesn't do button mapping, that's handled in the X server. Likewise
with the scroll axis to button emulation.  This "fix" here is like hacking
glibc because you don't want to resolve a specific hostname - less than ideal
and, despite your eye-roll in the debian user forum comment, this is not a bug
in libinput.

The fix would have to be in the server, specifically in
emulate_scroll_button_events() which doesn't appear to take the button mapping
into account.

The main question here though is: why do you need to disable the mouse wheel?
Apparently:

<span class="quote">> The problem is that the cat hairs in the mice make them "scroll" even without 
> touching the wheel - highly annoying!</span >

So yeah, nah. Not going to hack libinput for this. Feel free to open a bug
against the X server when you've verified that button mapping isn't taking into
account for scroll button emulation, but don't expect anyone to have the time
to fix this right now. I suggest to get a new mouse, because the amount of
effort required on our side to keep your cat hairs off your wheel is
disproportional to the money a new mouse costs.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>