Fred Sundvik
44441de8ca
|
8 years ago | |
---|---|---|
.. | ||
keymaps | Update keymap.c | 9 years ago |
Makefile | Split keyboard makefiles into rules and Makefile | 8 years ago |
config.h | Renames keyboard folder to keyboards, adds couple of tmk's fixes (#432) | 9 years ago |
gh60.c | Backlight abstraction and other changes (#439) | 9 years ago |
gh60.h | Backlight abstraction and other changes (#439) | 9 years ago |
gh60revc.jpg | Renames keyboard folder to keyboards, adds couple of tmk's fixes (#432) | 9 years ago |
pinout.txt | Renames keyboard folder to keyboards, adds couple of tmk's fixes (#432) | 9 years ago |
readme.md | Backlight abstraction and other changes (#439) | 9 years ago |
rules.mk | Split keyboard makefiles into rules and Makefile | 8 years ago |
readme.md
gh60 Rev C keyboard firmware
/* 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()
======================
Quantum MK Firmware
For the full Quantum feature list, see the parent readme.md.
Building
Download or clone the whole firmware and navigate to the keyboards/gh60_rev_c folder. Once your dev env is setup, you'll be able to type make
to generate your .hex - you can then use the Teensy Loader to program your .hex file.
Depending on which keymap you would like to use, you will have to compile slightly differently.
Default
To build with the default keymap, simply run make
.
Other Keymaps
Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named <name>.c
in the keymaps folder, and see keymap document (you can find in top readme.md) and existent keymap files.
To build the firmware binary hex file with a keymap just do make
with KEYMAP
option like:
$ make KEYMAP=[default|jack|<name>]
Keymaps follow the format <name>.c and are stored in the keymaps
folder.