26 system. To convert the axis data to match the current display orientation, |
26 system. To convert the axis data to match the current display orientation, |
27 sensor data compensator APIs can be used. The data compensator APIs enable |
27 sensor data compensator APIs can be used. The data compensator APIs enable |
28 you to adjust the coordinate system to match the changed system characteristics.</p><fig id="GUID-CB810DA3-6532-47DF-878E-A0D8A07ACC7C"> |
28 you to adjust the coordinate system to match the changed system characteristics.</p><fig id="GUID-CB810DA3-6532-47DF-878E-A0D8A07ACC7C"> |
29 <title>Example to illustrate adjustment of the coordinate system due to device |
29 <title>Example to illustrate adjustment of the coordinate system due to device |
30 orientation change</title> |
30 orientation change</title> |
31 <image href="GUID-24B8686D-727A-47A8-B01D-1BA1FBC8F771_d0e135898_href.png" placement="inline"/> |
31 <image href="GUID-24B8686D-727A-47A8-B01D-1BA1FBC8F771_d0e129360_href.png" placement="inline"/> |
32 </fig><p>To convert the sensor data to the compensated values, the adjustment |
32 </fig><p>To convert the sensor data to the compensated values, the adjustment |
33 values (for example, interchanged x-axis with y-axis) for each device state |
33 values (for example, interchanged x-axis with y-axis) for each device state |
34 that the compensation is applied to, must be configured and taken as an input |
34 that the compensation is applied to, must be configured and taken as an input |
35 for calculations.</p><fig id="GUID-15844543-6586-43AE-87C8-B90A4D24404D"> |
35 for calculations.</p><fig id="GUID-15844543-6586-43AE-87C8-B90A4D24404D"> |
36 <title>Correcting the coordinate system of a Symbian device</title> |
36 <title>Correcting the coordinate system of a Symbian device</title> |
37 <desc>The figure depicts the correction of coordinate system in the Symbian |
37 <desc>The figure depicts the correction of coordinate system in the Symbian |
38 device</desc> |
38 device</desc> |
39 <image href="GUID-BF822A89-F932-400F-82FC-FB998B768EBF_d0e135910_href.png" placement="inline"/> |
39 <image href="GUID-BF822A89-F932-400F-82FC-FB998B768EBF_d0e129372_href.png" placement="inline"/> |
40 </fig><p>The following example explains how the sensor data compensation works, |
40 </fig><p>The following example explains how the sensor data compensation works, |
41 by illustrating the behavior of maps application of the Symbian device when |
41 by illustrating the behavior of maps application of the Symbian device when |
42 the keyboard is in opened and closed state. </p><table id="GUID-6CF1E7CE-0076-415F-BF6A-E92034B6F6D4"> |
42 the keyboard is in opened and closed state. </p><table id="GUID-6CF1E7CE-0076-415F-BF6A-E92034B6F6D4"> |
43 <tgroup cols="3"><colspec colname="col1"/><colspec colname="col2"/><colspec colname="col3"/> |
43 <tgroup cols="3"><colspec colname="col1"/><colspec colname="col2"/><colspec colname="col3"/> |
44 <thead> |
44 <thead> |