---
name: "mouse_needs_poll"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mouse_needs_poll/3alleg4"
---

# mouse\_needs\_poll(3alleg4)

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**(3alleg4), **install\_mouse**(3alleg4), **mouse\_x**(3alleg4)
