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

Refactor Galatea #20011

Merged
merged 2 commits into from
Apr 3, 2023
Merged
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
44 changes: 3 additions & 41 deletions keyboards/studiokestra/galatea/config.h
Original file line number Diff line number Diff line change
@@ -1,47 +1,9 @@
/*
Copyright 2021 Studio Kestra
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/>.
*/
// Copyright 2023 studiokestra (@studiokestra)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once


#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, B2, D5 }
#define MATRIX_ROW_PINS { D1, D0, B0, B7, E6, B3, B6, C6, D6, D7, B4, D3 }
#define DIODE_DIRECTION COL2ROW

#if defined(KEYBOARD_studiokestra_galatea_rev2)
#define RGB_DI_PIN D4
#define RGBLED_NUM 24
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_SNAKE
#define RGBLIGHT_EFFECT_KNIGHT
#define RGBLIGHT_EFFECT_CHRISTMAS
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#endif

/* 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
#define LOCKING_RESYNC_ENABLE
17 changes: 0 additions & 17 deletions keyboards/studiokestra/galatea/galatea.c

This file was deleted.

25 changes: 0 additions & 25 deletions keyboards/studiokestra/galatea/galatea.h

This file was deleted.

42 changes: 0 additions & 42 deletions keyboards/studiokestra/galatea/keymaps/default/keymap.c

This file was deleted.

1 change: 0 additions & 1 deletion keyboards/studiokestra/galatea/keymaps/default/readme.md

This file was deleted.

51 changes: 0 additions & 51 deletions keyboards/studiokestra/galatea/keymaps/via/keymap.c

This file was deleted.

1 change: 0 additions & 1 deletion keyboards/studiokestra/galatea/keymaps/via/readme.md

This file was deleted.

30 changes: 16 additions & 14 deletions keyboards/studiokestra/galatea/readme.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
# Galatea
# studiokestra/galatea

![studiokestra/galatea](https://i.imgur.com/juPhV1xh.png)

TKL H87/88c compatible PCB with support for the most common layouts.

* Keyboard Maintainer: [Studio Kestra](https://github.com/studiokestra/)
* Hardware Supported: [studiokestra.ca/galatea](https://studiokestra.ca/galatea/)
* Hardware Availability: In-Stock Sale (Dec 2021)
* Hardware Supported: Most H87C compatible keyboards
* Hardware Availability: https://RNDKBD.com; https://geon.works/
* Rev1 firmware is used for Galatea PCBs with no RGB underglow.
* Rev2 firmware is used for Galatea PCBs with RGB underglow.
* Rev2 firmware is used for Galatea PCBs with RGB underglow.

## Bootload Sequence
Make example for this keyboard (after setting up your build environment):

There are 3 ways to put the board in bootloader mode:
make studiokestra/galatea/rev1:default

- Hold the top-left key (typically `Esc`) while plugging in the USB cable, OR
- While the PCB is plugged into the PC, press the physical `RESET` button on the back of the board, OR
- With the default layout, toggle Layer 1 and press the `R` key.
Flashing example for this keyboard:

## Compiling Firmware
make studiokestra/galatea/rev1:default:flash

Make example for this keyboard (after setting up your build environment):
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

make studiokestra/galatea/rev1:default
## Bootloader

If no revision is specified, it will build rev1 firmware by default.
Enter the bootloader in 3 ways:

See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
Loading