mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-22 15:42:04 +00:00
Moved key repeat sleep fix to user space.
This commit is contained in:
parent
51f6b4be93
commit
22c76248cd
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user