var mk = MindFusion.Keyboard;

document.addEventListener("DOMContentLoaded", function (event) {
	var vk = mk.VirtualKeyboard.create(document.getElementById("keyboard"));
	vk.scaleToFitParent = false;

	var lettersLayout = mk.KeyboardLayout.create(lettersLayoutDef);
	var numbersLayout = mk.KeyboardLayout.create(numbersLayoutDef);
	var symbolsLayout = mk.KeyboardLayout.create(symbolsLayoutDef);

	vk.layoutRing = [];
	vk.layoutRing.push(lettersLayout);
	vk.layoutRing.push(numbersLayout);
	vk.layoutRing.push(symbolsLayout);

	vk.selectLayout(0);

	vk.render();
});