Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions plugin/UserSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ namespace Plugin {
Exchange::JUserSettings::Event::OnContentPinChanged(_parent, contentPin);
}

void OnScreenReaderSpeedChanged(const uint8_t speed) override
{
LOGINFO("ScreenReaderSpeedChanged: %d\n", speed);
Exchange::JUserSettings::Event::OnScreenReaderSpeedChanged(_parent, speed);
}

private:
UserSettings& _parent;
};
Expand Down
1 change: 1 addition & 0 deletions plugin/UserSettingsImplementation.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#define USERSETTINGS_VOICE_GUIDANCE_RATE_KEY "voiceGuidanceRate"
#define USERSETTINGS_VOICE_GUIDANCE_HINTS_KEY "voiceGuidanceHints"
#define USERSETTINGS_CONTENT_PIN_KEY "contentPin"
#define USERSETTINGS_SCREEN_READER_SPEED_KEY "screenReaderSpeed"

namespace WPEFramework {
namespace Plugin {
Expand Down
Loading