|
PebbleOS
|
Rotate display and input devices to match the display orientation preference. More...
Functions | |
| void | orientation_handle_prefs_changed (void) |
| Apply the orientation preference after it changed. | |
| void | orientation_manager_enable (bool on) |
| Runlevel hook. | |
Rotate display and input devices to match the display orientation preference.
Applies the orientation to the display, buttons, accelerometer, magnetometer and touch. Available with CONFIG_ORIENTATION_MANAGER.
| void orientation_handle_prefs_changed | ( | void | ) |
Apply the orientation preference after it changed.
Also asks the running app to redraw.
| void orientation_manager_enable | ( | bool | on | ) |
Runlevel hook.
| on | True to apply the orientation preference, false to force the default orientation. |