[Title]fixed 3-axis sensor pitch slider bug
authorsungmin ha <sungmin82.ha@samsung.com>
Fri, 6 Jul 2012 12:07:09 +0000 (21:07 +0900)
committersungmin ha <sungmin82.ha@samsung.com>
Fri, 6 Jul 2012 12:07:09 +0000 (21:07 +0900)
[Type]Bugfix
[Module]eventinjector
[Priority]Major
[Jira#]N_SE-2242
[Redmine#]  // Redmine Isuue Number
[Problem]  // Problem Description
[Cause]  // Cause Description
[Solution] // Solution Description
[TestCase]  // Executed the test-target (How to)

org.tizen.sensor.accelerometer/src/org/tizen/sensor/accelerometer/page/MobilePanel.java
package/pkginfo.manifest

index 56834ec..19bd700 100644 (file)
@@ -442,11 +442,11 @@ public class MobilePanel extends JPanel implements ISelectionListener {
                                
                                // Control pitch
                                int newpitch = mousedownpitch - (e.getY() - mousedowny);
-                               while (newpitch > 180) {
+                               while (newpitch > 270) {
                                        newpitch -= 360;
                                        gyroPitchCount++;
                                }
-                               while (newpitch < -180) {
+                               while (newpitch < -90) {
                                        newpitch += 360;
                                        gyroPitchCount--;
                                }
@@ -467,11 +467,11 @@ public class MobilePanel extends JPanel implements ISelectionListener {
                                
                                // Control pitch
                                int newpitch = mousedownpitch - (e.getY() - mousedowny);
-                               while (newpitch > 180) {
+                               while (newpitch > 270) {
                                        newpitch -= 360;
                                        gyroPitchCount++;
                                }
-                               while (newpitch < -180) {
+                               while (newpitch < -90) {
                                        newpitch += 360;
                                        gyroPitchCount--;
                                }
index 661e746..5c02e2e 100644 (file)
@@ -1,5 +1,5 @@
 Package:eventinjector-eplugin
-Version:0.2.33
+Version:0.2.34
 OS:linux
 Build-host-os:linux
 Maintainer:yeongkyoon Lee <yeongkyoon.lee@samsung.com>, sungmin Ha <sungmin82.ha@samsung.com>
@@ -9,7 +9,7 @@ Install-dependency:common-eplugin[linux], base-ide-product[linux]
 Source:eventinjector-eplugin
 
 Package:eventinjector-eplugin
-Version:0.2.33
+Version:0.2.34
 OS:windows
 Build-host-os:linux
 Maintainer:yeongkyoon Lee <yeongkyoon.lee@samsung.com>, sungmin Ha <sungmin82.ha@samsung.com>