Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Settings/Settings.h
- Revision:
- 70:8c4572d17441
- Parent:
- 69:753ba27325ce
- Child:
- 73:d1aea9b8da92
--- a/Settings/Settings.h Fri May 22 13:02:26 2020 +0000 +++ b/Settings/Settings.h Fri May 22 17:20:22 2020 +0000 @@ -10,7 +10,7 @@ /** Enum for diffent menu parts*/ enum SettingsParts {contrast, controls, sound_fx }; -/** Enum for diffent control settings parts*/ +/** Enum for diffent control settings parts, joystick and accelerometer*/ enum ControlsParts {joy, acc}; /** Enum for diffent sound setting parts*/ @@ -84,6 +84,11 @@ */ ControlsParts get_sound_method(); + /** Return the setting part that is displayed + * @return get_displayed_settings_part_ + */ + SettingsParts get_displayed_settings_part(); + private: // Varibles ----------------------------------------------------------------