Skip to content

Commit

Permalink
board: recovery: If flipping screen, also reverse X/Y touch events
Browse files Browse the repository at this point in the history
This change should allow expected recovery orientation after
"Abnormal panel mounting is fixed in kernel now". It's not a
great solution, involving post-processing both FB and TS info,
but it's acceptable in recovery, and much better than in SF.

Change-Id: I7e17a13979c670b831d0522d9441f77740fdc6c8
  • Loading branch information
airend committed Jan 18, 2017
1 parent 084ecbc commit cba47c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ RECOVERY_GRAPHICS_USE_LINELENGTH := true
RECOVERY_GRAPHICS_FORCE_USE_LINELENGTH := true
LANDSCAPE_RESOLUTION := 1280x800
#TW_DEFAULT_ROTATION := 180
#BOARD_HAS_FLIPPED_SCREEN := true
BOARD_HAS_FLIPPED_SCREEN := true
RECOVERY_TOUCHSCREEN_FLIP_X := true
RECOVERY_TOUCHSCREEN_FLIP_Y := true

0 comments on commit cba47c3

Please sign in to comment.