Skip to content

Commit

Permalink
Revert "[Keyboard] Adelais En Ciel rev2 (qmk#9834)"
Browse files Browse the repository at this point in the history
This reverts commit 3b825d9.
  • Loading branch information
fdawans authored Aug 11, 2020
1 parent 6dfb54d commit ce3c664
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 307 deletions.
25 changes: 25 additions & 0 deletions keyboards/mechlovin/adelais/adelais.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,31 @@

#include "adelais.h"

#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
//Key Matrix to LED Index
{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16},
{18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 0},
{33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, NO_LED, 45, 17},
{46, NO_LED, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 58, 60, 32},
{61, NO_LED, 62, NO_LED, 63, NO_LED, 64, NO_LED, 65, NO_LED, 66, NO_LED, NO_LED, 57, 67}
}, {
//LED Index to Physical Positon
{0,0}, { 17, 0}, { 34, 0 }, { 51, 0 }, { 69, 0}, { 86, 0}, {100, 0}, {103, 0}, { 120, 0}, { 138, 0}, { 155, 0}, { 172, 0}, { 189, 0}, {207, 0}, {215, 0}, {223, 0}, {224, 0},
{0,16}, { 17, 16}, { 34,16 }, { 51,16 }, { 69,16}, { 86,16}, {103,16}, { 120,16}, { 138,16}, { 155,16}, { 172,16}, { 189,16}, {207, 16}, {215, 16}, {224,16},
{0,32}, { 17, 32}, { 34,32 }, { 51,32 }, { 69,32}, { 86,32}, {103,32}, { 120,32}, { 138,32}, { 155,32}, { 172,32}, { 189,32}, {207, 32}, {224,32},
{ 17, 48}, { 34,48 }, { 51,48 }, { 69,48}, { 86,48}, {103,48}, { 120,48}, { 138,48}, { 155,48}, { 172,48}, { 189,48}, {207, 48}, {215, 48}, {224,48}, {224,48},
{ 17, 64}, { 51,64 }, { 86,64}, { 103,64}, { 138,64}, { 172,64}, {224, 64},
{100,0}, { 69,0}, { 24, 0}, { 0,3}, { 0,16}, { 0,32}, { 0,51}, { 15,64 }, { 34,64}, { 69,64}, { 103,64}, {110,64}, { 120,64}, { 155,64}, { 189,64}, { 192,64}, { 224,58}, { 224,32}, { 224,16}, { 224,0}, { 207,0}, { 172,0}, { 138,0},
}, {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
} };
#endif

void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
Expand Down
15 changes: 14 additions & 1 deletion keyboards/mechlovin/adelais/rgb_led/config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
#pragma once

#define RGB_DI_PIN A7
#define PRODUCT_ID 0xAEC1
#define PRODUCT Adelais En Ciel
#define DESCRIPTION Team.Mechlovin Adelais En Ciel

#define RGB_DI_PIN A7
#define DRIVER_LED_TOTAL 91
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
#define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
#define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 220 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set
14 changes: 0 additions & 14 deletions keyboards/mechlovin/adelais/rgb_led/rev1/config.h

This file was deleted.

42 changes: 0 additions & 42 deletions keyboards/mechlovin/adelais/rgb_led/rev1/rev1.c

This file was deleted.

19 changes: 0 additions & 19 deletions keyboards/mechlovin/adelais/rgb_led/rev1/rev1.h

This file was deleted.

1 change: 0 additions & 1 deletion keyboards/mechlovin/adelais/rgb_led/rev1/rules.mk

This file was deleted.

35 changes: 0 additions & 35 deletions keyboards/mechlovin/adelais/rgb_led/rev2/config.h

This file was deleted.

171 changes: 0 additions & 171 deletions keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c

This file was deleted.

Loading

0 comments on commit ce3c664

Please sign in to comment.