]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/gh60/readme.md
Merge remote-tracking branch 'upstream/master' into makefile_overhaul
[qmk_firmware.git] / keyboards / gh60 / readme.md
1 ## gh60 Rev C keyboard firmware\r
2 \r
3 ![gh60 Rev C PCB](gh60revc.jpg)\r
4 \r
5     /* Column pin configuration\r
6     * col: 0   1   2   3   4   5   6   7   8   9   10  11  12  13\r
7     * pin: F0  F1  E6  C7  C6  B6  D4  B1  B7  B5  B4  D7  D6  B3  (Rev.C)\r
8     */\r
9      \r
10     /* Row pin configuration\r
11     * row: 0   1   2   3   4\r
12     * pin: D0  D1  D2  D3  D5\r
13     */\r
14      \r
15     GPIO pads\r
16     0 F7 WASD LEDs\r
17     1 F6 ESC LED\r
18     2 F5 FN LED\r
19     3 F4 POKER Arrow LEDs\r
20      \r
21     B2 Capslock LED\r
22     B0 not connected\r
23         \r
24 Functions to controls LED clusters\r
25         \r
26     gh60_caps_led_on()\r
27     gh60_poker_leds_on()\r
28     gh60_fn_led_on()\r
29     gh60_esc_led_on()\r
30     gh60_wasd_leds_on()\r
31     \r
32     gh60_caps_led_off()\r
33     gh60_poker_leds_off()\r
34     gh60_fn_led_off()\r
35     gh60_esc_led_off()\r
36     gh60_wasd_leds_off()\r
37         \r
38 ======================\r
39 \r
40 ## Quantum MK Firmware\r
41 \r
42 For the full Quantum feature list, see [the parent readme.md](/readme.md).\r
43 \r
44 ## Building\r
45 \r
46 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. \r
47 \r
48 Depending on which keymap you would like to use, you will have to compile slightly differently.\r
49 \r
50 ### Default\r
51 To build with the default keymap, simply run `make default`.\r
52 \r
53 ### Other Keymaps\r
54 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.\r
55 \r
56 To build the firmware binary hex file with a keymap just do `make` with a keymap like this:\r
57 \r
58 ```\r
59 $ make [default|jack|<name>]\r
60 ```\r
61 \r
62 Keymaps follow the format **__\<name\>.c__** and are stored in the `keymaps` folder.\r