AS TC said you will need to use the modes to do this,use mode 3 to program the buttons to different functions the map a button to switch the modes,you can map a KB key to switch modes.
Something to consider is a gamepad type of device,any usb input device can be mapped to give you extra functions,you can even use a second joystick. When the logitech goes south,and it will,dont throw it out.Use it with another stick and take advantage of the extra buttons! I use 2 JS's and 2 throttles and only need the KB to type.
hope this helps.