Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Using Ctrl as Input... Should I?

Discussion in 'General Discussion' started by alexandresk, May 10, 2016.

  1. alexandresk

    alexandresk

    Joined:
    Jul 11, 2013
    Posts:
    51
    Hello, I know how to use, and I know that is can have problems with it when using in the EDITOR. But in a build it work properly. But my doubt is if a game should use Ctrl today? I think about compatibility, and Mac and linux ( witch I do not use for a decade ). My fear is a combination of keys like Ctrl + W + Shift, call other software or something.

    Should I use Ctrl in my game or change to another key?

    Thanks
     
  2. Socrates

    Socrates

    Joined:
    Mar 29, 2011
    Posts:
    787
    As long as your game has the ability to configure what keys are used -- a must in this day and age -- then any players who are running into a conflict with Ctrl or who aren't good at hitting it while playing will have the option to change it.

    Of course, if you're going to release on PC and Mac, your Mac version should default to that funny little key of theirs. Command? Can't remember the name.
     
    Jamster, alexandresk and Kiwasi like this.
  3. QFSW

    QFSW

    Joined:
    Mar 24, 2015
    Posts:
    2,905
    I use CTRL as a dev key in mine, which changes to command on a mac
    Don't know about linux, i woulda thought they just use CTRL too
     
    alexandresk likes this.
  4. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,328
    Ctrl is a commonly used key in First/Third person games, usually for a movement mode, like sneaking. In older shooters it was also often mapped to "fire" key. IN strategy games it is very often used for unit groups.

    So, yeah, you could use it, if you need it.

    Also, users can use ANY key combination as a global hotkey, there's not much you could use about it. Just leave them an option for remapping.
     
    GarBenjamin and alexandresk like this.
  5. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Try your game on a fresh install of Windows. You'll quickly discover if you class with any of the default settings. These can always be changed, but it's often annoying.

    The one I most often catch is spamming the shift key. Hitting ctrl and alt at the same time as other random keys can also lead to weird results.

    Configurable input is your best defence. It also gets you around problems with people with big hands and little keyboards (or the opposite) who can't actually reach all the default keys.
     
    ElectroMantis and alexandresk like this.
  6. alexandresk

    alexandresk

    Joined:
    Jul 11, 2013
    Posts:
    51
    Thanks for the opinions, was more to see if I could not remember something wrong about it.

    yes old games use it A LOT, specialty before the WASD became standard.

    You guys use the configuration window to change input?
     
  7. Juck1

    Juck1

    Joined:
    Dec 26, 2015
    Posts:
    5
    I use CTRL in the most of the cases...Works fine.
    Discover all Dixie Chicks tour dates in 2016 by visiting http://dixiechickstourdates2016.com/. You won't be disappointed with ther amount of concerts she's gonna give to you!
     
    Last edited: May 29, 2016
  8. ChrisSch

    ChrisSch

    Joined:
    Feb 15, 2013
    Posts:
    763
    I'm pretty sure everyone would prefer if the remapping was built in, and can be changed from within the game. :D
     
  9. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Curse you capital 'Y'!
    :)
     
    ChrisSch and Kiwasi like this.
  10. Taschenschieber

    Taschenschieber

    Joined:
    Jun 8, 2014
    Posts:
    238
    Y, the bane of all users of German keyboards.