var mk = MindFusion.Keyboard;
var KeyboardState = MindFusion.Keyboard.KeyboardState;
var KeyboardLayout = MindFusion.Keyboard.KeyboardLayout;

mk.WebComponents.register();

document.addEventListener("DOMContentLoaded", function (event)
{
	var vk = mk.VirtualKeyboard.find("keyboard");
	KeyboardState.NumLock = true;
	var layout = KeyboardLayout.create(numpadDef);
	vk.layout = layout;
	vk.render();
});