Skip to content

Commit

Permalink
Sonix qmk hator gravity tkl (#425)
Browse files Browse the repository at this point in the history
* Add gravity tkl

* license adjusted

* fix license and remarks

* fix remarks: identation, remove rules.mk and info.json, other remarks

* remove NO_PIN from key matrix

* B1 B2 added to keyboard.json; default keymap updated

* force_nkro removed

* PID and VID changed. NK_TOGG added to keymap

* Readme updated, VID/PID changed

* sn32f24xb>sn32f2xx

* fix according to last RGB driver update: remove SN32_RGB_MATRIX_COL_PINS

* minor fixes

* fixed build error
  • Loading branch information
Matros1975 authored Oct 7, 2024
1 parent 569f280 commit e25a787
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions keyboards/hator/gravity/tkl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once

#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_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 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
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 240

0 comments on commit e25a787

Please sign in to comment.