Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
akhan
Posts: 70
Registered: ‎08-10-2009
My Device: Not Specified
Accepted Solution

navigationMovement() - dx parameter

In the method navigationMovement(int dx, int dy, int status, int time)

 

is the parameter dx calculated in pixels ?

 

Thanks.

 

Ahmed

 

Please use plain text.
Developer
arkadyz
Posts: 2,268
Registered: ‎07-08-2009
My Device: various

Re: navigationMovement() - dx parameter

No,

since there is no mouse pointer on BlackBerry, dx and dy have no pixels association - they represent the number of "clicks", or "mickeys" as mouse driver people call it.  If you enable Options -> Screen/Keyboard -> Trackball (or Trackpad, depending on the device) -> Audible roll, you will even hear those clicks when you roll your trackball or slide a finger over your trackpad.

 

----------------------------------------------------------
please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!
Please use plain text.