<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 - Allow fake middle button on clickpads"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=87402">87402</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Allow  fake middle button on clickpads
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>tom@compton.nu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=110941" name="attach_110941" title="Enable middle button support for the bottom button pad">attachment 110941</a> <a href="attachment.cgi?id=110941&action=edit" title="Enable middle button support for the bottom button pad">[details]</a></span>
Enable middle button support for the bottom button pad

Currently libinput only supports a middle button in the top button pad area,
where it always exists from the 42% mark to the 58% mark  horizontally.

I'd like to see support for an optional middle button in the bottom button pad
area as I believe it is fairly common for people to fake that up presently with
the current drviers, which allows the boundaries to be defined with the
"SoftButtonAreas" option.

I'm attaching two patches. The first just adds support for a middle button at
the bottom but doesn't actually create one as it leaves the left and right
buttons abutting each other.

The second unconditionally adds a middle button from 42% to 58% as for the top
button area.

If you're happy with the general idea then I would propose that the second
patch be made conditional on a single "fake middle button" option, rather than
adding a general ability to specify the areas.</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>