'Deselect all' keystroke or script?

 From:  Phiro
12044.3 
As Pilou said it, Escape key does it.

But if you want a shortcup key, you can use this code :
script:var gd = moi.geometryDatabase; gd.deselectAll();

Shutcut are defined in Options

Have fun