)]}'
{
  "commit": "7968a5dd492ccc38345013e534ad4c8d6eb60ed1",
  "tree": "b7ba40bb0dc4c92471a40e5879e95abdc9b5036f",
  "parents": [
    "76496e7a02e99d42844f4fffa145b81e513e7acd"
  ],
  "author": {
    "name": "Daniel Drake",
    "email": "dsd@laptop.org",
    "time": "Tue Nov 08 00:00:35 2011 -0800"
  },
  "committer": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Wed Nov 09 21:23:31 2011 -0800"
  },
  "message": "Input: synaptics - add support for Relative mode\n\nCurrently, the synaptics driver puts the device into Absolute mode.\nAs explained in the synaptics documentation section 3.2, in this mode,\nthe device sends a continuous stream of packets at the maximum rate\nto the host when the user\u0027s fingers are near or on the pad or\npressing buttons, and continues streaming for 1 second afterwards.\nThese packets are even sent when there is no new information to report,\neven when they are duplicates of the previous packet.\n\nFor embedded systems this is a bit much - it results in a huge\nand uninterrupted stream of interrupts at high rate.\n\nThis patch adds support for Relative mode, which can be selected as\na new psmouse protocol. In this mode, the device does not send duplicate\npackets and acts like a standard PS/2 mouse. However, synaptics-specific\nfunctionality is still available, such as the ability to set the packet\nrate, and rather than disabling gestures and taps at the hardware level\nunconditionally, a \u0027synaptics_disable_gesture\u0027 sysfs attribute has\nbeen added to allow control of this functionality.\n\nThis solves a long standing OLPC issue: synaptics hardware enables\ntap to click by default (even in the default relative mode), but we\nhave found this to be inappropriate for young children and first\ntime computer users. Enabling the synaptics driver disables tap-to-click,\nbut we have previously been unable to use this because it also enables\nAbsolute mode, which is too \"spammy\" for our desires and actually\noverloads our EC with its continuous stream of packets. Now we can enable\nthe synaptics driver, disabling tap to click while retaining the less\nnoisy Relative mode.\n\nSigned-off-by: Daniel Drake \u003cdsd@laptop.org\u003e\nSigned-off-by: Dmitry Torokhov \u003cdtor@mail.ru\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a6973e575aa9308660f2bd543a16fad945d053df",
      "old_mode": 33188,
      "old_path": "drivers/input/mouse/psmouse-base.c",
      "new_id": "200be9c9dbc73c29b95ee7b7785a0ca25c89faa9",
      "new_mode": 33188,
      "new_path": "drivers/input/mouse/psmouse-base.c"
    },
    {
      "type": "modify",
      "old_id": "11a9c6c8bca4c47d4e0bf601568361156cd8df88",
      "old_mode": 33188,
      "old_path": "drivers/input/mouse/psmouse.h",
      "new_id": "6a417092d010f7afd62f0a95565ad008fb57f6b6",
      "new_mode": 33188,
      "new_path": "drivers/input/mouse/psmouse.h"
    },
    {
      "type": "modify",
      "old_id": "c080b828e5dc5e2f69c8cf859deebe3d6abbae61",
      "old_mode": 33188,
      "old_path": "drivers/input/mouse/synaptics.c",
      "new_id": "a3bb49cb691c8a2bc1f34b498c695f386685d985",
      "new_mode": 33188,
      "new_path": "drivers/input/mouse/synaptics.c"
    },
    {
      "type": "modify",
      "old_id": "622aea8dd7e09de66a1e573b081ece89f828e632",
      "old_mode": 33188,
      "old_path": "drivers/input/mouse/synaptics.h",
      "new_id": "fd26ccca13d793b225654b21de12a21f6a306ad5",
      "new_mode": 33188,
      "new_path": "drivers/input/mouse/synaptics.h"
    }
  ]
}
