|
From: | Andreas |
Subject: | mouse support |
Date: | Tue, 15 Feb 2005 01:21:06 +0100 |
why dont this work!? case KEY_MOUSE: if( getmouse( &event ) ) { if(event.bstate == BUTTON1_PRESSED) { // do stuff here } if(event.bstate == BUTTON2_PRESSED) { // do stuff here } } break; I have folowed this text to write the code http://en.tldp.org/HOWTO/NCURSES-Programming-HOWTO/mouse.html A
[Prev in Thread] | Current Thread | [Next in Thread] |