diff --git a/server/drivers/CwLnx.h b/server/drivers/CwLnx.h index b43502d..52f5bd7 100644 --- a/server/drivers/CwLnx.h +++ b/server/drivers/CwLnx.h @@ -36,33 +36,18 @@ #define DEFAULT_BACKLIGHT 1 #define DEFAULT_BRIGHTNESS 200 -/* These are the keys for a (possibly) broken LK202-25...*/ -/* NOTE: You should configure these settings in the configfile - * These defines are just used to get *some* defaults - */ -#define CWLNX_KEY_UP 'A' -#define CWLNX_KEY_DOWN 'B' -#define CWLNX_KEY_LEFT 'C' -#define CWLNX_KEY_RIGHT 'D' -#define CWLNX_KEY_YES 'E' -#define CWLNX_KEY_NO 'F' - -#define DEFAULT_PAUSE_KEY CWLNX_KEY_UP -#define DEFAULT_BACK_KEY CWLNX_KEY_LEFT -#define DEFAULT_FORWARD_KEY CWLNX_KEY_RIGHT -#define DEFAULT_MAIN_MENU_KEY CWLNX_KEY_DOWN MODULE_EXPORT int CwLnx_init(Driver * drvthis); MODULE_EXPORT void CwLnx_close(Driver * drvthis); -MODULE_EXPORT int CwLnx_width (Driver * drvthis); -MODULE_EXPORT int CwLnx_height (Driver * drvthis); -MODULE_EXPORT void CwLnx_clear (Driver * drvthis); +MODULE_EXPORT int CwLnx_width(Driver * drvthis); +MODULE_EXPORT int CwLnx_height(Driver * drvthis); +MODULE_EXPORT void CwLnx_clear(Driver * drvthis); MODULE_EXPORT void CwLnx_flush(Driver * drvthis); MODULE_EXPORT void CwLnx_string(Driver * drvthis, int x, int y, char string[]); MODULE_EXPORT void CwLnx_chr(Driver * drvthis, int x, int y, char c); MODULE_EXPORT void CwLnx_vbar(Driver * drvthis, int x, int y, int len, int promille, int options); MODULE_EXPORT void CwLnx_hbar(Driver * drvthis, int x, int y, int len, int promille, int options); - MODULE_EXPORT void CwLnx_num(Driver * drvthis, int x, int num); +MODULE_EXPORT void CwLnx_num(Driver * drvthis, int x, int num); MODULE_EXPORT int CwLnx_icon(Driver * drvthis, int x, int y, int icon); MODULE_EXPORT void CwLnx_set_char(Driver * drvthis, int n, char *dat); MODULE_EXPORT int CwLnx_get_contrast(Driver * drvthis);