Fix the skins to do proper dpad rotation in landscape mode.
This commit is contained in:
@@ -18,7 +18,7 @@ parts {
|
|||||||
y 0
|
y 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
controls {
|
controls {
|
||||||
background {
|
background {
|
||||||
image controls.png
|
image controls.png
|
||||||
@@ -357,7 +357,7 @@ layouts {
|
|||||||
height 534
|
height 534
|
||||||
color 0xe0e0e0
|
color 0xe0e0e0
|
||||||
event EV_SW:0:1
|
event EV_SW:0:1
|
||||||
|
|
||||||
part1 {
|
part1 {
|
||||||
name portrait
|
name portrait
|
||||||
x 0
|
x 0
|
||||||
@@ -394,6 +394,12 @@ layouts {
|
|||||||
color 0xe0e0e0
|
color 0xe0e0e0
|
||||||
event EV_SW:0:0
|
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 {
|
part1 {
|
||||||
name portrait
|
name portrait
|
||||||
x 800
|
x 800
|
||||||
|
|||||||
@@ -393,6 +393,9 @@ layouts {
|
|||||||
color 0xe0e0e0
|
color 0xe0e0e0
|
||||||
event EV_SW:0:0
|
event EV_SW:0:0
|
||||||
|
|
||||||
|
dpad-rotation 3
|
||||||
|
|
||||||
|
|
||||||
part1 {
|
part1 {
|
||||||
name portrait
|
name portrait
|
||||||
x 800
|
x 800
|
||||||
|
|||||||
@@ -393,6 +393,8 @@ layouts {
|
|||||||
color 0xe0e0e0
|
color 0xe0e0e0
|
||||||
event EV_SW:0:0
|
event EV_SW:0:0
|
||||||
|
|
||||||
|
dpad-rotation 3
|
||||||
|
|
||||||
part1 {
|
part1 {
|
||||||
name portrait
|
name portrait
|
||||||
x 800
|
x 800
|
||||||
|
|||||||
@@ -394,6 +394,8 @@ layouts {
|
|||||||
color 0xe0e0e0
|
color 0xe0e0e0
|
||||||
event EV_SW:0:0
|
event EV_SW:0:0
|
||||||
|
|
||||||
|
dpad-rotation 3
|
||||||
|
|
||||||
part1 {
|
part1 {
|
||||||
name portrait
|
name portrait
|
||||||
x 900
|
x 900
|
||||||
|
|||||||
@@ -394,6 +394,8 @@ layouts {
|
|||||||
color 0xe0e0e0
|
color 0xe0e0e0
|
||||||
event EV_SW:0:0
|
event EV_SW:0:0
|
||||||
|
|
||||||
|
dpad-rotation 3
|
||||||
|
|
||||||
part1 {
|
part1 {
|
||||||
name portrait
|
name portrait
|
||||||
x 900
|
x 900
|
||||||
|
|||||||
Reference in New Issue
Block a user