minimum 0.3s interpress_delay_secs between keypresses

17 views
Skip to first unread message

Rinaldo Merlo

unread,
Oct 17, 2017, 2:03:44 PM10/17/17
to stb-tester
Hi,

In the API documentation for stbt.press it says that by default there is a 0.3s delay between consecutive keypresses, unless the user overrides this. But I can't find any evidence for this. In my own tests I see 0.2-0.25s between consecutive keypresses. And the global stbt.conf has a default value of 0 for interpress_delay_secs rather than 0.3. 

Is this is a mistake, either in the code or the documentation? Or am I (as per usual) misunderstanding something?

Regards,
Rinaldo.

David Röthlisberger

unread,
Oct 18, 2017, 5:18:36 AM10/18/17
to Rinaldo Merlo, stb-tester
On Tue, 17 Oct 2017, at 07:03 PM, Rinaldo Merlo wrote:
> In the API documentation for stbt.press it says that by default there
> is a 0.3s delay between consecutive keypresses, unless the user
> overrides this. But I can't find any evidence for this. In my own
> tests I see 0.2-0.25s between consecutive keypresses. And the global
> stbt.conf has a default value of 0 for interpress_delay_secs rather
> than 0.3.

Good catch! The value in the documentation is what's desired. I've fixed
the default in https://github.com/stb-tester/stb-tester/pull/462

Kind regards,

David Röthlisberger
Stb-tester.com Ltd.

--
Stb-tester.com Ltd is a company registered in England and Wales.
Registered number: 08800454. Registered office: 33b Aliwal Road,
Battersea, London, SW11 1RB.

Rinaldo Merlo

unread,
Oct 30, 2017, 12:27:27 PM10/30/17
to stb-tester
Thanks. I can't see any mention in release notes for v0.28 of our previous check-in #424 (press_until_match: add optional region parameter). Will that enhancement be included in the upcoming release?

David Röthlisberger

unread,
Oct 31, 2017, 11:00:12 AM10/31/17
to stb-t...@googlegroups.com
On Mon, 30 Oct 2017, at 04:27 PM, Rinaldo Merlo wrote:
Thanks. I can't see any mention in release notes for v0.28 of our previous check-in #424 (press_until_match: add optional region parameter). Will that enhancement be included in the upcoming release?

Yes, if it was merged to master it will be in the release. It looks like we forgot to add a release note in that pull request. When I make a release I go through the git log and add any missing release notes.
Reply all
Reply to author
Forward
0 new messages