JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "is-ctrl-key-pressed.ts"

Full Path: /home/markqprx/iniasli.pro/client/utils/keybinds/is-ctrl-key-pressed.ts
File size: 233 bytes
MIME-type: text/plain
Charset: utf-8

import {isMac} from '@react-aria/utils';

interface Event {
  altKey: boolean;
  ctrlKey: boolean;
  metaKey: boolean;
}

export function isCtrlKeyPressed(e: Event) {
  if (isMac()) {
    return e.metaKey;
  }

  return e.ctrlKey;
}