# Functions Used in Example Programs

This chapter provides reference documentation for several functions available in the control pad example programs:

DoControlPad-Queries the specified control pad and de-bounces specified key presses.

InitControlPad-Connects a task to the event broker for control pad interaction.

KillControlPad-Disconnects the task from the event broker and frees resources.

ReturnPreviousControlPad-Returns the state of the control pad as it is remembered.

``