detect the relachement of a touch ?

Posted By: djfeeler

detect the relachement of a touch ? - 07/28/13 15:49

Hello,

Is there a way to detect the relachement of a specific key ?

Thanks in advance ^^
Posted By: txesmi

Re: detect the relachement of a touch ? - 07/28/13 17:47

Code:
var key_a_release = 0;
if ( key_a )
{
	key_a_release = 1;
}
else if ( key_a_release )
{
	key_a_release = 0;
	...
}

Posted By: djfeeler

Re: detect the relachement of a touch ? - 07/29/13 04:18

Thanks for your response ^^
© 2024 lite-C Forums