[PATCH v3 00/24] input: Introduce ff-memless-next as an improved replacement for ff-memless

2014-04-26 Thread Michal Malý
ff-memless-next (MLNX) is a largely improved version of the current ff-memless (FFML) driver. MLNX supports all force feedback effects currently available in the Linux force feedback userspace API. All effects are handled in accordance with Microsoft's DirectInput/XInput. Most notable changes

[PATCH v3 01/24] input: Add ff-memless-next module

2014-04-26 Thread Michal Malý
Add ff-memless-next module Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net Tested-by: Elias Vanderstuyft elias@gmail.com --- drivers/input/Kconfig | 11 + drivers/input/Makefile|1 + drivers/input/ff-memless-next.c | 1037

[PATCH v3 10/24] hid: Port hid-gaff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-gaff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-gaff.c | 32 +++- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig

[PATCH v3 24/24] input: Replace ff-memless with ff-memless-next

2014-04-26 Thread Michal Malý
Replace ff-memless with ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/Kconfig | 13 +- drivers/input/Makefile | 1 - drivers/input/ff-memless.c | 547 - include/linux/input.h | 3 - 4

[PATCH v3 21/24] input: Port xpad to ff-memless-next

2014-04-26 Thread Michal Malý
Port xpad to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/xpad.c | 125 +++-- 2 files changed, 71 insertions(+), 56 deletions(-) diff --git

[PATCH v3 22/24] hid: Port hid-lg2ff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lg2ff to ff-memless-next. Clamp vibration magnitude to range 0x02; 0xfd to prevent irregular shaking of the vibration motors. Signed-off-by: Elias Vanderstuyft elias@gmail.com --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg2ff.c | 65

[PATCH v3 19/24] hid: Port hid-zpff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-zpff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-zpff.c | 30 ++ 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig

[PATCH v3 20/24] input: Port gamecon to ff-memless-next

2014-04-26 Thread Michal Malý
Port gamecon to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/gamecon.c | 57 ++-- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git

[PATCH v3 18/24] hid: Port hid-wiimote-modules to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-wiimote-modules to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-wiimote-modules.c | 74 --- 2 files changed, 46 insertions(+), 30 deletions(-) diff --git

[PATCH v3 17/24] hid: Port hid-tmff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-tmff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-tmff.c | 83 ++ 2 files changed, 51 insertions(+), 34 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v3 15/24] hid: Port hid-sjoy to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-sjoy to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-sjoy.c | 35 +-- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v3 14/24] hid: Port hid-pl to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-pl to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-pl.c | 38 ++ 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig

[PATCH v3 16/24] hid: Port hid-sony to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-sony to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-sony.c | 24 ++-- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index

[PATCH v3 13/24] hid: Port hid-lg3ff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lg3ff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg3ff.c | 60 +++-- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v3 12/24] hid: Port hid-lgff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lgff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-lgff.c | 70 +++--- 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v3 11/24] hid: Port hid-holtekff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-holtekff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-holtekff.c | 47 +- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git

[PATCH v3 07/24] hid: Port hid-axff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-axff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-axff.c | 32 +++- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig

[PATCH v3 05/24] input: Port max8997_haptic to ff-memless-next

2014-04-26 Thread Michal Malý
Port max8997_haptic to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/max8997_haptic.c | 25 +++-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git

[PATCH v4 04/24] input: Port twl6040-vibra to ff-memless-next

2014-04-26 Thread Michal Malý
Port twl6040-vibra to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl6040-vibra.c | 27 ++- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git

[PATCH v3 02/24] input: Port arizona-haptics to ff-memless-next

2014-04-26 Thread Michal Malý
Port arizona-haptics to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/arizona-haptics.c | 39 +++- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git

[PATCH v3 03/24] input: Port twl4030-vibra to ff-memless-next

2014-04-26 Thread Michal Malý
Port twl4030-vibra to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl4030-vibra.c | 31 +-- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git

Re: [PATCH v3 01/24] input: Add ff-memless-next module

2014-04-26 Thread Antonio Ospite
On Sat, 26 Apr 2014 13:57:38 +0200 Michal Malý madcatxs...@devoid-pointer.net wrote: Add ff-memless-next module Hi Michal, what about adding the notes from 0/24 to this commit message? This is the one which will actually get into the project history. And perhaps hint briefly about the

Re: [PATCH v3 16/24] hid: Port hid-sony to ff-memless-next

2014-04-26 Thread Antonio Ospite
On Sat, 26 Apr 2014 13:57:53 +0200 Michal Malý madcatxs...@devoid-pointer.net wrote: Port hid-sony to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net Not a big deal, but note that the patch adds an unneeded blank line. Pointed out below. --- drivers/hid/Kconfig

Re: [PATCH v3 23/24] hid: Port hid-lg4ff to ff-memless-next

2014-04-26 Thread Elias Vanderstuyft
On Sat, Apr 26, 2014 at 1:58 PM, Michal Malý madcatxs...@devoid-pointer.net wrote: Port hid-lg4ff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg4ff.c | 93

[PATCH v4 00/24] input: Introduce ff-memless-next as an improved replacement for ff-memless

2014-04-26 Thread Michal Malý
ff-memless-next (MLNX) is a largely improved version of the current ff-memless (FFML) driver. MLNX supports all force feedback effects currently available in the Linux force feedback userspace API. All effects are handled in accordance with Microsoft's DirectInput/XInput. Most notable changes

[PATCH v4 09/24] hid: Port hid-dr to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-dr to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-dr.c | 59 2 files changed, 37 insertions(+), 24 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v4 07/24] hid: Port hid-axff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-axff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-axff.c | 32 +++- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig

Re: [PATCH v3 01/24] input: Add ff-memless-next module

2014-04-26 Thread Michal Malý
On Saturday 26 of April 2014 15:07:01 Antonio Ospite wrote: On Sat, 26 Apr 2014 13:57:38 +0200 Michal Malý madcatxs...@devoid-pointer.net wrote: Add ff-memless-next module Hi Michal, what about adding the notes from 0/24 to this commit message? This is the one which will actually get

Re: [PATCH v3 16/24] hid: Port hid-sony to ff-memless-next

2014-04-26 Thread Michal Malý
On Saturday 26 of April 2014 15:09:44 Antonio Ospite wrote: On Sat, 26 Apr 2014 13:57:53 +0200 Michal Malý madcatxs...@devoid-pointer.net wrote: Port hid-sony to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net Not a big deal, but note that the patch adds an

[PATCH v4 18/24] hid: Port hid-wiimote-modules to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-wiimote-modules to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-wiimote-modules.c | 74 --- 2 files changed, 46 insertions(+), 30 deletions(-) diff --git

[PATCH v4 15/24] hid: Port hid-sjoy to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-sjoy to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-sjoy.c | 35 +-- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v4 19/24] hid: Port hid-zpff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-zpff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-zpff.c | 30 ++ 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig

[PATCH v4 17/24] hid: Port hid-tmff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-tmff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-tmff.c | 83 ++ 2 files changed, 51 insertions(+), 34 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v4 20/24] input: Port gamecon to ff-memless-next

2014-04-26 Thread Michal Malý
Port gamecon to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/gamecon.c | 57 ++-- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git

[PATCH v4 21/24] input: Port xpad to ff-memless-next

2014-04-26 Thread Michal Malý
Port xpad to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/xpad.c | 125 +++-- 2 files changed, 71 insertions(+), 56 deletions(-) diff --git

[PATCH v4 16/24] hid: Port hid-sony to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-sony to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-sony.c | 23 +-- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index

[PATCH v4 11/24] hid: Port hid-holtekff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-holtekff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-holtekff.c | 47 +- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git

[PATCH v4 13/24] hid: Port hid-lg3ff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lg3ff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg3ff.c | 60 +++-- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v4 12/24] hid: Port hid-lgff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lgff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-lgff.c | 70 +++--- 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v4 08/24] hid: Port hid-emsff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-emsff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-emsff.c | 38 ++ 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/drivers/hid/Kconfig

[PATCH v4 06/24] input: Port pm8xxx-vibrator to ff-memless-next

2014-04-26 Thread Michal Malý
Port pm8xxx-vibrator to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/pm8xxx-vibrator.c | 28 +++- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git

[PATCH v4 14/24] hid: Port hid-pl to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-pl to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-pl.c | 38 ++ 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig

[PATCH v4 10/24] hid: Port hid-gaff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-gaff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-gaff.c | 32 +++- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig

[PATCH v4 05/24] input: Port max8997_haptic to ff-memless-next

2014-04-26 Thread Michal Malý
Port max8997_haptic to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/max8997_haptic.c | 25 +++-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git

[PATCH v4 24/24] input: Replace ff-memless with ff-memless-next

2014-04-26 Thread Michal Malý
Replace ff-memless with ff-memless-next ff-memless-next is a module for handling force feedback devices that have no FFB effect memory of their own. It is based on the ff-memless module but it has been largerly extended. Notable changes include: - Support for all force feedback effects currently

[PATCH v4 03/24] input: Port twl4030-vibra to ff-memless-next

2014-04-26 Thread Michal Malý
Port twl4030-vibra to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl4030-vibra.c | 31 +-- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git

[PATCH v4 04/24] input: Port twl6040-vibra to ff-memless-next

2014-04-26 Thread Michal Malý
Port twl6040-vibra to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl6040-vibra.c | 27 ++- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git

[PATCH v4 02/24] input: Port arizona-haptics to ff-memless-next

2014-04-26 Thread Michal Malý
Port arizona-haptics to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/arizona-haptics.c | 39 +++- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git

[PATCH v4 01/24] input: Add ff-memless-next module

2014-04-26 Thread Michal Malý
Add ff-memless-next module Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net Tested-by: Elias Vanderstuyft elias@gmail.com --- drivers/input/Kconfig | 11 + drivers/input/Makefile|1 + drivers/input/ff-memless-next.c | 1037

[PATCH v4 23/24] hid: Port hid-lg4ff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lg4ff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net Tested-by: Tested-by: Elias Vanderstuyft elias@gmail.com --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg4ff.c | 93 ++--- 2 files changed, 59

[PATCH v4 22/24] hid: Port hid-lg2ff to ff-memless-next

2014-04-26 Thread Michal Malý
- Port hid-lg2ff to ff-memless-next - Clamp vibration magnitude to range 0x02; 0xfd to prevent irregular shaking of the vibration motors. Signed-off-by: Elias Vanderstuyft elias@gmail.com --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg2ff.c | 65