aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/dilly/keymaps/pletcher/config.h
diff options
context:
space:
mode:
authorCharles Pletcher <pletcher@users.noreply.github.com>2018-05-02 21:35:16 -0400
committerDrashna Jaelre <drashna@live.com>2018-05-02 18:35:16 -0700
commit9b9178919388fc8e10167794ae719be23901b2fc (patch)
tree9aaa1ffcdb11187109fb2c5628c3acaea0e18f11 /keyboards/dilly/keymaps/pletcher/config.h
parentd1dfefc8971be50f85da4084a78de00a163c6482 (diff)
downloadfirmware-9b9178919388fc8e10167794ae719be23901b2fc.tar.gz
firmware-9b9178919388fc8e10167794ae719be23901b2fc.tar.bz2
firmware-9b9178919388fc8e10167794ae719be23901b2fc.zip
Add dilly/pletcher layout (#2880)
* Add pletcher keymap to dilly/keymaps For the moment, this keymap just removes unneeded RGB keycodes, since an iPad will cut the keyboard off if LEDs are turned on. * Drop support for A_RSFT, add media and autoshift * Lower USB_MAX_POWER_CONSUMPTION for dilly on iPad * Document USB_MAX_POWER_CONSUMPTION This config option is useful for limiting the requested power by, e.g., an iOS device. While the default value is 500, a much lower value--say, 50--can sufficiently power a small keyboard without LEDs.
Diffstat (limited to 'keyboards/dilly/keymaps/pletcher/config.h')
-rw-r--r--keyboards/dilly/keymaps/pletcher/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/dilly/keymaps/pletcher/config.h b/keyboards/dilly/keymaps/pletcher/config.h
new file mode 100644
index 000000000..805bef418
--- /dev/null
+++ b/keyboards/dilly/keymaps/pletcher/config.h
@@ -0,0 +1,11 @@
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+#define AUTO_SHIFT_TIMEOUT 150
+#define NO_AUTO_SHIFT_SPECIAL
+#define NO_AUTO_SHIFT_NUMERIC
+#define USB_MAX_POWER_CONSUMPTION 50
+
+#endif