Introduction
Introduction Statistics Contact Development Disclaimer Help
fix comment style - svkbd - simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log
Files
Refs
README
LICENSE
---
commit 3dfb00ccf815baa8fc55c28cbdcf25d690d73817
parent c247720ae49d166686ae23a7b9bd0e1dfb3b446b
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 5 Feb 2023 11:25:46 +0100
fix comment style
Diffstat:
M config.def.h | 12 ++++++++----
M svkbd.c | 2 +-
2 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/config.def.h b/config.def.h
@@ -1,9 +1,13 @@
static const Bool wmborder = True;
static int fontsize = 22;
-static double overlay_delay = 1.0; //in seconds
-static double repeat_delay = 0.75; //in seconds, will not work on keys with ov…
-static int scan_rate = 50; //scan rate in microseconds, affects key repetition…
-static int heightfactor = 14; //one row of keys takes up 1/x of the screen hei…
+/* overlay delay in seconds */
+static double overlay_delay = 1.0;
+/* repeat delay in seconds, will not work on keys with overlays */
+static double repeat_delay = 0.75;
+/* scan rate in microseconds, affects key repetition rate */
+static int scan_rate = 50;
+/* one row of keys takes up 1/x of the screen height */
+static int heightfactor = 14;
static int xspacing = 5;
static int yspacing = 5;
static const char *defaultfonts[] = {
diff --git a/svkbd.c b/svkbd.c
@@ -453,7 +453,7 @@ press(Key *k, KeySym buttonmod)
if (enableoverlays && currentoverlay == -1)
overlayidx = hasoverlay(k->keysym);
if ((pressonrelease) || (enableoverlays && overlayidx != -1)) {
- /*record the begin of the press, don't simulate the ac…
+ /* record the begin of the press, don't simulate the a…
record_press_begin(k->keysym);
} else {
printdbg("Simulating press: %ld (mod %ld)\n", k->keysy…
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.