1. 12 10月, 2017 1 次提交
  2. 03 8月, 2017 1 次提交
  3. 20 7月, 2017 1 次提交
  4. 06 4月, 2017 18 次提交
  5. 07 7月, 2016 2 次提交
  6. 28 1月, 2016 2 次提交
    • J
      HID: logitech-hidpp: limit visibility of init/deinit functions · af2e628d
      Jiri Kosina 提交于
      hidpp_ff_init() and hidpp_ff_deinit() are not used outside of
      hid-logitech-hidpp.c, so let's make them static.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      af2e628d
    • E
      HID: logitech-hidpp: Force feedback support for the Logitech G920 · ff21a635
      Edwin Velds 提交于
      This patch implements force feedback support for the Logitech
      G920 Driving Force Racing Wheel. It is a generic implementation
      of feature 0x8123 of the Logitech HID++ protocol and should be
      usable for any future devices that implement this feature.
      
      This patch should be applied after the basic G920 support patch
      by Simon Wood:
      http://www.spinics.net/lists/linux-input/msg42174.html
      
      The driving supports everything that is supported by the G920
      firmware:
          FF_CONSTANT
          FF_PERIODIC
          FF_SINE
          FF_SQUARE
          FF_SAW_UP
          FF_SAW_DOWN
          FF_TRIANGLE
          FF_SPRING
          FF_DAMPER
          FF_AUTOCENTER
          FF_GAIN
      and for version 2 firmware also:
          FF_FRICTION
          FF_INERTIA
          FF_RAMP
      
      Both envelopes and replay values are supported as well, but some
      problems may occur when using firmware release 1. There is also a
      small residual clockwise damper in the wheel when using the first
      firmware release. All problems are fixed in the soon te be released
      firmware version 2.
      
      The default spring is disabled by permanently placing a spring
      force in the wheel. This spring is also used as the autocenter
      spring.
      
      Note: The wheel _DOES_NOT_ auto switch to Logitech/HID mode (it is stuck
      in XBox since the xpad changes where not included). Michal has an
      alternative approach documented here (and the changes should be submitted
      upstream to usb_modeswitch project):
      
      ===
      Create a file named "046d:c261" in "/etc/usb_modeswitch.d" with the
      following content:
      
      DefaultVendor=046d
      DefaultProduct=c261
      MessageEndpoint=01
      ResponseEndpoint=01
      TargetClass=0x03
      MessageContent="0f00010142"
      
      Then run "usb_modeswitch -c /etc/modeswitch.d/046d:c291" as root and
      watch the magic happen:)
      ===
      
      [jkosina@suse.cz: added information about mode switching from Simon]
      [jkosina@suse.cz: fixed a few stylistic issues pointed out by Simon]
      [jkosina@suse.cz: fix merge conflict due to to_hid_device() changes]
      Signed-off-by: NEdwin Velds <e.velds@gmail.com>
      Tested-by: NElias Vanderstuyft <elias.vds@gmail.com>
      Tested-by: NSimon Wood <simon@mungewell.org>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      ff21a635
  7. 28 12月, 2015 1 次提交
  8. 20 11月, 2015 4 次提交
  9. 06 11月, 2015 1 次提交
  10. 30 9月, 2015 1 次提交
  11. 04 9月, 2015 2 次提交
  12. 01 6月, 2015 1 次提交
    • G
      HID: hidpp: Add driver for mouse logitech M560 · 8a09b4fa
      Goffredo Baroncelli 提交于
      The Logitech M560 is a wireless mouse designed for windows 8 which uses
      the unifying receiver.
      Compared to a standard one, some buttons (the middle one and the
      two ones placed on the side) are bound to a key combination
      instead of a generating classic "mouse" button events.
      
      The device shows up as a mouse and keyboard combination: when the middle
      button is pressed it sends a key (as keyboard) combination, the same
      happens for the two side button. The left/right/wheel work as expected
      from a mouse. To complicate things further, the middle button sends
      different keys combinations between odd and even presses.
      In the "even" press it also sends a left click. But the worst thing
      is that no event is generated when the middle button is released.
      
      It is possible to re-configure the mouse sending a command (see function
      m560_send_config_command()). After this command the mouse sends some
      useful data when the buttons are pressed and/or released.
      
      [jkosina@suse.cz: fix build breakage due to leftover from previous
       patch version]
      Signed-off-by: NGoffredo Baroncelli <kreijack@inwind.it>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      8a09b4fa
  13. 07 5月, 2015 1 次提交
    • B
      Revert "HID: logitech-hidpp: support combo keyboard touchpad TK820" · 5006c105
      Benjamin Tissoires 提交于
      This reverts commit 3a61e975.
      
      The Logitech TK820 seems to be affected by a firmware bug which
      delays the sending of the keys (pressed, or released, which triggers
      a key-repeat) while holding fingers on the touch sensor.
      This behavior can be observed while using the mouse emulation mode
      if the user moves the finger while typing (highly improbable though).
      Holding the finger still while in the mouse emulation mode does
      not trigger the key repeat problem.
      So better keep things in their previous state to not have to
      explain users that the new key-repeat bug they see is a "feature".
      
      Furthermore, I noticed that I disabled the media keys whith
      this patch. Sorry, my bad.
      
      I think it is best to revert the patch, in all the current
      versions it has been shipped.
      
      Cc: <stable@vger.kernel.org> # v3.19 and above
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      5006c105
  14. 06 4月, 2015 1 次提交
  15. 02 4月, 2015 1 次提交
  16. 09 1月, 2015 1 次提交
  17. 19 12月, 2014 1 次提交