1. 30 1月, 2010 2 次提交
    • D
      Input: implement input filters · ef7995f4
      Dmitry Torokhov 提交于
      Sometimes it is desirable to suppress certain events from reaching
      input handlers and thus user space. One such example is Mac mouse
      button emulation code which catches certain key presses and converts
      them into button clicks as if they were emitted by a virtual mouse.
      The original key press events should be completely suppressed,
      otherwise user space will be confused, and while keyboard driver
      does it on its own evdev is blissfully unaware of this arrangement.
      
      This patch adds notion of 'filter' to the standard input handlers,
      which may flag event as filtered thus preventing it from reaching
      other input handlers. Filters don't (nor will they ever) have a
      notion of priority relative to each other, input core will run all
      of them first and any one of them may mark event as filtered.
      
      This patch is inspired by similar patch by Matthew Garret but the
      implementation and intended usage are quite different.
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      ef7995f4
    • T
      Input: uinput - remove BKL from uinput_open function · 45cdba4d
      Thadeu Lima de Souza Cascardo 提交于
      Commit 87029658 pushed down the BKL
      into uinput open function. However, there's nothing that needs locking
      in there.
      Signed-off-by: NThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      45cdba4d
  2. 29 1月, 2010 1 次提交
  3. 25 1月, 2010 2 次提交
  4. 21 1月, 2010 1 次提交
  5. 19 1月, 2010 1 次提交
  6. 13 1月, 2010 4 次提交
  7. 11 1月, 2010 2 次提交
  8. 10 1月, 2010 6 次提交
  9. 07 1月, 2010 3 次提交
  10. 06 1月, 2010 15 次提交
  11. 02 1月, 2010 1 次提交
  12. 31 12月, 2009 1 次提交
  13. 30 12月, 2009 1 次提交