summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps
diff options
context:
space:
mode:
authorDaniel Shields <dshields@bats.com>2017-05-25 11:08:17 +0100
committerDaniel Shields <dshields@bats.com>2017-06-01 09:18:33 +0100
commitdb0ac3bcb3495148475da8a59bc27161d986b1f2 (patch)
tree62d06f185ad76e1d74c450e2ed5500cb6d3a9c35 /keyboards/planck/keymaps
parent57cfb5f1ae952a5be30319606bf1a7c9e65b0bea (diff)
downloadqmk_firmware-db0ac3bcb3495148475da8a59bc27161d986b1f2.tar.gz
qmk_firmware-db0ac3bcb3495148475da8a59bc27161d986b1f2.zip
Tweak reported power consumption to work with iOS
Diffstat (limited to 'keyboards/planck/keymaps')
-rw-r--r--keyboards/planck/keymaps/dshields/Makefile1
-rw-r--r--keyboards/planck/keymaps/dshields/config.h17
2 files changed, 10 insertions, 8 deletions
diff --git a/keyboards/planck/keymaps/dshields/Makefile b/keyboards/planck/keymaps/dshields/Makefile
index 9e18a3542e..57144283e9 100644
--- a/keyboards/planck/keymaps/dshields/Makefile
+++ b/keyboards/planck/keymaps/dshields/Makefile
@@ -4,6 +4,7 @@ endif
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
COMMAND_ENABLE = yes # Commands for debug and configuration
+CONSOLE_ENABLE = yes # Console for debug(+400)
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
diff --git a/keyboards/planck/keymaps/dshields/config.h b/keyboards/planck/keymaps/dshields/config.h
index 4d5be0a268..8fa078cd92 100644
--- a/keyboards/planck/keymaps/dshields/config.h
+++ b/keyboards/planck/keymaps/dshields/config.h
@@ -6,14 +6,15 @@
#define _______ KC_TRNS
#define XXXXXXX KC_NO
-#define ONESHOT_TAP_TOGGLE 2
-#define ONESHOT_TIMEOUT 500
-
-#define MOUSEKEY_INTERVAL 20
-#define MOUSEKEY_DELAY 0
-#define MOUSEKEY_TIME_TO_MAX 60
-#define MOUSEKEY_MAX_SPEED 7
-#define MOUSEKEY_WHEEL_DELAY 0
+#define USB_MAX_POWER_CONSUMPTION 100
+#define ONESHOT_TAP_TOGGLE 2
+#define ONESHOT_TIMEOUT 500
+
+#define MOUSEKEY_INTERVAL 20
+#define MOUSEKEY_DELAY 0
+#define MOUSEKEY_TIME_TO_MAX 40
+#define MOUSEKEY_MAX_SPEED 7
+#define MOUSEKEY_WHEEL_DELAY 0
#define DM_PLAY DYN_MACRO_PLAY1
#define DM_STRT DYN_REC_START1