/third_party/eudev/src/udev/ |
H A D | udev-builtin-keyboard.c | 123 struct input_absinfo absinfo; in override_abs() local 127 rc = ioctl(fd, EVIOCGABS(evcode), &absinfo); in override_abs() 133 next = parse_token(value, &absinfo.minimum); in override_abs() 134 next = parse_token(next, &absinfo.maximum); in override_abs() 135 next = parse_token(next, &absinfo.resolution); in override_abs() 136 next = parse_token(next, &absinfo.fuzz); in override_abs() 137 next = parse_token(next, &absinfo.flat); in override_abs() 145 absinfo.minimum, absinfo.maximum, absinfo in override_abs() [all...] |
/third_party/libevdev/tools/ |
H A D | libevdev-tweak-device.c | 29 "\tChange the absinfo struct for the named axis\n" in usage() 117 int *axis, struct input_absinfo *absinfo) in parse_options_abs() 148 absinfo->minimum = atoi(optarg); in parse_options_abs() 151 absinfo->maximum = atoi(optarg); in parse_options_abs() 154 absinfo->fuzz = atoi(optarg); in parse_options_abs() 157 absinfo->flat = atoi(optarg); in parse_options_abs() 160 absinfo->resolution = atoi(optarg); in parse_options_abs() 305 unsigned int axis, struct input_absinfo *absinfo) in set_abs() 321 abs.minimum = absinfo->minimum; in set_abs() 323 abs.maximum = absinfo in set_abs() 116 parse_options_abs(int argc, char **argv, unsigned int *changes, int *axis, struct input_absinfo *absinfo) parse_options_abs() argument 304 set_abs(struct libevdev *dev, unsigned int changes, unsigned int axis, struct input_absinfo *absinfo) set_abs() argument 388 struct input_absinfo absinfo; main() local [all...] |
/third_party/libinput/src/ |
H A D | evdev-tablet.c | 336 normalize_slider(const struct input_absinfo *absinfo) in normalize_slider() argument 338 double value = (absinfo->value - absinfo->minimum) / absinfo_range(absinfo); in normalize_slider() 344 normalize_distance(const struct input_absinfo *absinfo) in normalize_distance() argument 346 double value = (absinfo->value - absinfo->minimum) / absinfo_range(absinfo); in normalize_distance() 352 normalize_pressure(const struct input_absinfo *absinfo, in normalize_pressure() argument 367 double range = absinfo in normalize_pressure() 374 adjust_tilt(const struct input_absinfo *absinfo) adjust_tilt() argument 401 invert_axis(const struct input_absinfo *absinfo) invert_axis() argument 431 convert_to_degrees(const struct input_absinfo *absinfo, double offset) convert_to_degrees() argument 452 const struct input_absinfo *absinfo; tablet_update_xy() local 530 const struct input_absinfo *absinfo; tablet_update_pressure() local 546 const struct input_absinfo *absinfo; tablet_update_distance() local 562 const struct input_absinfo *absinfo; tablet_update_slider() local 578 const struct input_absinfo *absinfo; tablet_update_tilt() local 608 const struct input_absinfo *absinfo; tablet_update_artpen_rotation() local [all...] |
H A D | evdev-tablet-pad.c | 149 normalize_ring(const struct input_absinfo *absinfo) in normalize_ring() argument 155 double range = absinfo_range(absinfo); in normalize_ring() 156 double value = (absinfo->value - absinfo->minimum) / range - 0.25; in normalize_ring() 165 normalize_strip(const struct input_absinfo *absinfo) in normalize_strip() argument 171 max = log2(absinfo->maximum); in normalize_strip() 173 double value = (log2(absinfo->value) - min) / range; in normalize_strip() 183 const struct input_absinfo *absinfo; in pad_handle_ring() local 186 absinfo = libevdev_get_abs_info(device->evdev, code); in pad_handle_ring() 187 assert(absinfo); in pad_handle_ring() 202 const struct input_absinfo *absinfo; pad_handle_strip() local [all...] |
/third_party/libinput/tools/ |
H A D | libinput-measure-touchpad-pressure.py | 225 absinfo = self.absinfo[libevdev.EV_ABS.ABS_MT_PRESSURE] 226 if absinfo is None: 227 absinfo = self.absinfo[libevdev.EV_ABS.ABS_PRESSURE] 229 if absinfo is None: 234 prange = absinfo.maximum - absinfo.minimum 237 self.down = int(absinfo.minimum + 0.12 * prange) 238 self.up = int(absinfo [all...] |
/third_party/libinput/test/ |
H A D | litest-device-absinfo-override.c | 48 static struct input_absinfo absinfo[] = { variable 61 TEST_DEVICE("absinfo-override", 66 .name = "absinfo override", 68 .absinfo = absinfo,
|
H A D | litest-device-wacom-cintiq-pro-16-pad.c | 41 static struct input_absinfo absinfo[] = { variable 71 .absinfo = absinfo,
|
H A D | litest-device-wacom-bamboo-2fg-pad.c | 42 static struct input_absinfo absinfo[] = { variable 72 .absinfo = absinfo,
|
H A D | litest-device-generic-singletouch.c | 50 static struct input_absinfo absinfo[] = { variable 76 .absinfo = absinfo,
|
H A D | litest-device-calibrated-touchscreen.c | 51 static struct input_absinfo absinfo[] = { variable 81 .absinfo = absinfo,
|
H A D | litest-device-dell-canvas-totem-touch.c | 55 static struct input_absinfo absinfo[] = { variable 87 .absinfo = absinfo,
|
H A D | litest-device-uclogic-tablet.c | 68 static struct input_absinfo absinfo[] = { variable 97 .absinfo = absinfo,
|
H A D | litest-device-touch-screen.c | 59 static struct input_absinfo absinfo[] = { variable 93 .absinfo = absinfo,
|
H A D | litest-device-touchscreen-mt-tool.c | 56 static struct input_absinfo absinfo[] = { variable 87 .absinfo = absinfo,
|
H A D | litest-device-touchscreen-invalid-range.c | 54 static struct input_absinfo absinfo[] = { variable 84 .absinfo = absinfo,
|
H A D | litest-device-touchscreen-fuzz.c | 53 static struct input_absinfo absinfo[] = { variable 84 .absinfo = absinfo,
|
H A D | litest-device-wacom-isdv4-4200-pen.c | 74 static struct input_absinfo absinfo[] = { variable 109 .absinfo = absinfo,
|
H A D | litest-device-wacom-mobilestudio-pro-pad.c | 64 static struct input_absinfo absinfo[] = { variable 107 .absinfo = absinfo,
|
H A D | litest-device-wacom-isdv4-e6-pen.c | 71 static struct input_absinfo absinfo[] = { variable 102 .absinfo = absinfo,
|
H A D | litest-device-wacom-intuos5-pad.c | 65 static struct input_absinfo absinfo[] = { variable 101 .absinfo = absinfo,
|
H A D | litest-device-wacom-isdv4-e6-finger.c | 57 static struct input_absinfo absinfo[] = { variable 87 .absinfo = absinfo,
|
H A D | litest-device-acer-hawaii-touchpad.c | 74 static struct input_absinfo absinfo[] = { variable 92 .absinfo = absinfo,
|
H A D | litest-device-huion-pentablet.c | 69 static struct input_absinfo absinfo[] = { variable 99 .absinfo = absinfo,
|
H A D | litest-device-synaptics-phantomclicks.c | 74 static struct input_absinfo absinfo[] = { variable 98 .absinfo = absinfo,
|
H A D | litest-device-synaptics-st.c | 69 static struct input_absinfo absinfo[] = { variable 99 .absinfo = absinfo,
|