Hello!
I give you my last code with some improvement:
It gives the choice between three layouts, depending on the parameter “pad” you pass in the url:
The default (no parameter) shows only two buttons, enter and escape:
The second (pad=shift, ie “?game=YourGame&pad=shift”) shows three buttons, to add the button “shift”:
The third (pad=full, ie “?game=YourGame&pad=full” is the full layout:
The major improvement is that I fixed an issue with the previous buttons, it was difficult to keep a button pressed, my bad, now it works.
Feel free to use, edit, ask a change, etc.


