Common directions for supporting Windows 8 operating system devices
What does Windows 8 use to monitor the direction of the device in our common devices? The answer is directional sensor, then for the device in different directions, direction sensors are corresponding to which direction value? As shown in the following table:
We can tell from the table:
1) When the equipment direction is horizontal direction upward (portrait up), the corresponding sensor value is notrotated (no rotation occurs);
We can identify different directions by comparing the location of Windows buttons in the device, as shown in the following illustration:
2 The device direction is vertical direction (landscape left), the corresponding sensor value is rotated90degreescounterclockwise (rotate 90 degrees); we can identify different directions by comparing the location of Windows buttons in the device. As shown in the following illustration: