---
name: "CL_Input"
section: "3"
platform: "linux"
package: "clanlib0-common-dev"
version: "0.4.4-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/CL_Input"
---

# CL\_Input(3)

Input component class.

## NAME

CL\_Input - Input component class.

## DESCRIPTION

CL\_Input is the access point to keyboards, joysticks and (mouse) pointers.

## CLASS MEMBERS

- virtual **~CL\_Input**()

  - static std::vector\<CL\_Keyboard\*\> **keyboards**

  - static std::vector\<CL\_InputDevice\*\> **joysticks**

  - static std::vector\<CL\_InputDevice\*\> **pointers**

  - static CL\_EventChain\_ButtonPress **chain\_button\_press**

  - static CL\_EventChain\_ButtonRelease **chain\_button\_release**

  - static CL\_EventChain\_MouseMove **chain\_mouse\_move**

  - static CL\_EventChain\_MouseEnter **chain\_mouse\_enter**

  - static CL\_EventChain\_MouseExit **chain\_mouse\_exit**

  ## MEMBERS WITH DESCRIPTIONS

- virtual **~CL\_Input**()

  ```
  Description:
  ```

- static std::vector\<CL\_Keyboard\*\> **keyboards**

  ```
  Description:
  ```

  List of keyboards available.

- static std::vector\<CL\_InputDevice\*\> **joysticks**

  ```
  Description:
  ```

  List of joysticks and gamepads available. joysticks and gamepads

- static std::vector\<CL\_InputDevice\*\> **pointers**

  ```
  Description:
  ```

  List of mice and digitizers available. mice and digitizers

- static CL\_EventChain\_ButtonPress **chain\_button\_press**

  ```
  Description:
  ```

  Chain of event listeners told about a button press.

- static CL\_EventChain\_ButtonRelease **chain\_button\_release**

  ```
  Description:
  ```

  Chain of event listeners told about a button release.

- static CL\_EventChain\_MouseMove **chain\_mouse\_move**

  ```
  Description:
  ```

  Chain of event listeners told about a mouse movement.

- static CL\_EventChain\_MouseEnter **chain\_mouse\_enter**

  ```
  Description:
  ```

  Chain of event listeners told about a mouse entering the window area.

- static CL\_EventChain\_MouseExit **chain\_mouse\_exit**

  ```
  Description:
  ```

  Chain of event listeners told about a mouse leaving the window area.

## SEE ALSO

All ClanLib API classes can be found in **clanlib (3)**.

## AUTHORS

Originally written by Magnus Norddahl \<*mbn@dark.x.dtu.dk*\> and Martin Starch \<*starch@dark.x.dtu.dk*\>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at **http://somewhere.in.the.world.org**).

See **clanlib (3)** to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.
