File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -175,14 +175,13 @@ typedef struct usage_display {
175
175
uint32_t rotation_types ;
176
176
} usage_display_t ;
177
177
#define USAGE_BASE_DISPLAY 0x0001
178
- #define USAGE_BASE_DISPLAY_ROTATION_0 0x00000001
179
- #define USAGE_BASE_DISPLAY_ROTATION_90 0x00000002
180
- #define USAGE_BASE_DISPLAY_ROTATION_180 0x00000004
181
- #define USAGE_BASE_DISPLAY_ROTATION_270 0x00000008
182
- #define USAGE_BASE_DISPLAY_MIRROR_ROTATION_0 0x00000010
183
- #define USAGE_BASE_DISPLAY_MIRROR_ROTATION_90 0x00000020
184
- #define USAGE_BASE_DISPLAY_MIRROR_ROTATION_180 0x00000040
185
- #define USAGE_BASE_DISPLAY_MIRROR_ROTATION_270 0x00000080
178
+ /* 2 bits to describe rotation */
179
+ #define USAGE_BASE_DISPLAY_ROTATION_0 0x00000000
180
+ #define USAGE_BASE_DISPLAY_ROTATION_90 0x00000001
181
+ #define USAGE_BASE_DISPLAY_ROTATION_180 0x00000002
182
+ #define USAGE_BASE_DISPLAY_ROTATION_270 0x00000003
183
+ /* mirror flag */
184
+ #define USAGE_BASE_DISPLAY_MIRROR 0x00000004
186
185
187
186
/*!
188
187
* Structure to specify a single usage atom.
You can’t perform that action at this time.
0 commit comments