Fix for key repeat on wake from sleep, RBG sleep tweak, readme update

This commit is contained in:
Blake Drayson 2024-06-14 21:53:58 +01:00
parent 248a09d545
commit f4c3400bf0
3 changed files with 23 additions and 5 deletions

View File

@ -0,0 +1,20 @@
/*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

View File

@ -18,6 +18,7 @@
"rgblight": true
},
"qmk": {
"tap_keycode_delay": 10,
"locking": {
"enabled": true,
"resync": true
@ -29,8 +30,6 @@
},
"diode_direction": "COL2ROW",
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 7,
"sleep": true,
"animations": {

View File

@ -24,8 +24,7 @@ Flashing example for this keyboard:
make draytronics/elise:default:flash
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with [The QMK Tutorial](https://docs.qmk.fm/#/newbs).
![elise-pcb-top](https://www.draytronics.co.uk/wp-content/uploads/2021/04/Draytronics-Elise-PCB-V1-top.png)