diff options
author | Salicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com> | 2019-11-13 16:01:14 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-11-12 23:01:14 -0800 |
commit | 12ea2e3649459a008e4ebb8efa8ba82005ffc218 (patch) | |
tree | 940c51067f2397ebca83da927a3505df142b74db /keyboards/setta21/rev1/rev1.c | |
parent | a4c2a9b083d82d9e7d7fe3a68c0d51ae2280495f (diff) |
[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>
Diffstat (limited to 'keyboards/setta21/rev1/rev1.c')
-rw-r--r-- | keyboards/setta21/rev1/rev1.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/setta21/rev1/rev1.c b/keyboards/setta21/rev1/rev1.c new file mode 100644 index 0000000000..3c0823870b --- /dev/null +++ b/keyboards/setta21/rev1/rev1.c @@ -0,0 +1,25 @@ +#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 + +void matrix_init_kb(void) { + matrix_init_user(); +}; |