Skip to content

Commit

Permalink
[Keymap] Add enigma keymap for contra keyboard (qmk#17829)
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherswenson authored Jul 30, 2022
1 parent d2aa8e6 commit d1096ad
Show file tree
Hide file tree
Showing 5 changed files with 689 additions and 8 deletions.
8 changes: 0 additions & 8 deletions keyboards/contra/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,3 @@

/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 0
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#endif
27 changes: 27 additions & 0 deletions keyboards/contra/keymaps/enigma/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Copyright 2022 Christopher Swenson
*
* 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/>.
*/

#pragma once

#define RGB_DI_PIN F7
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_SNAKE
#define RGBLED_NUM 12
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#endif
Loading

0 comments on commit d1096ad

Please sign in to comment.