xcape allows you to use a modifier key as another key when pressed and released on its own. The default behaviour is to generate the Escape key when Left Control is pressed and released on its own. WWW: https://github.com/alols/xcape