Hello,
I was wondering if it would be possible to add functions buttons to Webflight? I presented at the Wired 2014 London Conference, and through a combination of NodeCopter, Webflight and lots of help from Andrew we flew the drone remotely from 300 miles away. It went down a storm! I'm not sure how much information would be useful, so I've included as much as I can but please let me know if you need to know anything else.
Now being quadriplegic I obviously can't use a traditional keyboard, so to hold down a particular key on the keyboard I use a combination of the applications TrackerPro, Keystrokes and a Buddy Button. The Keystrokes application uses what they call Scan Panels, these are invisible until you hover over them at which point you have an on-screen keyboard that not only has a traditional keyboard but can also trigger scripts, blocks of text and key combinations amongst loads other things.
So, to control the drone for the presentation I had to create a special on-screen keyboard to simulate The keypresses that webflight requires. This is what the Scan Panel I created looks like:
![webflight-scan-panel](https://cloud.githubusercontent.com/assets/1014623/4666366/b0a18be4-5552-11e4-9caa-b5914645aa74.png)
So as you can see all of the things that Webflight can do has a button on this panel, when creating the panel I just linked each button you can see to an individual keypress; so when I select the Take Off button Keystrokes issues a single T keypress, enabling the drone to take off and that's the same for all the other buttons. For movement functions like Left, I simply hold down my Buddy Button whilst hovering over the Left button and then I let go just before I hit the cat!
But it occurred to me after the presentation that it might be possible to add function buttons on the webflight webpage, yes, it did take me that long to work out that we could use JavaScript and HTML to create buttons on a webpage! The only issue that I could foresee (I'm not a programmer) is that Keystrokes doesn't issue one single long keypress when I hold the button on a scan panel down, instead it issues a series of key presses very quickly. Whereas if you were able bodied you would hold down the Left key until the drone of moved far enough and then let go, or maybe I'm missing something?
Anyway, this would be AWESOME if this could be implemented! I'm furiously learning JavaScript at the moment, but that could take ages at my present speed. But I'm learning :-)
Thanks
Stuart