Blame maemo/config.dock.h
|
|
8e766d |
#ifndef CONFIG_H
|
|
|
8e766d |
#define CONFIG_H
|
|
|
8e766d |
|
|
|
8e766d |
|
|
|
8e766d |
|
|
|
8e766d |
//#define NOBORDER
|
|
|
8e766d |
//#define NOTITLE
|
|
|
8e766d |
//#define LOCK_SIZE
|
|
|
8e766d |
#define DOCK
|
|
|
8e766d |
//#define TOP_RESIZE
|
|
|
8e766d |
//#define TOP
|
|
|
5f053d |
#define SCREEN_EVENTS
|
|
|
8e766d |
|
|
|
8e766d |
#define WIDTH_SCALE 1/1 // (nominator)/(denomitator)
|
|
|
cbe4b8 |
#define HEIGHT_SCALE 2/5
|
|
|
cbe4b8 |
#define WIDTH_SCALE_P 1/1 // scales for portrait mode, if you need different
|
|
|
cbe4b8 |
#define HEIGHT_SCALE_P 1/3 // you need to comment/uncomment both lines
|
|
|
8e766d |
|
|
|
8e766d |
#define TITLE "coolkbd"
|
|
|
8e766d |
#define MIN_WIDTH 200
|
|
|
8e766d |
#define MIN_HEIGHT 100
|
|
|
8e766d |
#define LONGPRESS_MS 1500
|
|
|
8e766d |
|
|
|
8e766d |
#define FONTS { "DejaVu Sans:bold", "DejaVu Sans", "DejaVu" }
|
|
|
8e766d |
#define FONT_SIZES { 2, 3, 4, 6, 8, 10, 12, 16, 18, 24, 32, 40, 48 }
|
|
|
8e766d |
#define FONT_MAX_SIZES 16
|
|
|
8e766d |
|
|
|
7e0df9 |
#define TOUCH_THRESHOLD0 0.3 // threshold for detect a touch should be a bit greater
|
|
|
7e0df9 |
#define TOUCH_THRESHOLD1 0.2 // then threshold to detect resease
|
|
|
7e0df9 |
|
|
|
8e766d |
#define LABEL_MAXLEN 32
|
|
|
8e766d |
|
|
|
8e766d |
#define KEY_BORDER 2 // see also S in layout.defs.h
|
|
|
8e766d |
|
|
|
8e766d |
|
|
|
8e766d |
#endif
|