Move Cursor Mouse

azzido
Hi

How can I move cursor mouse in (x, y) position ?

It's possible to move cursor under C language ?

Thanks a lot !

Flavius
I need this information too..

Can anybody help us ?

Philipp Karbach
You wont get any answer this way! What are you exactly trying? To move the
cursor in a graphical user interface like qtopia or in the terminal? If you
are talking about the terminal you will have to use something like ncruses
to move the cursor.

azzido
Hi Philipp Karbach,

The main purpose is to move cursor using eye movement. Yes, I want to do
this in a graphical user interface because the GUI will be displayed on LCD
monitor through VGA converter board. My image processing application
compute many operations in a limited time, so the cursor movement will be
processed fast. The time is critical.

The GUI will be divided in some areas and it will be look like a menu and
the user should be choose something using cursor movement. This it's not so
possible using terminal because I must choose something.

Thanks a lot and I wish you a nice day.

azzido
Thanks Philipp Karbach,

I just have installed the ncurses library on my laptop target and it seems
to work great. I can move a character instead of arrow cursor but I must
think about of my areas.

Any advices are good.


Thanks again

Philipp Karbach
If this is a graphical issue than you could just receive your cursor value
(by transposing the coordinates etc. or get the mouse position) and draw a
little block or circle where you need it. It shouldnt be hard to do that.
I'd do it directly in the framebuffer. You already have the camera example
code there...