diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-07-11 14:12:54 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-07-11 14:12:54 +0200 |
commit | c5e99b90952d3fb326b01c4342c00f9d697c353f (patch) | |
tree | 53a488f2fe4e6e458b4dad1419b5e0c9273af0c1 /Android.mk | |
parent | 72be0e39bbc2acf12f1379af569b98f9a5afc015 (diff) | |
download | bootable_recovery-c5e99b90952d3fb326b01c4342c00f9d697c353f.zip bootable_recovery-c5e99b90952d3fb326b01c4342c00f9d697c353f.tar.gz bootable_recovery-c5e99b90952d3fb326b01c4342c00f9d697c353f.tar.bz2 |
ui: Add option to change touchscreen orientationHEADreplicant-6.0
On devices like the Galaxy Note 8.0, the touchscreen assumes portrait
mode while the recovery is in landscape mode. Allowing to swap x and y
dimension and flipping the x dimension makes the touchscreen usable on
these devices.
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -136,6 +136,10 @@ ifeq ($(BOARD_HAS_DOWNLOAD_MODE), true) LOCAL_CFLAGS += -DDOWNLOAD_MODE endif +ifeq ($(TARGET_RECOVERY_TOUCHSCREEN_SWAP_XY_FLIP_X), true) +LOCAL_CFLAGS += -DRECOVERY_TOUCHSCREEN_SWAP_XY_FLIP_X +endif + ifneq ($(BOARD_RECOVERY_BLDRMSG_OFFSET),) LOCAL_CFLAGS += -DBOARD_RECOVERY_BLDRMSG_OFFSET=$(BOARD_RECOVERY_BLDRMSG_OFFSET) endif |