How do I swap the spacebar and the left mouse button with xmodmap?

I've only been able to find steps for assigning the mouse buttons to keys, but I want to swap them so that space will trigger a left click and clicking the mouse will send the keycode for space.