Draft: screenreader: Add TriggerAction functionality.

Add functionality for various actions by sending left control key
press and release events.
Also add to steamosctl trigger_action support.
NOTE: Stop Speaking action should be changed to use orca's new dbus
api once that's packaged.
This commit is contained in:
Jeremy Whiting 2025-06-13 16:57:08 -06:00 committed by Jeremy Whiting
parent 631f30bc94
commit 42e89ef342
6 changed files with 164 additions and 4 deletions

View file

@ -48,4 +48,6 @@ pub trait ScreenReader0 {
fn mode(&self) -> zbus::Result<u32>;
#[zbus(property)]
fn set_mode(&self, mode: u32) -> zbus::Result<()>;
fn trigger_action(&self, action: u32, timestamp: u64) -> zbus::Result<()>;
}