<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cannot Specify Scroll Button for Logitech Marble"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102198">102198</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot Specify Scroll Button for Logitech Marble
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>matt.proud@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I use a Logitech Trackman Marble trackball
<a href="http://www.logitech.com/en-us/product/trackman-marble">http://www.logitech.com/en-us/product/trackman-marble</a> in Fedora 26 on x86-64. 
In previous versions of Fedora, the windowing system defaulted to Xorg as
opposed to Wayland.  In the these releases, I could configure this trackball to
provide a mode whereby when an auxiliary button is clicked, I could thus
simulate a vertical or horizontal scroll wheel.  This configuration is
expressed similar to what follows in Xorg:

Section "InputClass"
        Identifier  "Marble Mouse"
        MatchProduct "Logitech USB Trackball"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"

        Option "EmulateWheel" "true"
        Option "EmulateWheelButton" "8"


        Option "ZAxisMapping" "4 5"
        Option "XAxisMapping" "6 7"
EndSection

Namely the Z- and XAxisMapping capability.  Is there any way to replicate this
in Wayland?  As it stands in Fedora 26 (no other package source used),
achieving this scroll capability is dead on arrival in Wayland.  When I switch
back to Xorg, I can achieve it.

AFAICT, libinput supports this with LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN given
to libinput_config_scroll_method, but nothing in Wayland nor any window
managers implemented thereupon avail such a thing.

Can you give counsel?  With a Trackman Marble, one typically instructs the
small arrow buttons
(<a href="https://assets.logitech.com/assets/55341/trackman-marble-gallery.png">https://assets.logitech.com/assets/55341/trackman-marble-gallery.png</a>) to
function as this horizontal or vertical scroll mode switcher.

To get an understanding of the configuration surface, consider this:
<a href="https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse">https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse</a>.</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>