layouts {
    portrait {
        width     500
        height    500
        color     0x1f1f1f
        event     EV_SW:0:1

        part1 {
            name    portrait
            x       0
            y       0
        }

        part2 {
            name    device
            x       10
            y       10
        }

        part3 {
            name     palm_controls
            x        440
            y        250
        }

        part4 {
            name     controls
            x        440
            y        150
        }
    }
}

parts {

    device {
        display {
            width   400
            height  400
            x       20
            y       20
        }
    }
	
	portrait {
        foreground {
            mask   device_bezel.png
        }
    }

    palm_controls {
        background {
            image   palm_controls.png
        }
        buttons {
            power {
                    image palm_button.png
                    x 1
                    y 1
            }
        }
    }

    controls {
        background {
            image   controls.png
        }
        buttons {
            home {
                    image button.png
                    x 1
                    y 1
            }
        }
    }
}

keyboard {
    charmap qwerty2
}

network {
    speed  full
    delay  none
}
