Author: richard
Date: Mon May 11 08:14:40 2009
New Revision: 5704
URL: http://svn.slimdevices.com/jive?rev=5704&view=rev
Log:
Bug: 11956
Description:
Allow motion events to be sent from lua.
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_event.c
Modified: 7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_event.c
URL:
http://svn.slimdevices.com/jive/7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_event.c?rev=5704&r1=5703&r2=5704&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_event.c (original)
+++ 7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_event.c Mon May 11
08:14:40 2009
@@ -64,6 +64,12 @@
case JIVE_EVENT_MOUSE_DRAG:
event->u.mouse.x = lua_tointeger(L, 3);
event->u.mouse.y = lua_tointeger(L, 4);
+ break;
+
+ case JIVE_EVENT_MOTION:
+ event->u.motion.x = lua_tointeger(L, 3);
+ event->u.motion.y = lua_tointeger(L, 4);
+ event->u.motion.z = lua_tointeger(L, 5);
break;
default:
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins