qmk-dactyl-manuform-a/keyboards/gray_studio/cod67
James Young 4b453dca92
Remove MIDI Configuration boilerplate (#11151)
* remove keyboard-level instances of `MIDI_ENABLE = no`

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e  '/^[ #]*MIDI_ENABLE[ \t]*=[ \t]*no/d' {} +
```

Co-Authored-By: Nick Brassel <nick@tzarc.org>

* fix case-sensitivity issues on MIDI_ENABLE

Change instances of `MIDI_ENABLE = YES` to `MIDI_ENABLE = yes`.

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;MIDI_ENABLE[ \t]*=[ \t]*[Yy][Ee][Ss];MIDI_ENABLE = yes;g' {} +
```

* replace `# MIDI controls` with `# MIDI support`

Replace `# MIDI controls` with `# MIDI support` in keyboard-level `rules.mk` files.

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*MIDI[ \t]*\(controls\|support\).*;# MIDI support;g' {} +
```

* align inline comments

Aligns the inline comments to the length used by the QMK AVR rules.mk template.

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;MIDI_ENABLE *= *yes.*;MIDI_ENABLE = yes           # MIDI support;g'  {} +
```

* remove commented instances of `MIDI_ENABLE` from keyboard `rules.mk` files

Commands:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#\([ \t]*MIDI_ENABLE\) = yes; \1 = no ;' {} +
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;^\([ \t]*\)\(MIDI_ENABLE = no\);\2\1;' {} +
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e '/^[ #]\+MIDI_ENABLE *= *no/d' {} +
```

* remove MIDI configuration boilerplate from keyboard config.h files

Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-08-16 06:51:13 +10:00
..
keymaps [Keyboard] Graystudio COD67 VIA support (#11961) 2021-02-21 19:42:09 -08:00
cod67.c
cod67.h [Keyboard] Update COD67 support to complete it and add a personal map (#7291) 2019-11-08 18:30:44 -08:00
config.h [Keyboard] Graystudio COD67 VIA support (#11961) 2021-02-21 19:42:09 -08:00
info.json
readme.md BACKLIGHT_ON_STATE config.h fixes (#8862) 2020-04-30 16:24:13 +10:00
rules.mk Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00

readme.md

Gray COD67

The Gray COD67 is a 60% keyboard with a modern and bold design. It features 20 RGB Underglow LED lights and a unique diffuser placement. The COD67 has the most stunning RGB light strip for a custom mechanical keyboard. It also features a center mounted USB C port.

There were only 75 units made worldwide.

Keyboard Maintainer: MechMerlin
Hardware Supported: Gray COD67
Hardware Availability: Zfrontier

Bootloader mode

To put in bootloader mode, hold the Esc key while plugging in the USB cable.

Making firmware

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

make gray_studio/cod67:default

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.

Flashing in Windows

After putting your COD67 in bootloader mode, it will show up as a drive.

  • Rename the resulting .bin file to COD67.BIN.
  • Drag and drop your new COD67.BIN to the drive, overwriting the previous COD67.BIN stored on it.
  • Wait a few seconds for it to write. The caps lock LED flashes rapidly while writing.
  • Press the Esc key again to reset the board. You are now ready to type!

Flashing in macOS

After putting your COD67 in bootloader mode, it will show up as a drive.

  • Rename the resulting .bin file to COD67.BIN.
  • Drag the existing COD67.BIN file from the drive to the Trash in Finder.
  • Empty the Trash in Finder. It's important you do that due to how macOS handles hidden .Trashes on removable drives. It needs to be empty to free up flash space.
  • Drag and drop your new COD67.BIN to the drive.
  • Wait a few seconds for it to write. The caps lock LED flashes rapidly while writing.
  • Press the Esc key or eject the drive in Finder to reset the board. You are now ready to type!