NativeBinding.prototype.getCurrentKeyboardLayout = function()

in index.js [26:34]


NativeBinding.prototype.getCurrentKeyboardLayout = function() {
  try {
    this._init();
    return this._keymapping.getCurrentKeyboardLayout();
  } catch(err) {
    console.error(err);
    return null;
  }
};