You can find here a demo to better understanding the subject =>
kaazing websocket remote iphone
This is a plugin idea using the kaazing websocket engine in C2 (or something like that) to bring a way using a mobile (ex : iphone) as a input device for browser html5 games running on another platform ... as you can see in the above sample (webgl browser required), a pin code is created by app and use to validate the access between the game and the remote device ...
But more than only provide this cool access, i think this plugin could be embelled in a C2 project with some pre existing objects (joystick, buttons, sliders ...) and also give a way to create a unique look remote app which give the feeling that this mobile app is a extension of the main game and not a simple "plug" ... so it could be interesting for many C2 games running on desktop browsers where for example "orientation "device" support could add value to game.
I'm not a expert... but i think this is possible and it's a cool concept too !
So i want to have your feelings about this and if someone is interested by creating this plugin i'm ready to give some of my time to help bring this project to life ...
Thanks to read me ;-p