1. 19 May, 2016 1 commit
  2. 25 Mar, 2016 1 commit
  3. 14 Oct, 2015 1 commit
    • Petri Gynther's avatar
      Input: improve autorepeat initialization · 027c71bb
      Petri Gynther authored
      Add new function input_enable_softrepeat() that allows drivers to
      initialize their own values for input_dev->rep[REP_DELAY] and
      input_dev->rep[REP_PERIOD], but also use the software autorepeat
      functionality from input.c.
      
      For example, a HID driver could do:
      
      static void xyz_input_configured(struct hid_device *hid,
                                       struct hid_input *hidinput)
      {
              input_enable_softrepeat(hidinput->input, 400, 100);
      }
      
      static struct hid_driver xyz_driver = {
              .input_configured = xyz_input_configured,
      }
      Signed-off-by: default avatarPetri Gynther <pgynther@google.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      027c71bb
  4. 07 Aug, 2015 1 commit
  5. 25 Jun, 2015 1 commit
  6. 20 May, 2015 1 commit
  7. 08 Jan, 2015 2 commits
  8. 15 Dec, 2014 1 commit
  9. 02 Dec, 2014 1 commit
  10. 09 Oct, 2014 1 commit
  11. 08 Oct, 2014 1 commit
  12. 20 Jul, 2014 1 commit
  13. 31 Dec, 2013 1 commit
  14. 16 Dec, 2013 1 commit
  15. 31 Oct, 2013 1 commit
  16. 06 Oct, 2013 1 commit
  17. 09 Jan, 2013 1 commit
  18. 08 Nov, 2012 1 commit
    • Dmitry Torokhov's avatar
      Input: introduce managed input devices (add devres support) · 2be975c6
      Dmitry Torokhov authored
      There is a demand from driver's writers to use managed devices framework
      for their drivers. Unfortunately up to this moment input devices did not
      provide support for managed devices and that lead to mixing two styles
      of resource management which usually introduced more bugs, such as
      manually unregistering input device but relying in devres to free
      interrupt handler which (unless device is properly shut off) can cause
      ISR to reference already freed memory.
      
      This change introduces devm_input_allocate_device() that will allocate
      managed instance of input device so that driver writers who prefer
      using devm_* framework do not have to mix 2 styles.
      Reviewed-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      Reviewed-by: default avatarTejun Heo <tj@kernel.org>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      2be975c6
  19. 25 Oct, 2012 1 commit
  20. 08 Oct, 2012 1 commit
  21. 19 Sep, 2012 5 commits
  22. 21 Aug, 2012 1 commit
  23. 02 Feb, 2012 1 commit
  24. 03 Jan, 2012 1 commit
  25. 25 May, 2011 1 commit
  26. 12 May, 2011 1 commit
  27. 18 Apr, 2011 1 commit
  28. 03 Feb, 2011 1 commit
  29. 31 Jan, 2011 1 commit
  30. 20 Dec, 2010 2 commits
    • Henrik Rydberg's avatar
      Input: fix double equality sign in uevent · fcd3027a
      Henrik Rydberg authored
      Looking at the uevent stream for input devices, all properties are on
      the form "A=B" except the bitmap values, which are on the form
      "A==B". This bug has been around at least since 2007, and the input
      uevent code has been untouched since. The recent addition of device
      properties suggests this is a good time for a remedy.
      Acked-by: default avatarDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      fcd3027a
    • Henrik Rydberg's avatar
      Input: introduce device properties · 85b77200
      Henrik Rydberg authored
      Today, userspace sets up an input device based on the data it emits.
      This is not always enough; a tablet and a touchscreen may emit exactly
      the same data, for instance, but the former should be set up with a
      pointer whereas the latter does not need to. Recently, a new type of
      touchpad has emerged where the buttons are under the pad, which
      changes logic without changing the emitted data. This patch introduces
      a new ioctl, EVIOCGPROP, which enables user access to a set of device
      properties useful during setup. The properties are given as a bitmap
      in the same fashion as the event types, and are also made available
      via sysfs, uevent and /proc/bus/input/devices.
      Acked-by: default avatarPing Cheng <pingc@wacom.com>
      Acked-by: default avatarChase Douglas <chase.douglas@canonical.com>
      Acked-by: default avatarDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      85b77200
  31. 16 Dec, 2010 1 commit
  32. 01 Dec, 2010 1 commit
  33. 18 Nov, 2010 1 commit
  34. 17 Nov, 2010 1 commit