mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +00:00
Move USB fix from keymap.c to keymap level config.h
This commit is contained in:
parent
0df120954f
commit
0a7dd57ab3
24
keyboards/draytronics/elise_v2/keymaps/blake_iso/config.h
Normal file
24
keyboards/draytronics/elise_v2/keymaps/blake_iso/config.h
Normal file
@ -0,0 +1,24 @@
|
||||
/*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/>.
|
||||
*/
|
||||
|
||||
//KVM Specific tweaks to prevent key repeat on wake from sleep.
|
||||
//Please comment out and recompile if you do not wish to use them.
|
||||
#pragma once
|
||||
|
||||
#define USB_POLLING_INTERVAL_MS 8
|
||||
#define USB_SUSPEND_WAKEUP_DELAY 3000
|
@ -18,13 +18,6 @@ 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,
|
||||
|
24
keyboards/draytronics/elise_v2/keymaps/default/config.h
Normal file
24
keyboards/draytronics/elise_v2/keymaps/default/config.h
Normal file
@ -0,0 +1,24 @@
|
||||
/*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/>.
|
||||
*/
|
||||
|
||||
//KVM Specific tweaks to prevent key repeat on wake from sleep.
|
||||
//Please comment out and recompile if you do not wish to use them.
|
||||
#pragma once
|
||||
|
||||
#define USB_POLLING_INTERVAL_MS 8
|
||||
#define USB_SUSPEND_WAKEUP_DELAY 3000
|
@ -17,12 +17,6 @@ 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,
|
||||
|
24
keyboards/draytronics/elise_v2/keymaps/default_iso/config.h
Normal file
24
keyboards/draytronics/elise_v2/keymaps/default_iso/config.h
Normal file
@ -0,0 +1,24 @@
|
||||
/*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/>.
|
||||
*/
|
||||
|
||||
//KVM Specific tweaks to prevent key repeat on wake from sleep.
|
||||
//Please comment out and recompile if you do not wish to use them.
|
||||
#pragma once
|
||||
|
||||
#define USB_POLLING_INTERVAL_MS 8
|
||||
#define USB_SUSPEND_WAKEUP_DELAY 3000
|
@ -18,12 +18,6 @@ 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