---
name: "mouse_needs_poll"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/mouse_needs_poll"
---

# mouse\_needs\_poll(3alleg)

Tells if the mouse driver requires polling. Allegro game programming library.

## NAME

mouse\_needs\_poll - Tells if the mouse driver requires polling. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int mouse\_needs\_poll();**

## DESCRIPTION

Returns TRUE if the current mouse driver is operating in polling mode.

## SEE ALSO

[**poll\_mouse**(3alleg)](/poll_mouse/3alleg.md), [**install\_mouse**(3alleg)](/install_mouse/3alleg.md), [**mouse\_x**(3alleg)](/mouse_x/3alleg.md)
