Fix uninitialized values in keyboard-generic plugin

The output of this plugin was almost always wrong, causing Maliit
to think that a hardware keyboard was available and refuse to show
the onscreen keyboard.
Merge pull request #2 from special/master

Fix uninitialized values in keyboard-generic plugin