caps2esc:logo4alt

Interception tools plugin that maps caps->{esc,ctrl} and logo<->alt
git clone git://git.deurzen.net/caps2esc:logo4alt
Log | Files | Refs | README | LICENSE

commit 5c7e6b5a5d70cdff2317d611ccae005192aff86c
parent 7428d959e00d206ea258909ccf56542d6097bac6
Author: Francisco Lopes <francisco@nosubstance.me>
Date:   Mon, 28 Dec 2020 23:35:47 -0300

Formatting

Diffstat:
Mcaps2esc.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/caps2esc.c b/caps2esc.c @@ -6,11 +6,11 @@ // clang-format off const struct input_event -syn = {.type = EV_SYN, .code = SYN_REPORT, .value = 0}, -esc_up = {.type = EV_KEY, .code = KEY_ESC, .value = 0}, -ctrl_up = {.type = EV_KEY, .code = KEY_LEFTCTRL, .value = 0}, -esc_down = {.type = EV_KEY, .code = KEY_ESC, .value = 1}, -ctrl_down = {.type = EV_KEY, .code = KEY_LEFTCTRL, .value = 1}; +syn = {.type = EV_SYN , .code = SYN_REPORT , .value = 0}, +esc_up = {.type = EV_KEY , .code = KEY_ESC , .value = 0}, +ctrl_up = {.type = EV_KEY , .code = KEY_LEFTCTRL , .value = 0}, +esc_down = {.type = EV_KEY , .code = KEY_ESC , .value = 1}, +ctrl_down = {.type = EV_KEY , .code = KEY_LEFTCTRL , .value = 1}; // clang-format on void print_usage(FILE *stream, const char *program) {