A customisable JavaScript multi-devices controller for games/applications