import { isMac } from '../../lib/client.js';
var createKeyDescription = function () {
    return isMac
        ? {
            name: '⌥',
            checkPressed: function (event) { return event.altKey; },
        }
        : {
            name: 'Ctrl',
            checkPressed: function (event) { return event.ctrlKey; },
        };
};
var keyDescription = createKeyDescription();
export var getKeyName = function () { return keyDescription.name; };
export var checkKeyPressed = function (event) {
    return keyDescription.checkPressed(event);
};
//# sourceMappingURL=NavigationHelper.js.map