Compared to they keys on your macbook, the ` and § keys on the Logitech K750 solar (mac) should be swapped. Fortunately there is a little tool that can do this: KeyRemap4MacBook .. The problem is that, out of the box, this would remap this key for all your keyboard, including the keyboard on your macbook itself.

So I said on the google groups that it would be nice if this mapping could be bound to a specific device, and then started to read more information. When will I finally learn to do this the other way around? Because this all seemed possible perfectly by defining some XML in private.xml. This is explained perfectly on this page.

Although your product ID is probably different than mine, I thought I’d share the XML that I came up with, and that seems to work for me.

<?xml version="1.0"?>
<root>
  <devicevendordef>
    <vendorname>LOGITECH</vendorname>
    <vendorid>0x046d</vendorid>
  </devicevendordef>
 
  <deviceproductdef>
    <productname>LOGITECH_K750_KEYBOARD</productname>
    <productid>0x4012</productid>
  </deviceproductdef>
 
  <item>
    <name>Swap the Tilda(~) key with Section (§) (logitech k750)</name>
    <identifier>private.logitech_k750_tilda_section</identifier>
    <device_only>DeviceVendor::LOGITECH, DeviceProduct::LOGITECH_K750_KEYBOARD</device_only>
    <autogen>__KeyToKey__ KeyCode::BACKQUOTE,  KeyCode::UK_SECTION</autogen>
    <autogen>__KeyToKey__ KeyCode::UK_SECTION, KeyCode::BACKQUOTE</autogen>
  </item>
</root>