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.