You can use DevTools to test keycodes. I believe F9 is DropWeapon, which is 56.
You can modify the key code in config.json.
config.json