Home
last modified time | relevance | path

Searched refs:DEFAULT_MOUSE_DPI (Results 1 - 7 of 7) sorted by relevance

/third_party/libinput/src/
H A Dfilter-tablet.c165 filter->xres_scale = DEFAULT_MOUSE_DPI/(25.4 * xres); in create_tablet_filter_flat()
166 filter->yres_scale = DEFAULT_MOUSE_DPI/(25.4 * yres); in create_tablet_filter_flat()
H A Dfilter-private.h146 norm.x = coords->x * DEFAULT_MOUSE_DPI/dpi; in normalize_for_dpi()
147 norm.y = coords->y * DEFAULT_MOUSE_DPI/dpi; in normalize_for_dpi()
H A Dlibinput-util.h56 #define DEFAULT_MOUSE_DPI 1000 macro
H A Dfilter-low-dpi.c85 double dpi_factor = accel_filter->dpi/(double)DEFAULT_MOUSE_DPI; in pointer_accel_profile_linear_low_dpi()
H A Devdev.c1205 else if (device->dpi < DEFAULT_MOUSE_DPI) in evdev_init_accel()
1490 int dpi = DEFAULT_MOUSE_DPI; in evdev_read_dpi_prop()
1493 return DEFAULT_MOUSE_DPI; in evdev_read_dpi_prop()
1503 DEFAULT_MOUSE_DPI); in evdev_read_dpi_prop()
1504 dpi = DEFAULT_MOUSE_DPI; in evdev_read_dpi_prop()
2455 device->dpi = DEFAULT_MOUSE_DPI; in evdev_device_create()
H A Devdev-mt-touchpad.h35 /* Convert mm to a distance normalized to DEFAULT_MOUSE_DPI */
36 #define TP_MM_TO_DPI_NORMALIZED(mm) (DEFAULT_MOUSE_DPI/25.4 * mm)
H A Devdev-mt-touchpad.c2984 tp->accel.x_scale_coeff = (DEFAULT_MOUSE_DPI/25.4) / res_x; in tp_init_accel()
2985 tp->accel.y_scale_coeff = (DEFAULT_MOUSE_DPI/25.4) / res_y; in tp_init_accel()

Completed in 12 milliseconds