I just received my repackaged MacBook Pro (Retina, 13 inches, end 2012) and I have a problem with my keyboard. The keyboard layout is different from the one I had before, and I can't find the right one in the input types of the system!

So what's problematic: I have the @# key above the Tab key, but when I press it, I get <>. Then, I have the <> key below the delete key (which is weird I've never seen that layout before) and when I press it, I get £.

Otherwise the keys seem to work fine.

I have an AZERTY keyboard and I'm running macOS High Sierra 10.13.6 (17G65). The language associated with it isn't really important as long as when I press a key, it actually gives me the character printed on it!

So my question is: Is there anyway to fix that? Somewhere to download another keyboard layout? Does apple have some hidden layout somewhere? Do I have to write my own layout and if so how?

I've looked at all the languages available in the system right now and searched for hours on Google but I didn't find anything.

EDIT I usually type in french. Here's a photo of my keyboard :

Keyboard photo

  • Please post a photo of this thing. Also what is the language you type in normally? Aug 10, 2018 at 23:27
  • @TomGewecke I added a photo to my post.
    – Kazuya
    Aug 14, 2018 at 16:14
  • Thanks! Amazing. It is indeed an ANSI keyboard and not ISO. Apple has never made an azerty ANSI keyboard as far as I know, and no ANSI software layout has @# on the same top level key. Aug 14, 2018 at 19:12
  • Okay... So all I can do is make my own keyboard ?
    – Kazuya
    Aug 15, 2018 at 9:29
  • Yes, I would use Ukelele and start with the French layout in ANSI type. I think only a few keys need to be modified. Aug 15, 2018 at 9:36

2 Answers 2


Only Belgian and French Apple layouts are AZERTY. If you have either the French or Belgian input source active, they will give you @# above Tab. But <> will be next to the left shift before W. Your picture indicates this latter key is missing, so it is not a proper French/Belgian keyboard, but some kind of mishmash, with keys from an ISO keyboard grafted onto an ANSI keyboard.

The only keyboard with <> near Delete is Turkish, which is different everywhere else, and also has the extra key,

To get output to match your keys you will need a custom layout made with Ukelele or Karabiner.

Here is one I made with Ukelele which may work. You put the French Mod.keylayout file in Library/Keyboard Layouts and then go to system preferences/keyboard/input sources and use the plus and add buttons to activate (it will be in the Others category).

  • @Kazuya, Tom: There was a similar query with an unidentified keyboard layout a few days ago on Ask Different. Go through the comments in the answer.
    – Nimesh Neema
    Aug 10, 2018 at 19:48
  • @NimeshNeema I didn't find a turkish keyboard with my layout.
    – Kazuya
    Aug 14, 2018 at 16:15

The most likely explanation is that the offending keys were manually swapped. You can manually pluck them out and re-swap them in place.

Refer to this Apple support document, How to identify keyboard localizations and identify the correct keyboard.

Is there anyway to fix that?

Yes, you'll need to re-swap the keys to their correct location.

Somewhere to download another keyboard layout?


Does apple have some hidden layout somewhere?


Do I have to write my own layout and if so how?


There are various guides on Web on how to pluck out and swap keys on a 2012 retina MacBook Pro.

  • 1
    If his keyboard is ANSI and not ISO swapping keys may not be possible and writing his own layout with Ukelele or Karabiner will be the only fix. Aug 10, 2018 at 20:06
  • I doubt the keys have been swapped because what they type isn't what's displayed on the other key.
    – Kazuya
    Aug 14, 2018 at 16:19
  • @Kazuya Right. The keys with <> and @# on them would have to have come from another ISO type keyboard. No Apple input source for ANSI will fit this. So you have to make one for yourself. I'm really curious how this keyboard could have gotten put together.... Aug 14, 2018 at 19:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .