From c36697fca9bba4ec106bcd1a9e7ac07303de3d5a Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Thu, 20 Dec 2007 22:59:41 +0000 Subject: [PATCH] Added target-specifc mouse configuration values. --- platform/apple2enh/contiki-conf.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/platform/apple2enh/contiki-conf.h b/platform/apple2enh/contiki-conf.h index c7c80beba..7ab09b44a 100644 --- a/platform/apple2enh/contiki-conf.h +++ b/platform/apple2enh/contiki-conf.h @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * $Id: contiki-conf.h,v 1.8 2007/12/18 17:51:20 oliverschmidt Exp $ + * $Id: contiki-conf.h,v 1.9 2007/12/20 22:59:41 oliverschmidt Exp $ */ #ifndef __CONTIKI_CONF_H__ @@ -56,7 +56,11 @@ #define CTK_CONF_ICONS 0 #define CTK_CONF_MENUS 0 #define CTK_CONF_SCREENSAVER 0 -#define CTK_CONF_MOUSE_SUPPORT 0 +#define CTK_CONF_MOUSE_SUPPORT 1 + +#define MOUSE_CONF_DRIVER "a2e.stdmou.mou" +#define MOUSE_CONF_XTOC(x) ((x) * 2 / 7) +#define MOUSE_CONF_YTOC(y) ((y) / 8) #define WEBSERVER_CONF_CGI_CONNS UIP_CONNS #define WEBSERVER_CONF_CFS_CONNS 3