pause and resume functionality

Author: aprilmintacpinedaCreated Jul 21, 2020Updated Jul 9, 2025

hotkeys.pause() will stop listening to all hotkeys. hotkeys.resume() will start listening to all hotkeys if paused. If this method was called but not paused, then it should do nothing.