Bump from ScreenReader0 to ScreenReader1.

Change mode from an enumeration/u32 to a string on DBus interface.
Change actions on TriggerAction from u32 to strings also on DBus interface.
This commit is contained in:
Jeremy Whiting 2025-07-07 16:32:15 -06:00
parent 77f7305dd3
commit d1ea6b45e9
5 changed files with 50 additions and 50 deletions

View file

@ -305,7 +305,7 @@
This interface is considered unstable and may change between verisons.
Once it is considered stable it will be renamed to ScreenReader1
-->
<interface name="com.steampowered.SteamOSManager1.ScreenReader0">
<interface name="com.steampowered.SteamOSManager1.ScreenReader1">
<!--
Enabled
@ -339,9 +339,9 @@
Which mode the screen reader should operate in.
Valid modes: 0 - Browse mode, 1 - Focus mode.
Valid modes: browse - Browse mode, focus - Focus mode.
-->
<property name="Mode" type="u" access="readwrite"/>
<property name="Mode" type="s" access="readwrite"/>
<!--
Voice
@ -370,16 +370,16 @@
Forward a user interaction event to the screen reader service.
@action: The action genereated via user input. Valid values:
0 = Stop Talking
1 = Read Next Word,
2 = Read Previous Word,
3 = Read Next Item,
4 = Read Previous Item,
5 = Move To Next Landmark,
6 = Move To Previous Landmark,
7 = Move To Next Heading,
8 = Move To Previous Heading,
9 = Toggle between Browse mode and Focus mode,
stop_talking = Stop Talking
read_next_word = Read Next Word,
read_previous_word = Read Previous Word,
read_next_item = Read Next Item,
read_previous_item = Read Previous Item,
move_to_next_landmark = Move To Next Landmark,
move_to_previous_landmark = Move To Previous Landmark,
move_to_next_heading = Move To Next Heading,
move_to_previous_heading = Move To Previous Heading,
toggle_mode = Toggle between Browse mode and Focus mode,
@timestamp: refers to the time the user interaction event
that triggered this event happened. E.g. when the user pressed
@ -387,7 +387,7 @@
start of CLOCK_MONOTONIC_RAW).
-->
<method name="TriggerAction">
<arg type="u" name="action" direction="in"/>
<arg type="s" name="action" direction="in"/>
<arg type="t" name="timestamp" direction="in"/>
</method>