Originally Posted by meklort
Looks like I was going about everything wrong... (and I did fix that #~~~~ bug, but it wont help). It also looks like you cannot use the keylayout file to change where the `/~ button is. (As you stated previously)
What I can do is simply swap the two keys you are having problems with (that way you press the other one to get the ~ to work) however you will then have to remap those two keys to the correct one.
Hopefully this works and my logic isn't flawed.
I've attached two new builds:
One build without any key swaps (I've also enabled sse3 / ssse3 optimizations and it is only a 32bit intel only file (no ppc or 64bit code anymore)
The other build (also with optimizations enabled) with the #~ and `Â¬ keys swapped (or on the us layout the \| and `~).
You should be able to remap the remapped (swapped) one so that it does what you want.
If it works I'll add a plist option so that the kext can be configured either way (might be easier for dellEFI)
OK, I feel like a complete idiot. I cannot believe what I have done and I am so so sorry for having done it :shock: :roll:
Your two kexts did exactly what was expected. The first one left the keys in the same position as your previous normal one. The second one swapped the keys around so the #~ key produced `Â¬ and `Â¬ produced #~.
Upon re-mapping the keys so that `Â¬ produced `Â¬ and #~ produced #~ the key combination needed to move around windows within an application once again moved to be on the `Â¬ key. Puzzled, I accidentally discovered that cmd and ` would move between windows. At this point I popped online to check what the key combination was supposed to be, and also got my friend who is using her Mac at the moment to tell me what two symbols shared the key showing ~. What did I discover...
ops: the ~ key shares the same key as ` on a real Mac and the actual key combination for moving between windows within an application is cmd-` NOT cmd-~. How embarrassed do I feel right now!!
So all the work I've had you doing for the last few days has pretty much been for nought. I don't really know what to say other than thank you for putting so much in and sorry for wasting your time chasing a problem that wasn't actually there.
Is there a benefit to using the optimised but not swapped kext over the one you produced about 10 or so posts ago?
Once again, thank you for your assistance,