I always map the most common commands (e.g. reloading, drop weapon, grenade) to the mouse buttons, and as many remaining commands to within a 2-key radius of the S key.
It gets troublesome for complicated games where there are too many keys to map ergonomically.