diff options
author | Sắn <59417802+MaiTheSan@users.noreply.github.com> | 2021-07-22 13:40:24 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 23:40:24 -0700 |
commit | 92cca84651b1ea2ceb3ae4037386f36bb97c8174 (patch) | |
tree | c1e3a743260b60f97cb5f37553ebc0a1545771a2 /keyboards/sawnsprojects/satxri6key/satxri6key.c | |
parent | 8e905a7a5ce4a936ae782541a922ecc6c7cd30bc (diff) |
[Keyboard] Add keypad Satxri6key (#13423)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/sawnsprojects/satxri6key/satxri6key.c')
-rw-r--r-- | keyboards/sawnsprojects/satxri6key/satxri6key.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/sawnsprojects/satxri6key/satxri6key.c b/keyboards/sawnsprojects/satxri6key/satxri6key.c new file mode 100644 index 0000000000..a1b988de8d --- /dev/null +++ b/keyboards/sawnsprojects/satxri6key/satxri6key.c @@ -0,0 +1,31 @@ +/* Copyright 2021 SawnsProjects + * + * 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/>. + */ + +#include "satxri6key.h" +#ifdef RGB_MATRIX_ENABLE +led_config_t g_led_config = { { + //Key Matrix to LED Indexccxxz + {0, 1, 2}, + {5, 4, 3} +}, { + //LED Index to Physical Positon + {0, 0}, {112, 0}, {224, 0}, + {224, 64}, {112, 64}, {0, 64}, +}, { + 1, 1, 1, + 1, 1, 1, +} }; +#endif
\ No newline at end of file |