AFAIK Logitech haven't released universal binaries of their drivers yet, so the customizable keys aren't programmable if you are talking about an Intel iMac.
Its only a matter of time though.
Do a search in the peripherals forum, there are loads of topics there that cover your question as well.