Hello Guys,
I bought a source code made by Construct 2 , i publish this source in tizen device but i have a problem with hard key register for movment in game,
i should add this code manually but i dont know how i can find right and left arrows events and how i should do it. anyone can help me to resolve this problem?
Thank you so much for reading my request.
document.addEventListener("rotarydetent", function(event){
if (event.detail.direction === "CW") {
//put right event
} else {
// put left event
}
}, false);
[/code:1nnf9iqa]