Skip to content

Add ff-memless-next and make hid-lg4ff use it

Michal Malý linux-input lkml 2 versions – In review

Get series with b4
b4 am 1516865.M993BQAYe4@geidi-prime

Versions newest first · linked by author and title

  1. v2 Latest4 patches 10 repliesIn review
  2. v15 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add ff-memless-next driverDocumentation/input/ff-memless-next.txt drivers/input/Kconfig drivers/input/Makefile +2 more+974 -05 replies
2/4Port hid-lg4ff to ff-memless-nextdrivers/hid/Kconfig drivers/hid/hid-lg4ff.c+52 -360 replies
3/4hid-lg4ff: Add support for periodic effectsdrivers/hid/hid-lg4ff.c+6 -00 replies
4/4hid-lg4ff: Add support for ramp effectdrivers/hid/hid-lg4ff.c+1 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchElias Vanderstuyft
1/4T-b
2/4T-b
3/4T-b
4/4T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Add ff-memless-next and make hid-lg4ff use it

Hi everybody,

this patch series is a result of my work to improve FFB support for memoryless devices. ff-memless-next is an improvement over the currently available ff-memless which is well suited for joypads but cannot handle more advanced devices such as racing wheels properly. As I have explained in one of RFCs regarding ff-memless-next, the extent of the changes makes implementing ff-memless-next as a patch to ff-memless unfeasible. As of now there is a total of 27 drivers using ff-memless (including lg4ff) - a lot of them joypads. I do not have access to any FFB joypad at the moment so I cannot implement the functionality required to handle joypads properly - namely FF_RUMBLE and emulation of FF_PERIODIC through FF_RUMBLE.
The plan is to implement the missing functionality and replace ff-memless completely in the future.

Second part of this series ports lg4ff driver over to ff-memless-next. The immediate benefit of this is support of all periodic effects and ramp effect.

v2 addresses a few issues that have not been noticed at the time v1 was submitted. Specific fixes are mentioned in the respective patches.

Michal M.

Michal Malý (4):
INPUT: Add ff-memless-next module
HID: Port hid-lg4ff to ff-memless-next
HID: Add support for periodic effects in hid-lg4ff
HID: Add support for ramp effect in hid-lg4ff

 Documentation/input/ff-memless-next.txt | 141 ++++++
 drivers/hid/Kconfig                     |   2 +-
 drivers/hid/hid-lg4ff.c                 |  93 ++--
 drivers/input/Kconfig                   |  11 +
 drivers/input/Makefile                  |   1 +
 drivers/input/ff-memless-next.c         | 789 ++++++++++++++++++++++++++++++++
 include/linux/input/ff-memless-next.h   |  32 ++
 7 files changed, 1033 insertions(+), 36 deletions(-)

--
1.9.0

--
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html