PDA

View Full Version : Use mouse in C



cyber2791
November 24th, 2010, 12:20 AM
Hi all, i have a little problem. I want to make a project in C and i want to use the mouse. Has anyone tried this before ? Please point me in the right direction with this.

Some Penguin
November 24th, 2010, 12:24 AM
http://catb.org/~esr/faqs/smart-questions.html

cyber2791
November 24th, 2010, 12:28 AM
I'm developing a console aplication in wich i want to use the mouse as an input device.

unknownPoster
November 24th, 2010, 12:29 AM
Hi all, i have a little problem. I want to make a project in C and i want to use the mouse. Has anyone tried this before ? Please point me in the right direction with this.

Well given that there are many right directions to go, we need more information.

cyber2791
November 24th, 2010, 12:37 AM
I would like to know what headers should i use to do this. It's different from windows and i'm stuck.

Some Penguin
November 24th, 2010, 12:40 AM
Use something like SDL.

cyber2791
November 24th, 2010, 12:43 AM
Thanks

Arndt
November 24th, 2010, 10:38 AM
This may be relevant:

http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/mouse.html

ncurses is the name of the whole package.