CL_InputEvent::str - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_InputEvent::str

Character sequence generated by event.

    	std::string  str;

Detailed description:

A key press can generate one, none or multiple characters, the reason for this are deadkeys, ie. press ^ + a and get â, so the first press would generate no key and the second one, in case that the second key being pressed doesn't support the ^ it would generate two characters (ie. ^ + 5 => "", "^5")

See also:

CL_InputEvent

Questions or comments, write to the ClanLib mailing list.