Comment 4 for bug 862094

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Apple Magic Trackpad: 2-finger click does a left-click instead of right-click

Found the cause of this bug:

    http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/commit/?id=776ec0ed42616769ed834b5822df3b2b0d5c0e85

But that's not the root cause... It is triggered because the hid-magicmouse module reports the Magic Trackpad as having 2 buttons when it should only report 1. This can be seen with evtest:

# evtest /dev/input/event7
Input driver version is 1.0.1
Input device ID: bus 0x5 vendor 0x5ac product 0x30e version 0x160
Input device name: "Apple Wireless Trackpad"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 256 (Btn0)
    Event code 257 (Btn1)
    Event code 272 (LeftBtn)
    Event code 273 (RightBtn) <------------ WRONG
    Event code 325 (ToolFinger)
    Event code 330 (Touch)
    Event code 333 (Tool Doubletap)
    Event code 334 (Tool Tripletap)
    Event code 335 (?)