What's the "deselect all" hotkey in Blender 2.8x?
The old behaviour is still available in Blender 2.82. Go to the Keymap section of Preferences, and in the first panel (titled ‘Preferences’) tick the ‘Select All Toggles’ option.