Backlight and RGB now working for JJ50 (#2929)

* Added support for JJ50 from KPRepublic, no rgb or backlight control yet. Added as a layout of ymd96 at the moment (same microprocessor). Basic keymap with three layers to get started.

* Added support for JJ50

* Tidied up jj50 code, backlight and RGB is now working.

* Renaming "KEYMAP" to "LAYOUT" to adhere to the new QMK standards.
This commit is contained in:
WarmCat
2018-05-10 16:28:58 +01:00
committed by Drashna Jaelre
parent c5264d6d89
commit 933842067d
13 changed files with 525 additions and 46 deletions
+4 -4
View File
@@ -35,11 +35,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COLS 15
#define DIODE_DIRECTION ROW2COL
#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3
//#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 12
//#define RGB_DI_PIN C0
#define RGBLED_NUM 5
#define RGB_DI_PIN E2
#define RGBLED_NUM 12
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_HUE_STEP 12
#define RGBLIGHT_SAT_STEP 15