Lines Matching refs:rotation

268 	if (tablet->rotation.rotate == tablet->rotation.want_rotate)
274 tablet->rotation.rotate = tablet->rotation.want_rotate;
277 "tablet-rotation: rotation is %s\n",
278 tablet->rotation.rotate ? "on" : "off");
290 touchpad_is_left = tablet->rotation.touch_device_left_handed_state;
292 tablet->rotation.want_rotate = tablet_is_left || touchpad_is_left;
413 /* Wacom Intuos 4, 5, Pro mouse calculates rotation from the x/y tilt
426 tablet->axes.rotation = angle;
463 if (tablet->rotation.rotate)
472 if (tablet->rotation.rotate)
584 /* mouse rotation resets tilt to 0 so always fetch both axes if
618 tablet->axes.rotation = convert_to_degrees(absinfo, 90);
649 * rotation is converted to left-handed automatically */
655 double r = tablet->axes.rotation;
656 tablet->axes.rotation = fmod(180 + r, 360);
736 axes.rotation = tablet->axes.rotation;
973 /* tilt on the puck is converted to rotation */
1015 tablet onto the tool. Except we know that mice only have rotation
1032 * mouse+tilt (and thus rotation), but they do not have
1303 /* If we have a mouse/lens cursor and the tilt changed, the rotation
2244 if (tablet->rotation.touch_device == NULL && (group1 == group2)) {
2246 "tablet-rotation: %s will rotate %s\n",
2249 tablet->rotation.touch_device = new_device;
2252 tablet->rotation.touch_device_left_handed_state = true;
2286 if (tablet->rotation.touch_device == removed_device) {
2287 tablet->rotation.touch_device = NULL;
2288 tablet->rotation.touch_device_left_handed_state = false;
2345 if (!tablet->rotation.touch_device)
2349 "tablet-rotation: touchpad is %s\n",
2352 /* Our left-handed config is independent even though rotation is
2357 tablet->rotation.touch_device_left_handed_state = left_handed_enabled;
2589 /* Our rotation code only works with Wacoms, let's wait until