Blob Blame Raw
#ifndef CONFIG_H
#define CONFIG_H



//#define NOBORDER
//#define NOTITLE
//#define LOCK_SIZE
//#define DOCK
//#define TOP_RESIZE
//#define TOP
#define SCREEN_EVENTS

#define WIDTH_SCALE      1/1   // (nominator)/(denomitator)
#define HEIGHT_SCALE     2/5
//#define WIDTH_SCALE_P    1/1   // scales for portrait mode, if you need different
//#define HEIGHT_SCALE_P   1/3   // you need to comment/uncomment both lines


#define TITLE            "coolkbd"
#define MIN_WIDTH        200
#define MIN_HEIGHT       100
#define LONGPRESS_MS     1500

#define FONTS            { "DejaVu Sans:bold", "DejaVu Sans", "DejaVu" }
#define FONT_SIZES       { 2, 3, 4, 6, 8, 10, 12, 16, 18, 24, 32, 40, 48 }
#define FONT_MAX_SIZES   16

#define TOUCH_THRESHOLD0 0.3 // threshold for detect a touch should be a bit greater
#define TOUCH_THRESHOLD1 0.2 // then threshold to detect resease

#define LABEL_MAXLEN     32

#define KEY_BORDER       2   // see also S in layout.defs.h


#endif