htmlgames / htmlgames.github.io

HTML Games
5 stars 7 forks source link

FIXED: Auto assign of keys for mobile #20

Closed htmlgames closed 6 years ago

htmlgames commented 6 years ago

If your shared project title ends with:

use keys

followed by a key, then

and

followed by another key, these will map to mobile A and B pad respectively.

For example see the CREATE project on the examples list:

CREATE use keys a and s

Maps those keys for you. Note this function is defered and make take upto 10 secs to kick in. Once the web browsers title updates is when the keys can get mapped.

htmlgames commented 6 years ago

Note this will not work on the current apk because internet access is not enabled. (This may change for the cloud vars update)

Note this will not work if the project isn't shared either.