#ifndef __GDK_INPUT_WIN32_H__
#define __GDK_INPUT_WIN32_H__
-#ifdef HAVE_WINTAB
+#include <windows.h>
#include <wintab.h>
-#endif
typedef struct _GdkAxisInfo GdkAxisInfo;
typedef struct _GdkDevicePrivate GdkDevicePrivate;
gint *last_axis_data;
gint last_buttons;
-#ifdef HAVE_WINTAB
/* WINTAB stuff: */
HCTX hctx;
/* Cursor number */
UINT npbtnmarks[2];
/* Azimuth and altitude axis */
AXIS orientation_axes[2];
-#endif
};
struct _GdkInputWindow
/* The following functions are provided by each implementation
* (just wintab for now)
*/
-gint _gdk_input_window_none_event(GdkEvent *event,
- MSG *msg);
-void _gdk_input_configure_event (GdkEventConfigure *event,
- GdkWindow *window);
-void _gdk_input_enter_event (GdkEventCrossing *event,
- GdkWindow *window);
-gint _gdk_input_other_event (GdkEvent *event,
+void _gdk_input_configure_event (GdkWindow *window);
+void _gdk_input_enter_event (GdkWindow *window);
+gboolean _gdk_input_other_event (GdkEvent *event,
MSG *msg,
GdkWindow *window);
GdkTimeCoord ***events,
gint *n_events);
+void _gdk_input_wintab_init_check (void);
+void _gdk_input_set_tablet_active (void);
+
#endif /* __GDK_INPUT_WIN32_H__ */