A framework for turning touch-enabled phones into wireless gamepads via WebSockets