Searched refs:tilt_to_radians (Results 1 – 1 of 1) sorted by relevance
682 static const s8 tilt_to_radians[] = { in waltop_raw_event() local706 if (tilt_x > ARRAY_SIZE(tilt_to_radians) - 1) in waltop_raw_event()707 tilt_x = ARRAY_SIZE(tilt_to_radians) - 1; in waltop_raw_event()708 if (tilt_y > ARRAY_SIZE(tilt_to_radians) - 1) in waltop_raw_event()709 tilt_y = ARRAY_SIZE(tilt_to_radians) - 1; in waltop_raw_event()711 data[8] = tilt_to_radians[tilt_x] * sign_x; in waltop_raw_event()712 data[9] = tilt_to_radians[tilt_y] * sign_y; in waltop_raw_event()