This page generates a lua script for toggling and tapping keys in the logitech gaming framework.
If a key you're inputting is not working simply right click on the key box and type in the key code found in Appendix A of the API documentation.