var keyboardOption;
var languageList;

		/*[
			`, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, -, =,
			q, w, e, r, t, y, u, i, o, p, ',',
			a, s, d, f, g, h, j, k, l, ;, ', ",
			z, x, c, v, b, n, m, ',', '.', /
		];*/
	var keyCodes = [
		192, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 189, 187,
		81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 219, 221, 220,
		65, 83, 68, 70, 71, 72, 74, 75, 76, 186, 222,
		90, 88, 67, 86, 66, 78, 77, 188, 190, 191
	];

  var keyBackspace = {
  	func: 'keyBackspace',
  	title: 'A',
  	code: 8
  }
  var keyCaps = {
		func: 'keyCaps',
		title: 'D'
  }
  var keyNextLanguage = {
		func: 'keyNextLanguage',
		title: 'Shift + \' \''
  }
  var keySpace = {
		func: 'keySpace',
		title: '',
  	code: 32
  }
  var keyAddit = {
		func: 'keyAddit',
		title: 'Ctrl+Alt'
  }
  var keyShift = {
		func: 'keyShift',
		title: 'C'
	}
  var keyEnter = {
		func: 'keyEnter',
		title: 'F',
  	code: 13
  }

  var keyDelete = {
		func: 'keyDelete',
		title: 'B',
  	code: 46
  };

  var comboNextLanguage = {
  	when: 'down',
  	shift: true,
  	code: 32,
  	keyFunction: 'keyNextLanguage',
  	func: 'keyNextLanguage'
  };

  var comboCaps = {
  	when: 'down',
  	code: 20,
  	keyFunction: 'keyCaps',
  	func: 'keyCaps'
  };
  var comboShift = {
  	when: 'while',
  	shift: true,
  	keyFunction: 'keyShift',
  	func: 'keyShift'
  };
  var comboAddit = {
  	when: 'while',
  	ctrl: true,
  	alt: true,
  	keyFunction: 'keyAddit',
  	func: 'keyAddit'
  };


keyboardOption = {
  keySet : [
    ['layout', keyBackspace],
    ['layout', keyDelete],
    [keyCaps, 'layout', keyEnter ],
    [keyShift, 'layout', keyShift],
    [keyNextLanguage, keySpace, keyAddit]
  ],
  keyCodes: keyCodes,
  combos: [comboNextLanguage, comboCaps, comboShift, comboAddit]
}
