I recently bought a Logitech K520 keyboard & mouse. It's a nice keyboard, and, as usual these days, it has laptop-style Fn keys mapped as alternatives onto the F1-F12 keys. I don't really need these, but since I'm giving up my right-hand Super/Windows key for an otherwise useless Fn key, it'd be nice to get some use out of them.
The problem is: some of the keys, instead of sending special key codes, send key combinations. For example, Fn+F5 sends Alt+Tab, and Fn+F6 sends Win+D.
I don't see any way to distinguish between actual Alt+Tab and Fn-key generated Alt+Tab at the operating system level - is there some way to program the keyboard to send alternative key codes? It it involves Windows-only software, would the change be permanent, i.e. could I reconfigure the keyboard from a Windows virtual machine and then reap the benefits on Linux?