summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmeta/packages/formfactor/files/htcuniversal/machconfig15
-rw-r--r--meta/packages/formfactor/formfactor_0.0.bb2
2 files changed, 16 insertions, 1 deletions
diff --git a/meta/packages/formfactor/files/htcuniversal/machconfig b/meta/packages/formfactor/files/htcuniversal/machconfig
new file mode 100755
index 0000000000..a9649e03bc
--- /dev/null
+++ b/meta/packages/formfactor/files/htcuniversal/machconfig
@@ -0,0 +1,15 @@
+HAVE_TOUCHSCREEN=1
+HAVE_KEYBOARD=1
+HAVE_KEYBOARD_PORTRAIT=0
+HAVE_KEYBOARD_LANDSCAPE=1
+
+DISPLAY_CAN_ROTATE=1
+DISPLAY_ORIENTATION=270
+DISPLAY_WIDTH_PIXELS=480
+DISPLAY_WIDTH_MM=56
+DISPLAY_HEIGHT_PIXELS=640
+DISPLAY_HEIGHT_MM=74
+DISPLAY_BPP=16
+#DISPLAY_DPI=220
+DISPLAY_DPI=150
+DISPLAY_SUBPIXEL_ORDER=rgb
diff --git a/meta/packages/formfactor/formfactor_0.0.bb b/meta/packages/formfactor/formfactor_0.0.bb
index 8ff5ac47ca..cfedfd0dca 100644
--- a/meta/packages/formfactor/formfactor_0.0.bb
+++ b/meta/packages/formfactor/formfactor_0.0.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Device formfactor information"
SECTION = "base"
-PR = "r2"
+PR = "r3"
SRC_URI = "file://config file://machconfig"
S = "${WORKDIR}"