Gp2x cursor or mouse

Anybody who makes games for gp2x or has an idea, with the joystick how would you make that move a cursor and have left clicks and right clicks with gp2x? i have thought of some ways but they didnt work. How do you do that or is it possilbe>?