-
-
Notifications
You must be signed in to change notification settings - Fork 42.1k
Add str.merro60 pcb firmware #17097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add str.merro60 pcb firmware #17097
Changes from 5 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
b9656c5
add str merro variant
5502897
add str.merro60 files
c9b9cee
update file hierarchy, update files to match merro60 format
94f79c5
update requested layout
3585843
update broken ansi format
df73832
Update keyboards/chlx/str_merro60/config.h
gaclee3b 6954eb3
Update keyboards/chlx/str_merro60/rules.mk
gaclee3b 8c453d3
remove initial rgb state from *.c
7599873
remove startup / eeprom reset code
7041d8d
Update keyboards/chlx/str_merro60/info.json
gaclee3b 7fe05fc
Update keyboards/chlx/str_merro60/rules.mk
gaclee3b e5279ef
Update keyboards/chlx/str_merro60/readme.md
gaclee3b File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* | ||
Copyright 2022 Alexander Lee <[email protected]> | ||
|
||
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/>. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include "config_common.h" | ||
|
||
/* USB Device descriptor parameter */ | ||
#define VENDOR_ID 0x4358 // "CX" - chlx | ||
#define PRODUCT_ID 0x0602 | ||
#define DEVICE_VER 0x0100 | ||
#define MANUFACTURER chlx bsmt | ||
#define PRODUCT chlx str.merro60 | ||
|
||
/* key matrix size */ | ||
#define MATRIX_ROWS 10 | ||
#define MATRIX_COLS 7 | ||
|
||
/* | ||
* Keyboard Matrix Assignments | ||
* | ||
* Change this to how you wired your keyboard | ||
* COLS: AVR pins used for columns, left to right | ||
* ROWS: AVR pins used for rows, top to bottom | ||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
* | ||
*/ | ||
#define MATRIX_ROW_PINS { C6, C7, F7, F6, F5, F4, F1, F0, B3, B7 } | ||
#define MATRIX_COL_PINS { D0, D1, D2, E6, B0, B1, B2 } | ||
#define UNUSED_PINS | ||
// #define UNUSED_PINS { B4, B5, B6, D4, D5, D6, D7 } | ||
|
||
/* COL2ROW, ROW2COL*/ | ||
#define DIODE_DIRECTION ROW2COL | ||
|
||
#define RGB_DI_PIN D3 | ||
#ifdef RGB_DI_PIN | ||
# define RGBLIGHT_ANIMATIONS | ||
# define RGBLED_NUM 12 | ||
# define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 } | ||
# define RGBLIGHT_HUE_STEP 8 | ||
# define RGBLIGHT_SAT_STEP 8 | ||
# define RGBLIGHT_VAL_STEP 8 | ||
# define RGBLIGHT_SLEEP | ||
#endif | ||
|
||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
#define DEBOUNCE 5 | ||
|
||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
#define LOCKING_SUPPORT_ENABLE | ||
/* Locking resynchronize hack */ | ||
#define LOCKING_RESYNC_ENABLE | ||
|
||
/* VIA related config */ | ||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.