Functions | |
| unsigned int | caca_get_event (unsigned int) |
| unsigned int | caca_wait_event (unsigned int) |
| unsigned int | caca_get_mouse_x (void) |
| Return the X mouse coordinate. | |
| unsigned int | caca_get_mouse_y (void) |
| Return the Y mouse coordinate. | |
|
|
This function returns the X coordinate of the mouse position last time it was detected. This function is not reliable if the ncurses or S-Lang drivers are being used, because mouse position is only detected when the mouse is clicked. Other drivers such as X11 work well.
|
|
|
This function returns the Y coordinate of the mouse position last time it was detected. This function is not reliable if the ncurses or S-Lang drivers are being used, because mouse position is only detected when the mouse is clicked. Other drivers such as X11 work well.
|