• 0
Simon

SetCursorPosition On Xillinux

Question

Posted (edited)

Hello,

I have a Zybo board and I installed a Xillinus OS. I would like to write a simple C program which can controll the mouse cursor movment. Which command or C function can move the cursor in xillinux? I tried xdotool program for linux, but it doesn't worked. Have somebody any ideea how can I realize it?

Edited by Simon

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

@Simon,

Are we talking about moving the cursor in a text based window?  If so, then does Xillinux support ncurses?

Dan

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

I want only a virtual mouse. How to move the mouse from proram in xillinux? Ncurses doesn't work. Knows somebody a system call or something like that for controlling the mouse ?

Edited by Simon

Share this post


Link to post
Share on other sites
  • 0

Assuming Xillinux uses an X server based desktop environment, you could use xdotool. You will need to get it installed though.

Edit: Really sorry, just reread your original post... your options at this point are probably to continue debugging xdotool, or trying something like suggested in the following post: https://unix.stackexchange.com/questions/164262/can-i-simulate-mouse-movements-via-terminal-without-xdotool

 

Simon likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now