Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Overriding OSX shortcuts

Discussion in 'macOS' started by MikeGDev, Jun 8, 2018.

  1. MikeGDev

    MikeGDev

    Joined:
    Dec 19, 2017
    Posts:
    53
    Hi!
    We want to be able to hold the control button while pressing the arrow keys. However, this activates mission control and disrupts the game. We also have issues with a bunch of other key combinations, which triggers other OSX shortcuts.

    Is it possible somehow to override OSX shortcuts in a Unity game, or would we have to design our way around it with a different control scheme? I know its possible to disable the shortcuts in the OSX settings, but we would like to make it more convenient for players.
     
  2. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,037
    No, pick different keys. These are the OS shortcut keys, and people might rely on them for accessibility purposes. You never override people's system preferences in a game.
     
  3. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    Use the cmd modifier key, that one is very common on macOS.