equal
deleted
inserted
replaced
1108 /** |
1108 /** |
1109 Number of processors present on the device. Returns 1 on unicore. This number is constant and does not take account of power management |
1109 Number of processors present on the device. Returns 1 on unicore. This number is constant and does not take account of power management |
1110 */ |
1110 */ |
1111 ENumCpus, |
1111 ENumCpus, |
1112 |
1112 |
|
1113 /** |
|
1114 The orientation of the Digitiser. Usually mirrors device orientation. |
|
1115 |
|
1116 @see TDigitiserOrientation for allowed values |
|
1117 @capability WriteDeviceData needed to Set this attribute |
|
1118 */ |
|
1119 EDigitiserOrientation, |
1113 |
1120 |
1114 /* |
1121 /* |
1115 * NOTE: |
1122 * NOTE: |
1116 * When updating this list, please also update hal/rom/hal.hby and hal/tsrc/t_newhal.cpp. |
1123 * When updating this list, please also update hal/rom/hal.hby and hal/tsrc/t_newhal.cpp. |
1117 */ |
1124 */ |
1326 EPowerBackupStatus_Replace, |
1333 EPowerBackupStatus_Replace, |
1327 EPowerBackupStatus_Low, |
1334 EPowerBackupStatus_Low, |
1328 EPowerBackupStatus_Good, |
1335 EPowerBackupStatus_Good, |
1329 }; |
1336 }; |
1330 |
1337 |
|
1338 |
|
1339 /** |
|
1340 Describes the orientation of the screen digitiser, usually mirrors the |
|
1341 device orientation not necessarily the display rotation as this might be |
|
1342 limited to upright and left 90 only. The values in degrees measures |
|
1343 the anti-clockwise angle from the left edge of the digitiser from the |
|
1344 normal default position of the device. |
|
1345 |
|
1346 User-side clients can use attribute to inform the digitiser driver of the |
|
1347 digitiser orientation. The driver may then use this information to adjust |
|
1348 X.Y sampling depending on input pointer type. |
|
1349 |
|
1350 @see HALData::TAttribute |
|
1351 */ |
|
1352 enum TDigitiserOrientation |
|
1353 { |
|
1354 EDigitiserOrientation_default, ///< Driver using build-in default |
|
1355 EDigitiserOrientation_000, ///< Device normal 'make-call' position |
|
1356 EDigitiserOrientation_090, ///< Device rotated left 90 degrees |
|
1357 EDigitiserOrientation_180, ///< Device rotated 180 degrees |
|
1358 EDigitiserOrientation_270 ///< Device rotated right 90 degrees |
|
1359 }; |
|
1360 |
1331 }; |
1361 }; |
1332 |
1362 |
1333 #endif |
1363 #endif |