Xavier Allamigeon <[EMAIL PROTECTED]> [2004-04-29 17:41]:
> I try to use the callback EVAS_CALLBACK_MOUSE_WHEEL. When I move the wheel,
> the callback function is called, so the event is detected. But the values of
> ((Evas_Event_Mouse_Wheel *) event_info)->direction or
> ((Evas_Event_Mouse_Wheel *) event_info)->direction don't change even if I
> turn the wheel in the other direction. What's wrong ? Is it a known bug ?
> Thank you for your help !
from Evas.h:
struct _Evas_Event_Mouse_Wheel /** Wheel event */
{
int direction; /* 0 = default up/down wheel FIXME: more wheel types */
int z; /* ...,-2,-1 = down, 1,2,... = up */
/* ... */
};
So, "direction" is always the same value for the same mouse wheel.
Check the value of "z" instead.
--
Regards,
Tilman
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel