On Saturday 14 of December 2013 18:04:02 Joe Perches wrote:
> On Sun, 2013-12-15 at 01:19 +0100, Michal Malý wrote:
> > diff --git a/drivers/input/ff-memless-next.c
> > b/drivers/input/ff-memless-next.c
> []
>
> > +static inline s32 mlnx_clamp_level(const s32 level)
> > +{
> > + return (level >
On Saturday 14 of December 2013 18:04:02 Joe Perches wrote:
On Sun, 2013-12-15 at 01:19 +0100, Michal Malý wrote:
diff --git a/drivers/input/ff-memless-next.c
b/drivers/input/ff-memless-next.c
[]
+static inline s32 mlnx_clamp_level(const s32 level)
+{
+ return (level 0x7fff) ?
On Sun, 2013-12-15 at 01:19 +0100, Michal Malý wrote:
> diff --git a/drivers/input/ff-memless-next.c b/drivers/input/ff-memless-next.c
[]
> +static inline s32 mlnx_clamp_level(const s32 level)
> +{
> + return (level > 0x7fff) ? 0x7fff : ((level < -0x7fff) ? -0x7fff :
> level);
Hi,
"ff-memless-next" driver is an extended modification of the original ff-memless
driver. Unlike ff-memless, ff-memless-next targets only "serious" FFB devices
such as racing wheels and hi(ish)-end joysticks with FFB actuators instead of
simple rumble motors. Modifications in ff-memless-next
Hi,
"ff-memless-next" driver is an extended modification of the original ff-memless
driver. Unlike ff-memless, ff-memless-next targets only "serious" FFB devices
such as racing wheels and hi(ish)-end joysticks with FFB actuators instead of
simple rumble motors. Modifications in ff-memless-next
Hi,
ff-memless-next driver is an extended modification of the original ff-memless
driver. Unlike ff-memless, ff-memless-next targets only serious FFB devices
such as racing wheels and hi(ish)-end joysticks with FFB actuators instead of
simple rumble motors. Modifications in ff-memless-next
Hi,
ff-memless-next driver is an extended modification of the original ff-memless
driver. Unlike ff-memless, ff-memless-next targets only serious FFB devices
such as racing wheels and hi(ish)-end joysticks with FFB actuators instead of
simple rumble motors. Modifications in ff-memless-next
On Sun, 2013-12-15 at 01:19 +0100, Michal Malý wrote:
diff --git a/drivers/input/ff-memless-next.c b/drivers/input/ff-memless-next.c
[]
+static inline s32 mlnx_clamp_level(const s32 level)
+{
+ return (level 0x7fff) ? 0x7fff : ((level -0x7fff) ? -0x7fff :
level);
clamp(level,
8 matches
Mail list logo