Commit Graph

21 Commits

Author SHA1 Message Date
91b7199cd7 Just specify what I changed in my fork 2022-08-22 21:24:39 -06:00
debed25db2 Commented out everything I want other than the vim home keys 2022-08-22 21:15:16 -06:00
Nikola Marić
f4aa0fa923 feat: generic key definition (#1)
* ivimp-1: refactor for generic handling of keys

* 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)

* wip: started moving to classes

* feat: Now additional mappings can be easily added

* 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

* feat: extend to cover mouse buttons (not impl)

* fix: combos need to be emitted with structs

* 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

* fix: layer+modifier+input

* 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

* chore: Update README.md - configurability
2021-09-23 16:47:58 +02:00
Nikola Marić
0b47a7cb17 Merge pull request #2 from sanchez2210/master 2021-04-06 20:15:47 +02:00
Luis Felipe Sanchez
efdb363b2e Fix readme example indentation 2021-02-18 14:54:00 -05:00
Luis Felipe Sanchez
1e2ef2b1ca Fix install command 2021-02-18 14:51:50 -05:00
Luis Felipe Sanchez
61349eeac5 Add build cmd 2021-02-18 14:51:22 -05:00
Luis Felipe Sanchez
bea9a7e3f5 Ignore bin file 2021-02-18 14:49:50 -05:00
Luis Felipe Sanchez
8816e2aca2 Remove bin 2021-02-18 14:49:34 -05:00
Nikola Maric
ab78ad1bab chore: Rename. Extended udevmon.yml example. 2020-09-16 15:37:06 +02:00
Nikola Maric
6d0c725abe fix: Wrong mapping for KEY_END (p -> o) 2020-09-14 17:04:57 +02:00
Nikola Maric
5a2eb9b3a9 chore: Add LICENSE file - Apache 2.0 2020-09-14 15:21:00 +02:00
Nikola Maric
841167c646 feat: Rename to vimproved. Add README.md 2020-09-14 15:03:12 +02:00
Nikola Maric
6696f3b516 feat: Add CAPS->CTRL.
* "Inline" `equal` and `cmp`
* Refactor combo key writing
* Cleanup unused stuff and use `typedef` and `using namespace`
2020-09-14 13:07:59 +02:00
Nikola Maric
7ab9bfb7fe feat: Add compiled remap binary 2020-09-13 19:03:35 +02:00
Nikola Maric
12da0485e8 chore: Add .ccls config 2020-09-13 19:03:09 +02:00
Nikola Maric
7d1b182efb feat: Add extra keys {e,d,b,y,u,i,p} 2020-09-13 19:02:14 +02:00
Nikola Maric
eec5ba4288 Move to c++, handle multiple mapped keys 2020-09-13 16:48:02 +02:00
Nikola Maric
8ddea4e1ae Makefile: produce executable 2020-09-13 10:27:05 +02:00
Nikola Maric
a1234aac8a Simplifying makefile 2020-09-12 23:16:48 +02:00
Nikola Maric
364c825c58 Initial commit. 2020-09-12 22:56:59 +02:00