Skip to content

Conversation

@wolfwood
Copy link
Contributor

Describe your changes. Use imperative present tense.

when RelAxis x or y events occur, a timestamp is updated and if the timestamp was previously None, an F24 key Press event is injected. If a non-RelAxis event occurs more than a timeout value (750 ms right now) since the last timestamp update, an F24 key Release event is injected prior to processing the event and the timestamp is reset to None.

the expectation is that the user will map F24 to a layer-while-held action to switch to a mouse keys layer.

in a finalized version, the timeout and the key event would be configurable as part of a feature toggle.

Checklist

  • Add documentation to docs/config.adoc
    • Yes or N/A
  • Add example and basic docs to cfg_samples/kanata.kbd
    • Yes or N/A
  • Update error messages
    • Yes or N/A
  • Added tests, or did manual testing
    • Yes

@wolfwood wolfwood force-pushed the feature/automousekeys-poc branch from 723a30a to 3ef89e4 Compare May 27, 2024 19:09
@jtroo jtroo force-pushed the main branch 2 times, most recently from ba21f86 to 2a84fc3 Compare June 22, 2024 04:49
@jtroo jtroo linked an issue Sep 15, 2024 that may be closed by this pull request
@jtroo jtroo marked this pull request as draft September 15, 2024 04:35
@jtroo jtroo closed this Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Auto Mouse Keys layer

2 participants