Then you'll need to read again, the screen shots can't be better explained sorry.
https://developers.airconsole.com/#!/guides/construct2
I read and reread it.
I very rarely ask for help on the forum only as a last resort,yesterday I spent about 6 hours trying to figure out how it works.
in the example is <button id="up">MOVE UP</button>
is the code that sends the message
$("#up").on('touchstart', function () {
airconsole.message(AirConsole.SCREEN {
message: 'up'
});
});
I understand that $("#up") is button id="up"
but if I have <div class="dpad-dpad arrow-arrow-up"></div>
I should write so ?
$("#dpad-dpad arrow-arrow-up").on('touchstart', function () {
airconsole.message(AirConsole.SCREEN {
message: 'up'
});
});