CL_InputDevice::get_key_name - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_InputDevice::get_key_name

Friendly key name for specified identifier (A, B, Leertaste, Backspace, Mouse Left, ...).

    	std::string get_key_name(
    		int id);

Detailed description:

Note that this key name is localized, meaning it should only be used for menus where the user view key bindings, and not configuration files and such.

See also:

CL_InputDevice

Questions or comments, write to the ClanLib mailing list.