Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generic key definition #1

Merged
merged 8 commits into from
Sep 23, 2021
Merged

Conversation

maricn
Copy link
Owner

@maricn maricn commented Sep 24, 2020

No description provided.

* Get CAPS and SPACE code as close to each other as possible.
  * Remove `caps_is_esc` and use `caps_tapped_should_emit` instead
  * Use `continue` keyword after successfully handling the event (work towards daisy chaining)
* Refactored to OOP C++ classes
* Each key handles its own processing.. these types available:
  * tap and hold for layer mappings
  * tap and hold for modifier key
* fix: combos emitting doesn't work with typedef Cpp-like constructs
* fix: enable adding other layer keys except KEY_SPACE (bug on checking `input->code == KEY_SPACE` hardcoded)
* feat: helper function for building events
* chore: rename `event` to `Event`, cleanup cerr output
* you can try it out in firefox in input box, try space+caps+h/l to move around words - if ctrl+h for history is emitted, it's a fail
@maricn maricn changed the title Ivimp 1 generic key definition feat: generic key definition Sep 6, 2021
@maricn maricn merged commit f4aa0fa into master Sep 23, 2021
@maricn maricn deleted the ivimp-1-generic-key-definition branch September 23, 2021 14:48
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.

1 participant