35 #ifndef __CTK_MOUSE_H__
36 #define __CTK_MOUSE_H__
38 #include "contiki-conf.h"
40 #if CTK_CONF_MOUSE_SUPPORT
42 void ctk_mouse_init(
void);
44 unsigned short ctk_mouse_x(
void);
45 unsigned short ctk_mouse_y(
void);
47 unsigned char ctk_mouse_xtoc(
unsigned short x);
48 unsigned char ctk_mouse_ytoc(
unsigned short y);
50 unsigned char ctk_mouse_button(
void);
52 void ctk_mouse_hide(
void);
53 void ctk_mouse_show(
void);
57 #define ctk_mouse_init()
59 #define ctk_mouse_x() 0
60 #define ctk_mouse_y() 0
62 #define ctk_mouse_xtoc(x) 0
63 #define ctk_mouse_ytoc(y) 0
65 #define ctk_mouse_button() 0
67 #define ctk_mouse_hide()
68 #define ctk_mouse_show()