mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-07 21:20:28 +01:00
Drop unused function calc_penumbral_gradient
Unused since 4913fd7a48
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f0abc31f1c
commit
bdb8fd911c
1 changed files with 0 additions and 8 deletions
|
|
@ -308,14 +308,6 @@ create_pointer_accelerator_filter(accel_profile_func_t profile)
|
|||
return &filter->base;
|
||||
}
|
||||
|
||||
static inline double
|
||||
calc_penumbral_gradient(double x)
|
||||
{
|
||||
x *= 2.0;
|
||||
x -= 1.0;
|
||||
return 0.5 + (x * sqrt(1.0 - x * x) + asin(x)) / M_PI;
|
||||
}
|
||||
|
||||
double
|
||||
pointer_accel_profile_linear(struct motion_filter *filter,
|
||||
void *data,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue