opensteno_qmk/keyboards/gh60
noroadsleft 308275909d [Keyboard] GH60 Configurator updates and modernization (#6232)
* Convert gh60.h to #pragma once include guard

* Lint gh60.h

This commit only changes white space.

* Convert info.json to debug linting

Making this file easier to read.

* Put the label keys first for LAYOUT_60_ansi

* Complete and correct key labels in info.json

* Duplicate LAYOUT as LAYOUT_all

Doing this for backwards compatibility. Has implications for user keymaps.

* Update LAYOUT_all to make sense

The original macro LAYOUT submitted for the GH60 gets a couple of things wrong:

- K49 is placed between Space and Right Alt, when it's actually the right half of a split Backspace
- K3C is assigned before K3D, when K3C is the 1u portion of a 1.75u/1u split Right Shift, and therefore K3D is actually to the left of K3C

The LAYOUT_all macro corrects these issues, but the LAYOUT macro is unchanged, so as to not break user keymaps that depend on it.

This commit also updates the default keymap to use the LAYOUT_all macro, and makes a minor change to the base layer to be more as a user would expect for the corresponding physical layout.

* Correct the layout data for the LAYOUT macro in info.json

Gives proper Configurator rendering.

* Modernize default keymap

Update the default keymap to use more modern QMK conventions.

* Modernize the LED management code

Update the LED management functions to use the GPIO functions, and clean up the led_set_kb() function.

* Update key labels in info.json for LAYOUT_60_ansi_split_rshift

Makes them consistent with the the rest of the file.

* Update Docs links in readme file
2019-07-02 09:22:56 -07:00
..
keymaps [Keyboard] GH60 Configurator updates and modernization (#6232) 2019-07-02 09:22:56 -07:00
config.h Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997) 2019-06-06 12:09:56 -07:00
gh60.c [Keyboard] GH60 Configurator updates and modernization (#6232) 2019-07-02 09:22:56 -07:00
gh60.h [Keyboard] GH60 Configurator updates and modernization (#6232) 2019-07-02 09:22:56 -07:00
info.json [Keyboard] GH60 Configurator updates and modernization (#6232) 2019-07-02 09:22:56 -07:00
pinout.txt Normalize line endings 2016-08-27 18:40:50 +03:00
readme.md [Keyboard] GH60 Configurator updates and modernization (#6232) 2019-07-02 09:22:56 -07:00
rules.mk Add split layout to more keyboards. 2017-08-26 10:34:07 -04:00

GH60

gh60 Rev C PCB

A common 60% PCB.

Keyboard Maintainer: QMK Community
Hardware Supported: GH60 rev. B and rev. C
Hardware Availability: http://blog.komar.be/projects/gh60-programmable-keyboard/

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

make gh60:default

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

GH60 Hardware Information

/* Column pin configuration
* col: 0   1   2   3   4   5   6   7   8   9   10  11  12  13
* pin: F0  F1  E6  C7  C6  B6  D4  B1  B7  B5  B4  D7  D6  B3  (Rev.C)
*/
 
/* Row pin configuration
* row: 0   1   2   3   4
* pin: D0  D1  D2  D3  D5
*/
 
GPIO pads
0 F7 WASD LEDs
1 F6 ESC LED
2 F5 FN LED
3 F4 POKER Arrow LEDs
 
B2 Capslock LED
B0 not connected

Functions to controls LED clusters

gh60_caps_led_on()
gh60_poker_leds_on()
gh60_fn_led_on()
gh60_esc_led_on()
gh60_wasd_leds_on()

gh60_caps_led_off()
gh60_poker_leds_off()
gh60_fn_led_off()
gh60_esc_led_off()
gh60_wasd_leds_off()