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 e5dc581ddf553fb37902b87fcfb8686b55408a44
parent 41a2fa7f1edf594bf220f1fcb5e7a7a0a7033680
Author: Francisco Lopes <francisco@nosubstance.me>
Date:   Mon, 28 Dec 2020 23:24:11 -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) {