UK PC Keyboard Patch for Mac OS X
UKPCKeyboard is a program to patch Mac OS X to allow a UK layout PC keyboard to be used properly.
Catchy name, eh?
The Apple UK keyboard layout is different to the standard PC keyboard layout - of course. Otherwise life would be too easy.
If you're like me, you would like to use your PC keyboard with your Mac - in my case, I have the keyboard on a USB switch, so I can switch one keyboard between Mac and PC. This works fine - both my PC and Mac can handle the USB keyboard (and mouse) being switched away and back again.
However, on the
Mac, the differences in layout between UK versions of the Mac and PC keyboards
cause problems. In particular, the at sign (@) and double-quote (") characters
are swapped. This is intensely annoying. There are other annoyances such as
the backslash key not working, and the # key inserting a backslash, and so on.
I wrote this kernel extension to fix these problems. At the moment, my patch
does the following:
I wrote this kernel extension to fix these problems. At the moment, my patch does the following:
The grave key (`) is supposed to generate the '' character when pressed, but
I don't know the key code of the key to generate this under Mac OS X, so at the moment it is left
unmodified, and Shift-` will give you the ~ (tilde) character. In any case, I've never met
anyone who knows what the '' character is for, let alone anyone who uses it.
(These instructions are shamelessly stolen from the DoubleCommand web page.)
After rebooting, the keyboard patch will be active. If you open TextEdit or Terminal or anything else you can type into, you should see that the troublesome keys have been fixed.
NB. You need Administrator rights to install startup items, but you do not need
to be the Unix super user "root". The user account which is created during installation of
the operating system has administrator rights.
It should run on Mac OS X 10.1.1 and upwards, but so far I have only tested it on:
Platforms: Mac OS X
Copyright: Tim Browse, 2002 (and Michael Baltaks and Christian Starkjohann)
Updated to fix the remaining problem keys (see table above).
NB. I have only produced a Jaguar version of this version - if you want an updated version for Mac OS X versions earlier than 10.2, email me and I'll see what I can do.
Version 1.0.0d1The original version. Seems to work ok.
AcknowledgementsMany thanks to: