qmk_firmware/keyboards/setta21/rev1/rev1.c

22 lines
730 B
C
Raw Normal View History

[Keyboard] Add keyboard Setta21 (#7320) * [Keyboard] Add keyboard Setta21 Add Setta21 keyboard. A 21 keys Tenkey. Salicylic-acid3 * Update keyboards/setta21/keymaps/default/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/default/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/salicylic/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/salicylic/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/salicylic/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/default/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/default/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/default/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/info.json Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/rev1/rev1.h Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/rules.mk Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/salicylic/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/salicylic/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/setta21/keymaps/salicylic/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Keymap Update Removed the keymap matrix_init_user. Changed the declaration of DRIVER_LED_TOTAL. * Update keyboards/setta21/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/rev1/rev1.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/rev1/rev1.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/setta21/rev1/rev1.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update Keymap Removed OLED sleep timer in keymap. * Update keyboards/setta21/rev1/rev1.h Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
2019-11-13 08:01:14 +01:00
#include "rev1.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
// Key Matrix to LED Index
{ 14,13, 7, 6, 0,20 },
{ 12, 8, 5, 1,19 },
{ 15,11, 9, 4, 2,18 },
{ 16, 10, 3,17 }
}, {
// LED Index to Physical Position
{ 0, 179 }, { 21, 179 }, { 43, 179 }, { 64, 179 }, { 43, 134 }, { 21, 134 }, { 0, 134 }, { 0, 90 }, { 21, 90 }, { 43, 90 },
{ 64, 112 }, { 43, 45 }, { 21, 45 }, { 0, 45 }, { 11, 0 }, { 43, 0 }, { 64, 23 }, { 64, 224 }, { 43, 224 }, { 21, 224 },
{ 0, 224 }
}, {
// LED Index to Flag
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4
} };
#endif