From f4c3400bf0af2ff021d3369ec7ee7ae3d5786d72 Mon Sep 17 00:00:00 2001 From: Blake Drayson Date: Fri, 14 Jun 2024 21:53:58 +0100 Subject: [PATCH] Fix for key repeat on wake from sleep, RBG sleep tweak, readme update --- keyboards/draytronics/elise/config.h | 20 ++++++++++++++++++++ keyboards/draytronics/elise/keyboard.json | 3 +-- keyboards/draytronics/elise/readme.md | 5 ++--- 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 keyboards/draytronics/elise/config.h diff --git a/keyboards/draytronics/elise/config.h b/keyboards/draytronics/elise/config.h new file mode 100644 index 00000000000..9553b3816da --- /dev/null +++ b/keyboards/draytronics/elise/config.h @@ -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 . +*/ + +//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 diff --git a/keyboards/draytronics/elise/keyboard.json b/keyboards/draytronics/elise/keyboard.json index 782c61d7643..046a9854859 100644 --- a/keyboards/draytronics/elise/keyboard.json +++ b/keyboards/draytronics/elise/keyboard.json @@ -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": { diff --git a/keyboards/draytronics/elise/readme.md b/keyboards/draytronics/elise/readme.md index 278bc106564..23e05d6579d 100644 --- a/keyboards/draytronics/elise/readme.md +++ b/keyboards/draytronics/elise/readme.md @@ -15,7 +15,7 @@ Entering DFU mode (to allow flashing): - Pressing the reset button on the back of the board when it is plugged in will enter DFU. - Holding down the ESC key whilst plugging in the keyboard will enter DFU. - If you have one of the provided keymaps flashed, then pressing FN-Tab will enter DFU. - + Make example for this keyboard (after setting up your build environment): make draytronics/elise:default @@ -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)