1 /* GDK - The GIMP Drawing Kit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
21 * Modified by the GTK+ Team and others 1997-1999. See the AUTHORS
22 * file for a list of people on the GTK+ Team. See the ChangeLog
23 * files for a list of changes. These files are distributed with
24 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
29 static void gdk_input_none_get_pointer (GdkWindow *window,
36 GdkModifierType *mask);
41 gdk_input_vtable.set_mode = NULL;
42 gdk_input_vtable.set_axes = NULL;
43 gdk_input_vtable.set_key = NULL;
44 gdk_input_vtable.motion_events = NULL;
45 gdk_input_vtable.get_pointer = gdk_input_none_get_pointer;
46 gdk_input_vtable.grab_pointer = NULL;
47 gdk_input_vtable.ungrab_pointer = NULL;
48 gdk_input_vtable.configure_event = NULL;
49 gdk_input_vtable.enter_event = NULL;
50 gdk_input_vtable.other_event = NULL;
51 gdk_input_vtable.window_none_event = NULL;
52 gdk_input_vtable.enable_window = NULL;
53 gdk_input_vtable.disable_window = NULL;
55 gdk_input_devices = g_list_append (NULL, (GdkDeviceInfo *) &gdk_input_core_info);
57 gdk_input_ignore_core = FALSE;
61 gdk_input_none_get_pointer (GdkWindow *window,
68 GdkModifierType *mask)
72 gdk_window_get_pointer (window, &x_int, &y_int, mask);
76 if (pressure) *pressure = 0.5;
77 if (xtilt) *xtilt = 0;
78 if (ytilt) *ytilt = 0;
81 #endif /* XINPUT_NONE */