mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-26 11:29:57 +00:00
308275909d
* 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
53 lines
1.3 KiB
Markdown
53 lines
1.3 KiB
Markdown
GH60
|
|
===
|
|
|
|
![gh60 Rev C PCB](https://i.imgur.com/FejpoNF.jpg)
|
|
|
|
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](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).
|
|
|
|
|
|
## 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()
|