diff options
| author | swanmatch <swan_match@yahoo.co.jp> | 2020-02-21 14:59:36 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-21 16:59:36 +1100 |
| commit | 81423cc8178e760a641655ec8d82ebf78c41c9ef (patch) | |
| tree | 6cd3aa1bfe176f1dfdb01dbedd4eaa536976876a /keyboards/silverbullet44/silverbullet44.c | |
| parent | 7707724dc4864cb4ede738ee9e2c3568df99ced2 (diff) | |
| download | qmk_firmware-81423cc8178e760a641655ec8d82ebf78c41c9ef.tar.gz qmk_firmware-81423cc8178e760a641655ec8d82ebf78c41c9ef.zip | |
[New keyboard]silverbullet44 (#7950)
* make silverbullet44
* comment edit
* venderID
* Fix parentheses in macros, and in general clean up quantum.h (#5021)
* Fix up GPIO macros
* Fix up send string macros
`string` arguments must not be parenthesized
* Fix up miscellaneous macros
* Make indentation uniform (4 spaces)
* Make #ifdef vs #if defined usage consistent
* Reorder standard includes
* Revert indentation changes as per review comments
* Revert #if defined(__AVR__) → #ifdef __AVR__ change
* Change 2 space indent to 4 spaces on a couple of lines
* Replace include guard with #pragma once
* alt+tab
* copy from master:silverbullet44
* adjust for pull request
* clang-format
* create info.json
* Delete new_project.sh
* Update keyboards/silverbullet44/keymaps/default/config.h
Co-Authored-By: Max Rumpf <max.rumpf1998@gmail.com>
* Update keyboards/silverbullet44/silverbullet44.c
Co-Authored-By: Max Rumpf <max.rumpf1998@gmail.com>
* Update keyboards/silverbullet44/silverbullet44.h
Co-Authored-By: Max Rumpf <max.rumpf1998@gmail.com>
* Apply suggestions from Maxr1998
* format default keymap
* Apply suggestions from Maxr1998 (#2)
* Apply suggestions from fauxpark
* fix readme.md
* Apply suggestion from Maxr1998. (custom_keycode to MO(_ADJUST))
* I became a tricky! Hahaha!!
* Add original keymap made by FKML
* deleated at config.h
* Changed Copyright
* Delete
// Defines the keycodes used by our macros in process_record_user
//enum custom_keycodes {
// QMKBEST = SAFE_RANGE,
// QMKURL
//};
* Delete bool alt_pressed = false;
* Delete ADJUST
* Delete /
* Delete void matrix_scan_user(void) {
}
void led_set_user(uint8_t usb_led) {
}
* Change Copyright's year.
* Delete adjust
* Delete adjust
* Delete adjust
* 列挙型に変更
* Enclose keymap with ```.
* Delete
#define _______ KC_TRNS
#define XXXXXXX KC_NO
* Fix indentation.
* Delete some rows.
* Aligned columns of ''readme.md''.
* I got god's keymap...hahaha:)
* Update keyboards/silverbullet44/readme.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/silverbullet44/rules.mk
Co-Authored-By: fauxpark <fauxpark@gmail.com>
Co-authored-by: Konstantin Đorđević <vomindoraan@gmail.com>
Co-authored-by: Max Rumpf <max.rumpf1998@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/silverbullet44/silverbullet44.c')
| -rw-r--r-- | keyboards/silverbullet44/silverbullet44.c | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/silverbullet44/silverbullet44.c b/keyboards/silverbullet44/silverbullet44.c new file mode 100644 index 000000000..7ae7a1269 --- /dev/null +++ b/keyboards/silverbullet44/silverbullet44.c | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* Copyright 2019 SwanMatch | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "silverbullet44.h" | ||
| 17 | |||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | led_config_t g_led_config = { { | ||
| 20 | // Key Matrix to LED Index | ||
| 21 | { 18, 7, 6, 0, 1, 2}, | ||
| 22 | { 19, 17, 8, 5, 4, 3}, | ||
| 23 | { 21, 20, 16, 9, 10, 11}, | ||
| 24 | { NO_LED, NO_LED, 15, 14, 13, 12}, | ||
| 25 | }, { | ||
| 26 | { 139, 16 }, { 174, 13 }, { 208, 20 }, { 208, 38 }, { 174, 48 }, { 139, 52 }, { 129, 63 }, | ||
| 27 | { 139, 39 }, { 139, 21 }, { 139, 4 }, { 156, 2 }, { 156, 19 }, { 156, 37 }, { 144, 58 }, | ||
| 28 | { 164, 55 }, { 174, 35 }, { 174, 13 }, { 174, 0 }, { 191, 3 }, { 191, 20 }, { 191, 37 }, | ||
| 29 | { 208, 42 }, { 208, 24 }, { 208, 7 }, { 224, 7 }, { 224, 24 }, { 224, 41 }, { 85, 16 }, | ||
| 30 | { 50, 13 }, { 16, 20 }, { 16, 38 }, { 50, 48 }, { 85, 52 }, { 95, 63 }, { 85, 39 }, | ||
| 31 | { 85, 21 }, { 85, 4 }, { 68, 2 }, { 68, 19 }, { 68, 37 }, { 80, 58 }, { 60, 55 }, | ||
| 32 | { 50, 35 }, { 50, 13 }, { 50, 0 }, { 33, 3 }, { 33, 20 }, { 33, 37 }, { 16, 42 }, | ||
| 33 | { 16, 24 }, { 16, 7 }, { 0, 7 } | ||
| 34 | }, { | ||
| 35 | 2, 2, 2, 2, 2, 2, 1, | ||
| 36 | 4, 4, 4, 4, 4, 4, 1, | ||
| 37 | 1, 4, 4, 4, 4, 4, 4, | ||
| 38 | 4, 4, 4, 1, 1, 1, 2, | ||
| 39 | 2, 2, 2, 2, 2, 1, 4, | ||
| 40 | 4, 4, 4, 4, 4, 1, 1, | ||
| 41 | 4, 4, 4, 4, 4, 4, 4, | ||
| 42 | 4, 4, 1 | ||
| 43 | } }; | ||
| 44 | |||
| 45 | #endif | ||
