aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/skins
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2009-09-17 17:19:09 -0700
committerDavid 'Digit' Turner <digit@google.com>2009-09-17 17:19:09 -0700
commit953374cad9500d1737f5cf80e3fada36835726b5 (patch)
tree1a304dea56ae787fe4aa98aa1cd1ba63f1b2aef2 /emulator/skins
parent183002b779916c01ac1d9af2b734f06f0aa529a8 (diff)
downloadsdk-953374cad9500d1737f5cf80e3fada36835726b5.zip
sdk-953374cad9500d1737f5cf80e3fada36835726b5.tar.gz
sdk-953374cad9500d1737f5cf80e3fada36835726b5.tar.bz2
Fix the skins to do proper dpad rotation in landscape mode.
Diffstat (limited to 'emulator/skins')
-rw-r--r--emulator/skins/HVGA/layout10
-rw-r--r--emulator/skins/QVGA/layout3
-rw-r--r--emulator/skins/WQVGA432/layout2
-rw-r--r--emulator/skins/WVGA800/layout2
-rw-r--r--emulator/skins/WVGA854/layout2
5 files changed, 17 insertions, 2 deletions
diff --git a/emulator/skins/HVGA/layout b/emulator/skins/HVGA/layout
index 7117824..cc82dde 100644
--- a/emulator/skins/HVGA/layout
+++ b/emulator/skins/HVGA/layout
@@ -18,7 +18,7 @@ parts {
y 0
}
}
-
+
controls {
background {
image controls.png
@@ -357,7 +357,7 @@ layouts {
height 534
color 0xe0e0e0
event EV_SW:0:1
-
+
part1 {
name portrait
x 0
@@ -394,6 +394,12 @@ layouts {
color 0xe0e0e0
event EV_SW:0:0
+ # the framework _always_ assume that the DPad
+ # has been physically rotated in landscape mode.
+ # however, with this skin, this is not the case
+ #
+ dpad-rotation 3
+
part1 {
name portrait
x 800
diff --git a/emulator/skins/QVGA/layout b/emulator/skins/QVGA/layout
index f98e7bd..96f2133 100644
--- a/emulator/skins/QVGA/layout
+++ b/emulator/skins/QVGA/layout
@@ -393,6 +393,9 @@ layouts {
color 0xe0e0e0
event EV_SW:0:0
+ dpad-rotation 3
+
+
part1 {
name portrait
x 800
diff --git a/emulator/skins/WQVGA432/layout b/emulator/skins/WQVGA432/layout
index 7e52b53..006e955 100644
--- a/emulator/skins/WQVGA432/layout
+++ b/emulator/skins/WQVGA432/layout
@@ -393,6 +393,8 @@ layouts {
color 0xe0e0e0
event EV_SW:0:0
+ dpad-rotation 3
+
part1 {
name portrait
x 800
diff --git a/emulator/skins/WVGA800/layout b/emulator/skins/WVGA800/layout
index 6037ab8..63647f3 100644
--- a/emulator/skins/WVGA800/layout
+++ b/emulator/skins/WVGA800/layout
@@ -394,6 +394,8 @@ layouts {
color 0xe0e0e0
event EV_SW:0:0
+ dpad-rotation 3
+
part1 {
name portrait
x 900
diff --git a/emulator/skins/WVGA854/layout b/emulator/skins/WVGA854/layout
index ab0784d..b086ddc 100644
--- a/emulator/skins/WVGA854/layout
+++ b/emulator/skins/WVGA854/layout
@@ -394,6 +394,8 @@ layouts {
color 0xe0e0e0
event EV_SW:0:0
+ dpad-rotation 3
+
part1 {
name portrait
x 900