Merge pull request #1123 from gedankenexperimenter/leader-deprecations

Replace deprecated Leader code in docs and testcases
pull/1127/head
Jesse Vincent 3 years ago committed by GitHub
commit 77c8f394df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -77,7 +77,7 @@ The plugin provides the `Leader` object, with the following methods and properti
> are final actions, where one does not wish to continue the leader sequence
> further in the hopes of finding a longer match.
### `.time_out`
### `.setTimeout(ms)`
> The number of milliseconds to wait before a sequence times out. Once the
> sequence timed out, if there is a partial match with an action, that will be

@ -72,7 +72,7 @@ static const kaleidoscope::plugin::Leader::dictionary_t leader_dictionary[] PROG
void setup() {
Kaleidoscope.setup();
Leader.time_out = 20;
Leader.setTimeout(20);
Leader.dictionary = leader_dictionary;
}

Loading…
Cancel
Save