mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-17 13:12:08 +00:00
Moved key repeat sleep fix to user space.
This commit is contained in:
parent
d8542e80d6
commit
0df120954f
@ -1,23 +0,0 @@
|
|||||||
/*Copyright 2021 Blake Drayson / Draytronics
|
|
||||||
|
|
||||||
Contact info@draytronics.co.uk
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
//Fix to prevent key repeat on wake from sleep when using a KVM / non direct usb connection.
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define USB_POLLING_INTERVAL_MS 8
|
|
||||||
#define USB_SUSPEND_WAKEUP_DELAY 3000
|
|
@ -18,6 +18,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#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 {
|
enum custom_layers {
|
||||||
_BL,
|
_BL,
|
||||||
_FL,
|
_FL,
|
||||||
|
@ -17,6 +17,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
*/
|
*/
|
||||||
#include QMK_KEYBOARD_H
|
#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 {
|
enum custom_layers {
|
||||||
_BL,
|
_BL,
|
||||||
_FL,
|
_FL,
|
||||||
|
@ -18,6 +18,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#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 {
|
enum custom_layers {
|
||||||
_BL,
|
_BL,
|
||||||
_FL,
|
_FL,
|
||||||
|
Loading…
Reference in New Issue
Block a user