Skip to content

Commit

Permalink
sn32f2xx keyboards: update prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter93 committed Sep 22, 2024
1 parent d6c08d9 commit a463068
Show file tree
Hide file tree
Showing 21 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion keyboards/czc/dwarf/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

/* RGB matrix configuration can't be fully expressed in JSON as of now */
#define RGB_MATRIX_LED_COUNT 87
#define SN32_RGB_MATRIX_ROW_PINS {C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, B13, D3, B15, B14}
#define SN32F2XX_RGB_MATRIX_ROW_PINS {C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, B13, D3, B15, B14}
2 changes: 1 addition & 1 deletion keyboards/designedbygg/berserker/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
#define LED_WIN_LOCK_PIN B12

/* RGB LED Config */
#define SN32_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }
#define RGB_MATRIX_LED_COUNT (88)
8 changes: 4 additions & 4 deletions keyboards/designedbygg/ironclad/icl01/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
#pragma once

/* RGB LED Config */
#define SN32_RGB_MATRIX_ROW_PINS \
#define SN32F2XX_RGB_MATRIX_ROW_PINS \
{ C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B7, B8, B9, B10, B11, B12 }
#define SN32_PWM_OUTPUT_ACTIVE_LEVEL SN32_PWM_OUTPUT_ACTIVE_HIGH
#define SN32_RGB_OUTPUT_ACTIVE_LEVEL SN32_RGB_OUTPUT_ACTIVE_LOW
#define SN32_PWM_DIRECTION ROW2COL
#define SN32F2XX_PWM_OUTPUT_ACTIVE_LEVEL SN32F2XX_PWM_OUTPUT_ACTIVE_HIGH
#define SN32F2XX_RGB_OUTPUT_ACTIVE_LEVEL SN32F2XX_RGB_OUTPUT_ACTIVE_LOW
#define SN32F2XX_PWM_DIRECTION ROW2COL
#define RGB_MATRIX_LED_COUNT (105)
2 changes: 1 addition & 1 deletion keyboards/designedbygg/ironclad/icl03/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
#define LED_WIN_LOCK_PIN B12

/* RGB LED Config */
#define SN32_RGB_MATRIX_ROW_PINS \
#define SN32F2XX_RGB_MATRIX_ROW_PINS \
{ C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }
#define RGB_MATRIX_LED_COUNT (109)
2 changes: 1 addition & 1 deletion keyboards/designedbygg/redblade/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
#define LED_WIN_LOCK_PIN B12

/* RGB LED Config */
#define SN32_RGB_MATRIX_ROW_PINS \
#define SN32F2XX_RGB_MATRIX_ROW_PINS \
{ C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }
#define RGB_MATRIX_LED_COUNT (109)
6 changes: 3 additions & 3 deletions keyboards/flesports/fl980/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

#pragma once

#define SN32_RGB_MATRIX_ROW_PINS { C0,C1,C3, C4,C5,C6, C7,C8,C9, C10,C11,C12, C13,C14,B13, C15,B15,B14 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C0,C1,C3, C4,C5,C6, C7,C8,C9, C10,C11,C12, C13,C14,B13, C15,B15,B14 }

#define RGB_MATRIX_LED_COUNT 98
#define MATRIX_UNSELECT_DRIVE_HIGH
#define SN32_PWM_OUTPUT_ACTIVE_LEVEL SN32_PWM_OUTPUT_ACTIVE_HIGH
#define SN32_RGB_OUTPUT_ACTIVE_LEVEL SN32_RGB_OUTPUT_ACTIVE_HIGH
#define SN32F2XX_PWM_OUTPUT_ACTIVE_LEVEL SN32F2XX_PWM_OUTPUT_ACTIVE_HIGH
#define SN32F2XX_RGB_OUTPUT_ACTIVE_LEVEL SN32F2XX_RGB_OUTPUT_ACTIVE_HIGH
8 changes: 4 additions & 4 deletions keyboards/hator/gravity/tkl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

#define SN32_RGB_MATRIX_ROW_PINS { C3,C1,C0, C6,C5,C4, C9,C8,C7, C12,C11,C10, B13,C14,C13, B14,B15,D3, A2,A4,A3 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C3,C1,C0, C6,C5,C4, C9,C8,C7, C12,C11,C10, B13,C14,C13, B14,B15,D3, A2,A4,A3 }

#define SN32_RGB_MATRIX_COL_PINS {A8, A9, A10, A11, A12, A13, A14, A15, B0, B1, B2, B3, B4, B5, B6, B7, B8}
#define SN32F2XX_RGB_MATRIX_COL_PINS {A8, A9, A10, A11, A12, A13, A14, A15, B0, B1, B2, B3, B4, B5, B6, B7, B8}

#define RGB_MATRIX_LED_COUNT 104
#define MATRIX_UNSELECT_DRIVE_HIGH
//#define SN32_PWM_OUTPUT_ACTIVE_LEVEL SN32_PWM_OUTPUT_ACTIVE_HIGH
#define SN32_RGB_OUTPUT_ACTIVE_LEVEL SN32_RGB_OUTPUT_ACTIVE_HIGH
//#define SN32F2XX_PWM_OUTPUT_ACTIVE_LEVEL SN32F2XX_PWM_OUTPUT_ACTIVE_HIGH
#define SN32F2XX_RGB_OUTPUT_ACTIVE_LEVEL SN32F2XX_RGB_OUTPUT_ACTIVE_HIGH
//#define USB_MAX_POWER_CONSUMPTION 500
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 240
4 changes: 2 additions & 2 deletions keyboards/hator/gravity/xtkl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define MATRIX_UNSELECT_DRIVE_HIGH

#define SN32_RGB_MATRIX_ROW_PINS { C3,C1,C0, C6,C5,C4, C9,C8,C7, C12,C11,C10, B13,C14,C13, B14,B15,D3, A2,A4,A3 }
#define SN32_RGB_OUTPUT_ACTIVE_LEVEL SN32_RGB_OUTPUT_ACTIVE_HIGH
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C3,C1,C0, C6,C5,C4, C9,C8,C7, C12,C11,C10, B13,C14,C13, B14,B15,D3, A2,A4,A3 }
#define SN32F2XX_RGB_OUTPUT_ACTIVE_LEVEL SN32F2XX_RGB_OUTPUT_ACTIVE_HIGH
#define RGB_MATRIX_LED_COUNT 104
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 240
2 changes: 1 addition & 1 deletion keyboards/keychron/c1/rgb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ 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/>.
*/
#define SN32_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, B13, D3, B15, B14 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, B13, D3, B15, B14 }

#define LED_MAC_PIN B11 // Labeled Mac on KB since no Scroll Lock
#define LED_WIN_PIN B12 // Labeled Windows on KB since no Numpad
2 changes: 1 addition & 1 deletion keyboards/keychron/k12/rgb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

#pragma once

#define SN32_RGB_MATRIX_ROW_PINS {C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3}
#define SN32F2XX_RGB_MATRIX_ROW_PINS {C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3}
2 changes: 1 addition & 1 deletion keyboards/keychron/k2/rgb/v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
*/

#pragma once
#define SN32_RGB_MATRIX_ROW_PINS { C3, C1, C0, C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C3, C1, C0, C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3 }
#define DIP_SWITCH_PINS { D4, D5 }
2 changes: 1 addition & 1 deletion keyboards/keychron/k4/rgb/v2/ansi/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
#define DIP_SWITCH_PINS { D5, D6 }
#define RGB_MATRIX_LED_COUNT 100

#define SN32_RGB_MATRIX_ROW_PINS { C3, C1, C0, C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C3, C1, C0, C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3 }
2 changes: 1 addition & 1 deletion keyboards/keychron/k4/rgb/v2/iso/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
#define DIP_SWITCH_PINS { D5, D6 }
#define RGB_MATRIX_LED_COUNT 101

#define SN32_RGB_MATRIX_ROW_PINS { C3, C1, C0, C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C3, C1, C0, C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3 }
2 changes: 1 addition & 1 deletion keyboards/keychron/k8/rgb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
#define DIP_SWITCH_PINS { D4, D5 }

// RGB LED Config
#define SN32_RGB_MATRIX_ROW_PINS { C3, C1, C0, C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C3, C1, C0, C6, C5, C4, C9, C8, C7, C12, C11, C10, B13, C14, C13, B14, B15, D3 }
2 changes: 1 addition & 1 deletion keyboards/ozone/tactical/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
#pragma once

// RGB config
#define SN32_RGB_MATRIX_ROW_PINS { C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, B13, D3, B15, B14 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, B13, D3, B15, B14 }
#define RGB_MATRIX_LED_COUNT 69
6 changes: 3 additions & 3 deletions keyboards/redragon/k552/v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

#pragma once

#define SN32_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }
#define SN32_PWM_OUTPUT_ACTIVE_LEVEL SN32_PWM_OUTPUT_ACTIVE_HIGH
#define SN32_RGB_OUTPUT_ACTIVE_LEVEL SN32_RGB_OUTPUT_ACTIVE_LOW
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }
#define SN32F2XX_PWM_OUTPUT_ACTIVE_LEVEL SN32F2XX_PWM_OUTPUT_ACTIVE_HIGH
#define SN32F2XX_RGB_OUTPUT_ACTIVE_LEVEL SN32F2XX_RGB_OUTPUT_ACTIVE_LOW
#define MATRIX_UNSELECT_DRIVE_HIGH

#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50
6 changes: 3 additions & 3 deletions keyboards/redragon/k556/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
/* key matrix size */
#define RGB_MATRIX_LED_COUNT 106

#define SN32_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }

/* Configure the effects: */
#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50

/* Configure transistor logic for RGB matrix */
#define SN32_PWM_OUTPUT_ACTIVE_LEVEL SN32_PWM_OUTPUT_ACTIVE_HIGH
#define SN32_RGB_OUTPUT_ACTIVE_LEVEL SN32_RGB_OUTPUT_ACTIVE_LOW
#define SN32F2XX_PWM_OUTPUT_ACTIVE_LEVEL SN32F2XX_PWM_OUTPUT_ACTIVE_HIGH
#define SN32F2XX_RGB_OUTPUT_ACTIVE_LEVEL SN32F2XX_RGB_OUTPUT_ACTIVE_LOW
6 changes: 3 additions & 3 deletions keyboards/redragon/k582/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
/* key matrix size */
#define RGB_MATRIX_LED_COUNT 104

#define SN32_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C0, C1, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }

/* Configure the effects: */
#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50

/* Configure transistor logic for RGB matrix */
#define SN32_PWM_OUTPUT_ACTIVE_LEVEL SN32_PWM_OUTPUT_ACTIVE_HIGH
#define SN32_RGB_OUTPUT_ACTIVE_LEVEL SN32_RGB_OUTPUT_ACTIVE_LOW
#define SN32F2XX_PWM_OUTPUT_ACTIVE_LEVEL SN32F2XX_PWM_OUTPUT_ACTIVE_HIGH
#define SN32F2XX_RGB_OUTPUT_ACTIVE_LEVEL SN32F2XX_RGB_OUTPUT_ACTIVE_LOW
2 changes: 1 addition & 1 deletion keyboards/redragon/k630/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/* RGB matrix configuration can't be fully expressed in JSON as of now */
#define RGB_MATRIX_LED_COUNT 61
#define SN32_RGB_MATRIX_ROW_PINS { C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C4, C5, C6, C7, C8, C9, C10, C11, C12, B6, B7, B8, B9, B10, B11 }

/* Configure the effects: */
#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50
2 changes: 1 addition & 1 deletion keyboards/royal_kludge/rk61_rgb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#pragma once

/* RGB matrix configuration can't be fully expressed in JSON as of now */
#define SN32_RGB_MATRIX_ROW_PINS { C5, C6, C4, C8, C9, C7, C11, C12, C10, C14, B13, C13, B15, B14, D3 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C5, C6, C4, C8, C9, C7, C11, C12, C10, C14, B13, C13, B15, B14, D3 }

/* Configure the effects: */
#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50
2 changes: 1 addition & 1 deletion keyboards/royal_kludge/rk68_rgb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#pragma once

/* RGB matrix configuration can't be fully expressed in JSON as of now */
#define SN32_RGB_MATRIX_ROW_PINS { C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, B13, D3, B15, B14 }
#define SN32F2XX_RGB_MATRIX_ROW_PINS { C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, B13, D3, B15, B14 }

/* Configure the effects: */
#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50

0 comments on commit a463068

Please sign in to comment.