mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-19 04:35:00 -04:00
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:
parent
631f30bc94
commit
42e89ef342
6 changed files with 164 additions and 4 deletions
|
@ -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<()>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue