20

I need to use the right Ctrl key in a certain application, but my keyboard doesn't have one.

The left Ctrl key has an entirely different function in this case. How can I emulate the right Ctrl key, for example by pressing the right Alt button?

I tried the “Right Option acts as Control” feature of DoubleCommand, but sadly, that causes the right Alt key to emulate the left Ctrl key instead of the right Ctrl. Aaargh!

Any ideas?

fixer1234
  • 28,064

7 Answers7

27

I found the solution: Karabiner has an Option_R to Control_R feature

JW0914
  • 9,096
1

Control + Option worked for me. Here's what you can do.

  • Go to Keyboard Preferences on your mac
  • Check the box that says :

    Use F1, F2, etc. keys as standard function keys
    

OR

  • Else You have to Press Fn + Control + Option every time.
C0deDaedalus
  • 2,730
0

This question is quite old, but I have the same problem on a new macbook pro. I found Mathias Bynens' answer and installed Karabiner, but I would like not to remap optionn to control because I need the right option key to type all special characters in the left-hand side of the keyboard (which I use quite a lot).

My solution was to remap the left arrow key to control using the "Simple modifications" pane on Karabiner (left_arrow to right_control), and then mapped control + right_arrow to left_arrow using the complex modification below.

So now right control is where my fingers expect it to be, next to option and command, and to use right arrow I press and hold the actual right arrow key (i.e. right control) and then use the left arrow key.

Here is the complex modification (to use it, just copy it in a new file in the configuration directory of Karabiner under assets/complex_modifications).

{
  "title": "Ctrl + right arrow to left arrow",
  "rules": [
    {
      "description": "Ctrl + right arrow to left arrow",
      "manipulators": [
        {
          "from": {
            "key_code": "right_arrow",
            "modifiers": {
              "mandatory": [
                "right_control"
              ],
              "optional": [
                "caps_lock",
                "option",
                "command",
                "shift",
                "fn"
              ]
            }
          },
          "to": [
            {
              "key_code": "left_arrow"
            }
          ],
          "type": "basic"
        }
      ]
    }
  ]
}
0

You have got other choices as well:

  1. Use an external usb keyboard, that has got the right ctrl key
  2. Change the right ctrl key to the left ctrl key, in your application.

For eg. VirtualBox comes with right ctrl key mapped as the host key, by default. But you can right click the key icon at the bottom right window corner and choose keyboard settings and then change the host key to left ctrl key or just ctrl key.

Hope this helps.

0

This little app http://www.manytricks.com/keycodes/ claims to show the keycodes (I haven't got a mac to try it out on) your looking for some way of generating keycode 109 I think. You could see if any combination produces that.

Col
  • 7,043
-2

This worked for me:

fn + Right cmd + (left arrow)

VL-80
  • 4,693
-2

Fn + Enter (Return) works on my Macbook pro for right-ctrl

DavidPostill
  • 162,382
Chuck
  • 1