CR for Job #20163 - Implement virtual keyboard for use in HMD

Code Review for Job #20163 - Workitem available at https://www.worklist.net/20163
Ok, fine to leave then!

> On Dec 5, 2014, at 4:53 PM, Thijs Wenker <notifications@github.com> wrote:
> 
> In examples/virtualKeyboard.js:
> 
> > +keyboard.onKeyPress = function(event) {
> > +    if (event.event == 'keypress') {
> > +        appendChar(event.char);
> > +    } else if (event.event == 'enter') {
> > +        appendChar("\n");
> > +    }
> > +};
> > +
> > +keyboard.onKeyRelease = function(event) {
> > +    print("Key release event test");
> > +    // you can cancel a key by releasing its focusing before releasing it
> > +    if (event.focus) {
> > +        if (event.event == 'delete') {
> > +           deleteChar();
> > +        } else if (event.event == 'submit') {
> > +           print(textText);
> It shows you the text you typed, even if the entity creation fails. I think its part of the example.
> 
> —
> Reply to this email directly or view it on GitHub.
>