Many thanks Xnav! This is very interesting information. The first link enables key remapping in Windows. The second link enables remapping of key actions in OS X (e.g. CTRL-f to move word forward) but I’m not sure it can remap the keys themselves (e.g. ALT-7 to backslash).
My old laptop is a ThinkPad – some keys on its keyboard have 3 or 4 symbols on top - up to 2 for normal shifted/unshifted keystrokes and up to 2 for right Alt (AltGr in PC parlance) shifted/unshifted. For example, on key + there are symbols: ?, +, and backslash. So Boot Camp actually does it right – I get backslash using right Alt and + key even on MBP.
The difference is that MBP keys don’t have these extra (Alt) symbols printed on their tops. Therefore it feels unnatural to use right Alt and + to get backslash. OS X mapping feels much better – you get / (forward slash) by using shifted 7 (which has / on its top too) and then you get backslash by using right Alt and 7, and vertical bar by right Alt and shift 7. The same goes for parentheses, normal () with shift, [] with right Alt, and {} with right Alt and shift.
All this is because we have 3 letters more in Swedish than English – an A with a ring above it (Saint A), and A and O with 2 dots above them, of which we are very proud. And then Europeans have also the Euro currency symbol but they still use dollars sometimes.
I think I’ll try to use your first link to remap XP to OS X way. The second link comes handy when customizing some actions in OS X.