summaryrefslogtreecommitdiffstats
path: root/include/hardware/hwcomposer_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware/hwcomposer_defs.h')
-rw-r--r--include/hardware/hwcomposer_defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware/hwcomposer_defs.h b/include/hardware/hwcomposer_defs.h
index 99465d3..5e2f5ff 100644
--- a/include/hardware/hwcomposer_defs.h
+++ b/include/hardware/hwcomposer_defs.h
@@ -138,7 +138,8 @@ enum {
/* Allowed events for hwc_methods::eventControl() */
enum {
- HWC_EVENT_VSYNC = 0
+ HWC_EVENT_VSYNC = 0,
+ HWC_EVENT_ORIENTATION // To notify HWC about the device orientation
};
/*****************************************************************************/