Mouse programs using C: Do everything with mouse using these C programs. On this page you will find sample mouse programs using C language. Programs ranging from how to use mouse in text and graphics mode. How to initialize mouse, how to know where the mouse is clicked, finding which mouse button is clicked i.e left or right, how to restrict mouse pointer. Mouse interrupt is handled using int86 function of dos.h header file. All these programs have been made using Turbo C compiler.