forked from AuroraMiddleware/gtk
69 lines
1.8 KiB
C
69 lines
1.8 KiB
C
|
/* gdkinput.c
|
||
|
*
|
||
|
* Copyright (C) 2005 Imendio AB
|
||
|
*
|
||
|
* This library is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU Lesser General Public
|
||
|
* License as published by the Free Software Foundation; either
|
||
|
* version 2 of the License, or (at your option) any later version.
|
||
|
*
|
||
|
* This library is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
* Lesser General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Lesser General Public
|
||
|
* License along with this library; if not, write to the
|
||
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||
|
* Boston, MA 02111-1307, USA.
|
||
|
*/
|
||
|
|
||
|
#include <config.h>
|
||
|
|
||
|
#include "gdkinput.h"
|
||
|
|
||
|
GType
|
||
|
gdk_device_get_type (void)
|
||
|
{
|
||
|
static GType object_type = 0;
|
||
|
|
||
|
if (!object_type)
|
||
|
{
|
||
|
static const GTypeInfo object_info =
|
||
|
{
|
||
|
sizeof (GdkDeviceClass),
|
||
|
(GBaseInitFunc) NULL,
|
||
|
(GBaseFinalizeFunc) NULL,
|
||
|
(GClassInitFunc) NULL,
|
||
|
NULL, /* class_finalize */
|
||
|
NULL, /* class_data */
|
||
|
sizeof (GdkDevicePrivate),
|
||
|
0, /* n_preallocs */
|
||
|
(GInstanceInitFunc) NULL,
|
||
|
};
|
||
|
|
||
|
object_type = g_type_register_static (G_TYPE_OBJECT,
|
||
|
"GdkDevice",
|
||
|
&object_info, 0);
|
||
|
}
|
||
|
|
||
|
return object_type;
|
||
|
}
|
||
|
|
||
|
void
|
||
|
gdk_device_set_key (GdkDevice *device,
|
||
|
guint index,
|
||
|
guint keyval,
|
||
|
GdkModifierType modifiers)
|
||
|
{
|
||
|
/* FIXME: Implement */
|
||
|
}
|
||
|
|
||
|
gboolean
|
||
|
gdk_device_get_axis (GdkDevice *device, gdouble *axes, GdkAxisUse use, gdouble *value)
|
||
|
{
|
||
|
/* FIXME: Implement */
|
||
|
return FALSE;
|
||
|
}
|
||
|
|