ClanSoft logo
ClanSoft logo

    CL_Keyboard::get_keycode

Syntax

static bool get_keycode(int button_no);

Parameters

button_no-Button number checked for being pressed.

Return value

True if the key is pressed.

Description

Returns true if the specified button is down on the keyboard.
This static function is an easier way of writing CL_Input::keyboards[0]->get_button->is_pressed();


Back to index



This page was built using the Perceps documentation system.