Moved key repeat sleep fix to user space.

This commit is contained in:
Blake Drayson 2024-06-15 10:44:09 +01:00
parent 51f6b4be93
commit 22c76248cd
3 changed files with 18 additions and 0 deletions

View File

@ -18,6 +18,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include QMK_KEYBOARD_H
//Fix to prevent key repeat on wake from sleep when using a KVM / non direct usb connection.
#undef USB_POLLING_INTERVAL_MS
#define USB_POLLING_INTERVAL_MS 8
#undef USB_SUSPEND_WAKEUP_DELAY
#define USB_SUSPEND_WAKEUP_DELAY 3000
enum custom_layers {
_BL,
_FL,

View File

@ -17,6 +17,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
//Fix to prevent key repeat on wake from sleep when using a KVM / non direct usb connection.
#undef USB_POLLING_INTERVAL_MS
#define USB_POLLING_INTERVAL_MS 8
#undef USB_SUSPEND_WAKEUP_DELAY
#define USB_SUSPEND_WAKEUP_DELAY 3000
enum custom_layers {
_BL,
_FL,

View File

@ -18,6 +18,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include QMK_KEYBOARD_H
//Fix to prevent key repeat on wake from sleep when using a KVM / non direct usb connection.
#undef USB_POLLING_INTERVAL_MS
#define USB_POLLING_INTERVAL_MS 8
#undef USB_SUSPEND_WAKEUP_DELAY
#define USB_SUSPEND_WAKEUP_DELAY 3000
enum custom_layers {
_BL,
_FL,