04-18-2009 08:38 AM - edited 04-18-2009 08:46 AM
I want to capture trackball event like rollup, rolldown ... I tried with trackwheel but it works only for "click" and "Unclick" event...and not for rollup and rolldown...
I want to programmatically fire rolldown and rollup of trackball...
Thanks in advance
Solved! Go to Solution.
04-18-2009 09:10 AM - edited 04-18-2009 09:14 AM
Take a look at this API ..
EDIT: Link changed..
04-19-2009 11:10 AM
Hi.. Thanks for the reply...
I want to programatically rollup and rolldown the trackball..
I have seen the navigationMovement(...) method ..but i don't understand how to use it...
I have used EventInjector to rolldown the trackball but it is not working.... (Also i am able to click and unclick the trackball using EventInjector..)
Thanks in advance...
04-19-2009 11:20 AM
thanks for this quick reply....
i'll try this ........
04-19-2009 11:54 AM
public boolean navigationMovement(int dx, int dy, int status, int time)
dx is the number of rolls to the left or right (left is negative)
dy is the number of rolls to up or down (up is negative I believe)