Issue
I'm currently writing a trait extenstion to allow more movement options for controlling the mouse, but when testing I noticed that there was a delay of ~250ms between each of my mouse actions, which I thought was strange considering text input is near instant. Upon reading through the source for ActionSource there is a hardcoded duration of 250ms
Proposal
Add action_chain_with_delay(self: &Arc<SessionHandle>, key_delay: Option<u64>, pointer_delay: Option<u64>) -> ActionChain to allow setting a custom delay for key and pointer actions
Modify ActionSource<PointerAction> and ActionSource<KeyAction> to include an Option<u64> in their respective new() functions, where None is the currently applied durations and Some(u64) being the delay
Issue I'm currently writing a trait extenstion to allow more movement options for controlling the mouse, but when testing I noticed that there was a delay of ~250ms between each of my mouse actions, which I thought was strange considering text input is near instant. Upon reading through the source for ActionSource there is a hardcoded duration of 250ms
Proposal Add
action_chain_with_delay(self: &Arc<SessionHandle>, key_delay: Option<u64>, pointer_delay: Option<u64>) -> ActionChain
to allow setting a custom delay for key and pointer actions ModifyActionSource<PointerAction>
andActionSource<KeyAction>
to include anOption<u64>
in their respectivenew()
functions, whereNone
is the currently applied durations andSome(u64)
being the delay