• Home
  • Raw
  • Download

Lines Matching refs:evdev

143 	struct libevdev *evdev = tablet->device->evdev;  in tablet_device_has_axis()  local
148 has_axis = (libevdev_has_event_code(evdev, in tablet_device_has_axis()
151 libevdev_has_event_code(evdev, in tablet_device_has_axis()
154 libevdev_has_event_code(evdev, in tablet_device_has_axis()
158 has_axis |= libevdev_has_event_code(evdev, in tablet_device_has_axis()
162 has_axis = libevdev_has_event_code(evdev, in tablet_device_has_axis()
167 has_axis = libevdev_has_event_code(evdev, in tablet_device_has_axis()
188 fuzz = libevdev_get_abs_fuzz(device->evdev, e->code); in tablet_filter_axis_fuzz()
470 absinfo = libevdev_get_abs_info(device->evdev, ABS_X); in tablet_update_xy()
479 absinfo = libevdev_get_abs_info(device->evdev, ABS_Y); in tablet_update_xy()
543 absinfo = libevdev_get_abs_info(device->evdev, ABS_PRESSURE); in tablet_update_pressure()
556 absinfo = libevdev_get_abs_info(device->evdev, ABS_DISTANCE); in tablet_update_distance()
569 absinfo = libevdev_get_abs_info(device->evdev, ABS_WHEEL); in tablet_update_slider()
587 absinfo = libevdev_get_abs_info(device->evdev, ABS_TILT_X); in tablet_update_tilt()
590 absinfo = libevdev_get_abs_info(device->evdev, ABS_TILT_Y); in tablet_update_tilt()
608 absinfo = libevdev_get_abs_info(device->evdev, in tablet_update_artpen_rotation()
922 struct libevdev *evdev = tablet->device->evdev; in copy_button_cap() local
923 if (libevdev_has_event_code(evdev, EV_KEY, button)) in copy_button_cap()
1030 if (libevdev_has_event_code(tablet->device->evdev, EV_ABS, in tool_set_bits()
1087 pressure = libevdev_get_abs_info(device->evdev, ABS_PRESSURE); in tool_set_pressure_thresholds()
1244 distance = libevdev_get_abs_info(tablet->device->evdev, ABS_DISTANCE); in sanitize_pressure_distance()
1245 pressure = libevdev_get_abs_info(tablet->device->evdev, ABS_PRESSURE); in sanitize_pressure_distance()
1314 pressure = libevdev_get_abs_info(device->evdev, ABS_PRESSURE); in detect_pressure_offset()
1315 distance = libevdev_get_abs_info(device->evdev, ABS_DISTANCE); in detect_pressure_offset()
1386 p = libevdev_get_abs_info(tablet->device->evdev, ABS_PRESSURE); in detect_tool_contact()
1428 distance = libevdev_get_abs_info(tablet->device->evdev, ABS_DISTANCE); in tablet_update_proximity_state()
2185 if (libevdev_fetch_event_value(device->evdev, in tablet_check_initial_proximity()
2203 libevdev_get_event_value(device->evdev, in tablet_check_initial_proximity()
2258 if (libevdev_has_property(device->evdev, INPUT_PROP_DIRECT)) in tablet_init_calibration()
2269 if (!libevdev_has_event_code(device->evdev, EV_KEY, BTN_TOOL_MOUSE) && in tablet_init_proximity_threshold()
2270 !libevdev_has_event_code(device->evdev, EV_KEY, BTN_TOOL_LENS)) in tablet_init_proximity_threshold()
2348 struct libevdev *evdev = device->evdev; in tablet_reject_device() local
2352 has_xy = libevdev_has_event_code(evdev, EV_ABS, ABS_X) && in tablet_reject_device()
2353 libevdev_has_event_code(evdev, EV_ABS, ABS_Y); in tablet_reject_device()
2354 has_pen = libevdev_has_event_code(evdev, EV_KEY, BTN_TOOL_PEN); in tablet_reject_device()
2355 has_btn_stylus = libevdev_has_event_code(evdev, EV_KEY, BTN_STYLUS); in tablet_reject_device()
2375 struct libevdev *evdev = device->evdev; in tablet_init() local
2389 if (!libevdev_has_event_code(evdev, EV_KEY, BTN_TOOL_PEN)) { in tablet_init()
2390 libevdev_enable_event_code(evdev, EV_KEY, BTN_TOOL_PEN, NULL); in tablet_init()
2397 libevdev_disable_event_code(evdev, EV_KEY, BTN_TOOL_MOUSE); in tablet_init()
2398 libevdev_disable_event_code(evdev, EV_KEY, BTN_TOOL_LENS); in tablet_init()