This commit is contained in:
zcake 2021-01-30 12:27:11 +00:00
parent 12be064bcb
commit e5fd53f53d
4 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ static const char *fonts[] = {
static int fontsize = 10; static int fontsize = 10;
static double overlay_delay = 1.0; static double overlay_delay = 1.0;
static int heightfactor = 30; //one row of keys takes up 1/x of the screen height static int heightfactor = 20; //one row of keys takes up 1/x of the screen height
static const char *colors[SchemeLast][2] = { static const char *colors[SchemeLast][2] = {
/* fg bg */ /* fg bg */
[SchemeNorm] = { "#ff5555", "#282a36" }, [SchemeNorm] = { "#ff5555", "#282a36" },

BIN
svkbd

Binary file not shown.

View File

@ -176,6 +176,7 @@ buttonpress(XEvent *e)
} }
if ((k = findkey(ev->x, ev->y))) if ((k = findkey(ev->x, ev->y)))
press(k, mod); press(k, mod);
drawkeyboard();
} }
void void
@ -201,6 +202,7 @@ buttonrelease(XEvent *e)
if ((k = findkey(ev->x, ev->y))) if ((k = findkey(ev->x, ev->y)))
unpress(k, mod); unpress(k, mod);
} }
drawkeyboard();
} }
void void

BIN
svkbd.o

Binary file not shown.