svkbd

simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log | Files | Refs | README | LICENSE

commit e2dff73599425ab0e9912cdba00628cc1eed60a0
parent 34e5659db8e10e544826098670af047fbf610de4
Author: Sebastian LaVine <mail@smlavine.com>
Date:   Fri,  2 Jul 2021 15:23:07 -0400

Fix broken key definitions in layout.en.h

There were two problems with this file.

First, there were commas missing from the definitions for XK_7, XK_0,
XK_minus, and XK_plus. This prevented svkbd from even compiling.

Secondly, XK_Return was misdefined. This resulted in an immediate
segmentation fault upon loading the program.

Diffstat:
Mlayout.en.h | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/layout.en.h b/layout.en.h @@ -6,12 +6,12 @@ static Key keys_en[] = { { "4","$", XK_4, 1 }, { "5","%", XK_5, 1 }, { "6","^", XK_6, 1 }, - { "7","&" XK_7, 1 }, + { "7","&", XK_7, 1 }, { "8","*", XK_8, 1 }, { "9","(", XK_9, 1 }, - { "0",")" XK_0, 1 }, - { "-","_" XK_minus, 1 }, - { "=","+" XK_plus, 1 }, + { "0",")", XK_0, 1 }, + { "-","_", XK_minus, 1 }, + { "=","+", XK_plus, 1 }, { "‚ĆęBksp",0, XK_BackSpace, 2 }, { 0 }, /* New row */ { "->|",0, XK_Tab, 1 }, @@ -27,7 +27,7 @@ static Key keys_en[] = { { 0, 0, XK_p, 1 }, { "[","{", XK_bracketleft, 1 }, { "]", "}", XK_bracketright, 1 }, - { "Return", XK_Return, 3 }, + { "Enter", 0, XK_Return, 3 }, { 0 }, /* New row */ { 0, 0, XK_Caps_Lock, 2 }, { 0, 0, XK_a, 1 },