Skip to content

Updating with changes from main#1

Open
RecentRunner wants to merge 6 commits into
RecentRunner:masterfrom
maricn:master
Open

Updating with changes from main#1
RecentRunner wants to merge 6 commits into
RecentRunner:masterfrom
maricn:master

Conversation

@RecentRunner
Copy link
Copy Markdown
Owner

No description provided.

662929 and others added 6 commits March 17, 2023 13:46
* Update interception-vimproved.cpp

Refactorings:
- Update syntax to modern C++23
- Use typealiases
- Use modern trailing return type function definition syntax
- Reduce pointer usages
- Eliminate `push_backs` by using constructors
- Eliminate `using namespace std` littering
- Eliminate duplication of typenames using auto
- Eliminate deletes at end of main
- Eliminate unnecessary heap allocations
- Eliminate unbraced if statements

* Delete .ccls

* Update Makefile

* Update .gitignore

* Update interception-vimproved.cpp

Added support for custom keymappings

* Update interception-vimproved.cpp

* Simplified interception-vimproved.cpp

* Added preliminary yaml configuration support
* - Removed duplicates in the default config
- Changed the internal Mapping type to std::unordered_map
- Made static member function `isModified` a free function

* Update interception-vimproved.cpp

Added most keys from US keyboard
Added convenience renamings for common keys and for insanely named keys

* Update interception-vimproved.cpp

Removed unnecessary pointer

* Update interception-vimproved.cpp

Refactored key event creation

* Update interception-vimproved.cpp

Modernized read/write architecture.
Renamed writeCombo to write_keytap

* Update interception-vimproved.cpp

Renamed SYN to SYNC.
Removed unused function getState.
Removed prefixed underscore from class members.
Renamed member function matches to is_intercept.

* Update interception-vimproved.cpp

Corrected logic error I introduced earlier.

* Update interception-vimproved.cpp

Added Interceptor abstraction.
Added preliminary Layers and Modifiers abstraction

* Implemented advanced yaml configuration

Implemented advanced yaml configuration.
Added Interceptor abstraction

* Update config.yaml

Corrected wrong key name

* Update README.md

* Update interception-vimproved.cpp

Removed logs, unnecessary includes.
Added helper functions.
Renamed InterceptedKey to Intercept, InterceptedKeyLayer to Layer and InterceptedKeyModifier to Modifier.
Removed old configuration artifacts.

* Update Makefile

Decouple uninstall from clean

* Several Refactorings

Added global config file.
Consolidated writing events.
De-nested some logic.
Added meta keys.

* Update interception-vimproved.cpp

* Update interception-vimproved.cpp

Reordered modifier and layer class to be in usage order
This change makes the "build" target not phony, which means that `make
install` won't build if it doesn't have to.

This allows running `make install` as a root user that doesn't know
where to find meson.
removed erronious path and updated meson invocation to be less ambiguous
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.

6 participants