[PATCH libinput 03/16] filter: rename speed to speed_ranged where it's in the [-1, 1] range

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 11 21:54:48 PDT 2015


On Tue, Aug 11, 2015 at 09:48:10AM -0700, Bill Spitzak wrote:
> On 08/10/2015 04:20 PM, Peter Hutterer wrote:
> 
> >>How about speed_adjustment? "speed_range" sounds more like the same type
> >>of speed, but within a range, but IIUC this is more about adjusting the
> >>speed of the movement.
> >
> >changed to speed_adjustment, thanks.
> >
> >Cheers,
> >    Peter
> >
> >>
> >>
> >>Jonas
> >>
> >>>  };
> >>>
> >>>  struct motion_filter {
> >>>-	double speed; /* normalized [-1, 1] */
> >>>+	double speed_ranged; /* normalized [-1, 1] */
> >>>  	struct motion_filter_interface *interface;
> >>>  };
> 
> How about "speed_normalized"? Considering that is what the comment says.

normalized has a specific meaning in libinput, I don't want to overload
that.

Cheers,
   Peter


More information about the wayland-devel mailing list