Search
lxdream.org :: lxdream/src/maple/mouse.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/mouse.c
changeset 1034:7044e01148f0
prev850:28782ebbd01d
next1072:d82e04e6d497
author nkeynes
date Wed Jun 24 02:41:12 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change Add initial VMU support
file annotate diff log raw
1.1 --- a/src/maple/mouse.c Mon Sep 08 07:56:33 2008 +0000
1.2 +++ b/src/maple/mouse.c Wed Jun 24 02:41:12 2009 +0000
1.3 @@ -55,13 +55,13 @@
1.4 int32_t axis[8];
1.5 } *mouse_device_t;
1.6
1.7 -struct maple_device_class mouse_class = { "Sega Mouse", mouse_new };
1.8 +struct maple_device_class mouse_class = { "Sega Mouse", MAPLE_GRAB_YES|MAPLE_TYPE_PRIMARY, mouse_new };
1.9
1.10 static struct mouse_device base_mouse = {
1.11 - { MAPLE_DEVICE_TAG, &mouse_class, MAPLE_GRAB_YES,
1.12 + { MAPLE_DEVICE_TAG, &mouse_class,
1.13 MOUSE_IDENT, MOUSE_VERSION,
1.14 NULL, NULL, mouse_attach, mouse_detach, maple_default_destroy,
1.15 - mouse_clone, NULL, NULL, mouse_get_cond, NULL, NULL, NULL, NULL, NULL },
1.16 + mouse_clone, NULL, NULL, mouse_get_cond, NULL, NULL, NULL, NULL, NULL, NULL },
1.17 0, {0,0,0,0,0,0,0,0},
1.18 };
1.19
.