Skip to content
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

[hator/gravity/tkl] Minor update #434

Open
wants to merge 1 commit into
base: sn32_develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion keyboards/hator/gravity/tkl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_MATRIX_LED_COUNT 104
#define MATRIX_UNSELECT_DRIVE_HIGH
#define SN32F2XX_RGB_OUTPUT_ACTIVE_LEVEL SN32F2XX_RGB_OUTPUT_ACTIVE_HIGH
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 240
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 250
34 changes: 17 additions & 17 deletions keyboards/hator/gravity/tkl/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{ "matrix": [ 0, 10 ], "flags": 4, "x": 156, "y": 0 },
{ "matrix": [ 0, 11 ], "flags": 4, "x": 169, "y": 0 },
{ "matrix": [ 0, 12 ], "flags": 4, "x": 182, "y": 0 },
{ "matrix": [ 0, 13 ], "flags": 2, "x": 12, "y": 0 },
{ "matrix": [ 0, 13 ], "flags": 8, "x": 12, "y": 0 },
{ "matrix": [ 0, 14 ], "flags": 4, "x": 198, "y": 0 },
{ "matrix": [ 0, 15 ], "flags": 4, "x": 211, "y": 0 },
{ "matrix": [ 0, 16 ], "flags": 4, "x": 224, "y": 0 },
Expand Down Expand Up @@ -145,22 +145,22 @@
{ "matrix": [ 5, 15 ], "flags": 4, "x": 211, "y": 64 },
{ "matrix": [ 5, 16 ], "flags": 4, "x": 224, "y": 64 },

{ "matrix": [ 6, 0 ], "flags": 2, "x": 0, "y": 0 },
{ "matrix": [ 6, 1 ], "flags": 2, "x": 0, "y": 8 },
{ "matrix": [ 6, 2 ], "flags": 2, "x": 0, "y": 16 },
{ "matrix": [ 6, 3 ], "flags": 2, "x": 0, "y": 24 },
{ "matrix": [ 6, 4 ], "flags": 2, "x": 0, "y": 32 },
{ "matrix": [ 6, 5 ], "flags": 2, "x": 0, "y": 40 },
{ "matrix": [ 6, 6 ], "flags": 2, "x": 0, "y": 48 },
{ "matrix": [ 6, 7 ], "flags": 2, "x": 0, "y": 56 },
{ "matrix": [ 6, 8 ], "flags": 2, "x": 216, "y": 0 },
{ "matrix": [ 6, 9 ], "flags": 2, "x": 217, "y": 8 },
{ "matrix": [ 6, 10 ], "flags": 2, "x": 218, "y": 16 },
{ "matrix": [ 6, 11 ], "flags": 2, "x": 219, "y": 24 },
{ "matrix": [ 6, 12 ], "flags": 2, "x": 220, "y": 32 },
{ "matrix": [ 6, 13 ], "flags": 2, "x": 221, "y": 40 },
{ "matrix": [ 6, 14 ], "flags": 2, "x": 222, "y": 48 },
{ "matrix": [ 6, 15 ], "flags": 2, "x": 223, "y": 56 }
{ "matrix": [ 6, 0 ], "flags": 4, "x": 0, "y": 0 },
{ "matrix": [ 6, 1 ], "flags": 4, "x": 0, "y": 8 },
{ "matrix": [ 6, 2 ], "flags": 4, "x": 0, "y": 16 },
{ "matrix": [ 6, 3 ], "flags": 4, "x": 0, "y": 24 },
{ "matrix": [ 6, 4 ], "flags": 4, "x": 0, "y": 32 },
{ "matrix": [ 6, 5 ], "flags": 4, "x": 0, "y": 40 },
{ "matrix": [ 6, 6 ], "flags": 4, "x": 0, "y": 48 },
{ "matrix": [ 6, 7 ], "flags": 4, "x": 0, "y": 56 },
{ "matrix": [ 6, 8 ], "flags": 4, "x": 216, "y": 0 },
{ "matrix": [ 6, 9 ], "flags": 4, "x": 217, "y": 8 },
{ "matrix": [ 6, 10 ], "flags": 4, "x": 218, "y": 16 },
{ "matrix": [ 6, 11 ], "flags": 4, "x": 219, "y": 24 },
{ "matrix": [ 6, 12 ], "flags": 4, "x": 220, "y": 32 },
{ "matrix": [ 6, 13 ], "flags": 4, "x": 221, "y": 40 },
{ "matrix": [ 6, 14 ], "flags": 4, "x": 222, "y": 48 },
{ "matrix": [ 6, 15 ], "flags": 4, "x": 223, "y": 56 }
],
"react_on_keyup": true,
"sleep": true
Expand Down
14 changes: 7 additions & 7 deletions keyboards/hator/gravity/tkl/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
{ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN},
{ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NO, KC_ENT, KC_MPRV, KC_MNXT, KC_NO},
{ KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO, KC_RSFT, KC_NO, KC_UP, KC_NO},
{ KC_LCTL, KC_LGUI, KC_LALT, KC_NO, KC_NO, KC_NO, KC_SPC, KC_NO, KC_NO, KC_NO, KC_RALT, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT}
{ KC_LCTL, KC_LGUI, KC_LALT, KC_NO, KC_NO, KC_NO, KC_SPC, KC_NO, KC_NO, KC_NO, KC_RALT, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT}
},

/* Row: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 */
[1] = { { QK_BOOT, KC_WHOM, KC_CALC, KC_MYCM, KC_MAIL, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, _______, _______, _______, KC_PSCR, KC_SLEP, RGB_TOG },
{ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NO, RGB_M_P, RGB_HUI },
{ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NO, _______, RGB_SPI },
{ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NO, _______, KC_CONTROL_PANEL, _______, KC_NO },
{ _______, KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NO, _______, _______, KC_VOLU, RGB_SAI },
{ _______, KC_LALT, KC_LGUI, KC_NO, KC_NO, KC_NO, NK_TOGG, KC_NO, KC_NO, KC_NO, _______, _______, _______, _______, RGB_MODE_REVERSE, KC_VOLD, RGB_MODE_FORWARD }
[1] = { { EE_CLR, KC_WHOM, KC_CALC, KC_MYCM, KC_MAIL, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, _______, _______, _______, KC_PSCR, KC_SLEP, RGB_TOG },
{ QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NO, RGB_M_P, RGB_HUI },
{ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NO, _______, RGB_SPI },
{ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NO, _______, KC_CONTROL_PANEL, _______, KC_NO },
{ _______, KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NO, _______, _______, KC_VOLU, RGB_SAI },
{ _______, KC_LALT, KC_LGUI, KC_NO, KC_NO, KC_NO, NK_TOGG, KC_NO, KC_NO, KC_NO, _______, _______, _______, _______, RGB_MODE_REVERSE, KC_VOLD, RGB_MODE_FORWARD }
},

};
Expand Down
2 changes: 1 addition & 1 deletion keyboards/hator/gravity/tkl/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (Escape) and plug in the keyboard
* **Physical reset button**: You can locate the boot pins under the Spacebar.
* **Keycode in layout**: Press Fn1+ESC to enter the bootloader mode.
* **Keycode in layout**: Press Fn1+~ to enter the bootloader mode.
Loading