summaryrefslogtreecommitdiff
path: root/keyboards/ferris/keymaps/pierrec83
diff options
context:
space:
mode:
authorPierre Chevalier <pierrechevalier83@gmail.com>2021-08-09 19:23:15 +0100
committerGitHub <noreply@github.com>2021-08-09 11:23:15 -0700
commit23becac3a650ac06e202bac8158b058a8b7b48f2 (patch)
tree63e407bcddd20702afda6df21bad1f8558e3079b /keyboards/ferris/keymaps/pierrec83
parent5a59363e2826a49ae6dc97d5296f17dc89fd4c7e (diff)
Support all the 0.2 Ferris variants (#12653)
* Support all the 0.2 Ferris variants For the Compact, the High and the Mini, create a new directory so each keyboard may have the correct USB descriptor and a readme with more specific information about it. For the Bling, also add support for the underglow functionality. Change the "MANUFACTURER" string to "Cuddly Keyboards Ltd.", the name of the company I incorporated to sell keyboards, and change the default descriptor from "Ferris the keeb" to "Ferris 0.2" which is more descriptive. I didn't update the 0.1 variants as I don't intend to sell these kits with "Cuddly Keyboards". The firmware is mostly there to support existing users. Update the "hardware availability" to point to my new website: cuddlykeyboards.com. * Add RGB mode toggle to my keymap and to the default keymap * Improve wording in the readme
Diffstat (limited to 'keyboards/ferris/keymaps/pierrec83')
-rw-r--r--keyboards/ferris/keymaps/pierrec83/config.h8
-rw-r--r--keyboards/ferris/keymaps/pierrec83/keymap.json4
2 files changed, 10 insertions, 2 deletions
diff --git a/keyboards/ferris/keymaps/pierrec83/config.h b/keyboards/ferris/keymaps/pierrec83/config.h
index cf0fb7478e..5d13cc596b 100644
--- a/keyboards/ferris/keymaps/pierrec83/config.h
+++ b/keyboards/ferris/keymaps/pierrec83/config.h
@@ -37,3 +37,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PERMISSIVE_HOLD
#define IGNORE_MOD_TAP_INTERRUPT
#define TAPPING_FORCE_HOLD
+
+// Underglow configuration
+#ifdef RGBLIGHT_ENABLE
+ #define RGBLIGHT_ANIMATIONS
+ #define RGBLIGHT_HUE_STEP 8
+ #define RGBLIGHT_SAT_STEP 8
+ #define RGBLIGHT_VAL_STEP 8
+#endif
diff --git a/keyboards/ferris/keymaps/pierrec83/keymap.json b/keyboards/ferris/keymaps/pierrec83/keymap.json
index 1f2c166b9c..f42259be90 100644
--- a/keyboards/ferris/keymaps/pierrec83/keymap.json
+++ b/keyboards/ferris/keymaps/pierrec83/keymap.json
@@ -50,8 +50,8 @@
"KC_TRNS" , "KC_HOME" , "KC_PGDN" , "KC_END" , "KC_TRNS",
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
- "LGUI(KC_LEFT)" , "KC_TRNS",
- "KC_TRNS" , "LGUI(KC_RGHT)"
+ "RGB_RMOD" , "KC_TRNS",
+ "KC_TRNS" , "RGB_MOD"
],
["KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
"KC_TRNS" , "KC_UNDS" , "KC_PIPE" , "KC_QUOT" , "KC_TRNS",