ClanSoft logo
ClanSoft logo

    CL_Event_ButtonPress::on_button_press

Syntax

virtual bool on_button_press(
         CL_InputDevice *device,
        const CL_Key &key);

Parameters

device-Input device where the event originates from.
key-The key/button that triggered the event.

Return value

If true is returned, the event chain that called this function will break the chain (stop sending it the remaining listeners on the chain.

Description

Called when a button press event occours.


Back to index



This page was built using the Perceps documentation system.