aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Chang <william@factual.com>2019-04-20 12:41:28 -0700
committerWilliam Chang <william@factual.com>2019-04-20 12:41:28 -0700
commitcd379c69a03d339e1eb87646824c2b49cb4db982 (patch)
treeffb2bc7715509da3db9fcb7d8323dcb5ba8c764e
parent156fd4e9693e05fb12933bddb49e1a387fa1fab3 (diff)
downloadqmk_firmware-cd379c69a03d339e1eb87646824c2b49cb4db982.tar.gz
qmk_firmware-cd379c69a03d339e1eb87646824c2b49cb4db982.zip
Modified keymap and updated readme.
-rw-r--r--keyboards/dz60/keymaps/billiams/README.md43
-rw-r--r--keyboards/dz60/keymaps/billiams/build_flash.sh3
-rw-r--r--keyboards/dz60/keymaps/billiams/keymap.c14
3 files changed, 36 insertions, 24 deletions
diff --git a/keyboards/dz60/keymaps/billiams/README.md b/keyboards/dz60/keymaps/billiams/README.md
index c1ea2127b..84b441ac0 100644
--- a/keyboards/dz60/keymaps/billiams/README.md
+++ b/keyboards/dz60/keymaps/billiams/README.md
@@ -1,8 +1,30 @@
1## Billiam's DZ60 layout 1## Billiam's DZ60 layout
2 2
3This layout is optimized for MacOS is for a Build 4 DZ60 with a 2U left shift, 2U right shift and an arrow
4cluster in the bottom right. Don't use this layout if you didn't get Build 4, you will enter a world of pain Donny.
5
6Settings:
7
8* The capslock key is replaced with a second function key.
9* The Alt an Cmd keys are swapped to replicate the Mac layout.
10* Del is available as Fn+Backspace
11* / ? are available when you tap the right shift. Otherwise RShift is shift when held down
12* RESET is available as Fn+Esc
13* Underglow toggle and mode selection are available as Fn+A and Fn+S
14* Media play/pause doesn't seem to work with anything but iTunes at the moment. FML
15
16
3### Initial Installation 17### Initial Installation
4 18
5These are the steps if you've never done this before: 19I found the instructions to be longer than they had to be, and I ended up having to Google some steps anyway. These are the steps I took to get my keyboard setup, in case you are new to the process.
20
211. Clone the qmk_firmware repo locally
22```
23# Choose one:
24git clone git@github.com:qmk/qmk_firmware.git # OR
25git clone https://github.com/qmk/qmk_firmware.git
26```
272. Customize your layout by starting with a [keymap](https://github.com/qmk/qmk_firmware/tree/master/keyboards/dz60/keymaps). I copied [StephenGrier](https://github.com/qmk/qmk_firmware/tree/master/keyboards/dz60/keymaps/stephengrier)'s and modified it for DZ60 Build 4 and changed a few things, like the `grave` key, `ESC` and `/`.
6 28
71. Build your hex file 291. Build your hex file
8``` 30```
@@ -14,20 +36,9 @@ A hex file `dz60_billiams.hex` will be created in the base qmk_firmware director
143. Plug the computer in, which will put the keyboard in bootlegger mode 363. Plug the computer in, which will put the keyboard in bootlegger mode
154. If you are using [QMK toolbox](https://github.com/qmk/qmk_toolbox/releases), upload the .hex file you made above, select it and hit the flash button. Don't hit the load button, that will load the default keymap and that's not what you want! Unless it is, in which case click away. 374. If you are using [QMK toolbox](https://github.com/qmk/qmk_toolbox/releases), upload the .hex file you made above, select it and hit the flash button. Don't hit the load button, that will load the default keymap and that's not what you want! Unless it is, in which case click away.
16 38
39Note: If you didn't follow my instructions in 4 and accidentally loaded the default keymap, then to `RESET` the keyboard and kick it into bootleg mode again, hold the `down arrow` key and `\`. The default layout is Build 1 and sets the `MENU` key on that build to `Fn`. `MENU` corresponds to `down arrow` in build 4. You don't have to unplug the keyboard.
17 40
18### Notes 41Hope this helps!
19
20This layout is for a Build 4 DZ60 with a 2U left shift, 2U right shift and an arrow
21cluster in the bottom right.
22
23Settings:
24
25* The capslock key is replaced with a second function key.
26* The Alt an Cmd keys are swapped to replicate the Mac layout.
27* Del is available as Fn+Backspace
28* / ? are available when you tap the right shift. Otherwise RShift is shift when held down
29* RESET is available as Fn+Esc
30* Underglow toggle and mode selection are available as Fn+A and Fn+S
31 42
32### 0 Qwerty 43### 0 Qwerty
33``` 44```
@@ -50,9 +61,9 @@ FN Layer
50,-----------------------------------------------------------------------------------------. 61,-----------------------------------------------------------------------------------------.
51| ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DEL | 62| ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DEL |
52|-----------------------------------------------------------------------------------------+ 63|-----------------------------------------------------------------------------------------+
53| |RBB T|RGB M| Hue+| Hue-| Sat+| Sat-| Val+| Val-| | | | Prev | Next | 64| |RBB T|RGB M| Hue-| Hue+| Sat-| Sat+| Val-| Val+| | | MUTE | Vol- | Vol+ |
54|-----------------------------------------------------------------------------------------+ 65|-----------------------------------------------------------------------------------------+
55| | BL T| BL M| BL+ | BL- | | | | | | Vol-| Vol+| Play/Pause | 66| | | | | | | | | | | Prev | Next | Play/Pause |
56|-----------------------------------------------------------------------------------------+ 67|-----------------------------------------------------------------------------------------+
57| | | | | | | | |Scr- |Scr+ | | PG_UP |RESET| 68| | | | | | | | |Scr- |Scr+ | | PG_UP |RESET|
58|-----------------------------------------------------------------------------------------+ 69|-----------------------------------------------------------------------------------------+
diff --git a/keyboards/dz60/keymaps/billiams/build_flash.sh b/keyboards/dz60/keymaps/billiams/build_flash.sh
index d98b79c9d..e7a811144 100644
--- a/keyboards/dz60/keymaps/billiams/build_flash.sh
+++ b/keyboards/dz60/keymaps/billiams/build_flash.sh
@@ -2,7 +2,8 @@
2# dfu-programmer atmega32u4 flash /path/to/firmware.hex 2# dfu-programmer atmega32u4 flash /path/to/firmware.hex
3# dfu-programmer atmega32u4 reset 3# dfu-programmer atmega32u4 reset
4 4
5# run this in the qmk_firmware directory
5make dz60:billiams 6make dz60:billiams
6dfu-programmer atmega32u4 erase --force && \ 7dfu-programmer atmega32u4 erase --force && \
7dfu-programmer atmega32u4 flash .build/dz60_billiams.hex && \ 8dfu-programmer atmega32u4 flash dz60_billiams.hex && \
8dfu-programmer atmega32u4 reset \ No newline at end of file 9dfu-programmer atmega32u4 reset \ No newline at end of file
diff --git a/keyboards/dz60/keymaps/billiams/keymap.c b/keyboards/dz60/keymaps/billiams/keymap.c
index 7195639de..596ec19db 100644
--- a/keyboards/dz60/keymaps/billiams/keymap.c
+++ b/keyboards/dz60/keymaps/billiams/keymap.c
@@ -30,21 +30,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
30 * ,-----------------------------------------------------------------------------------------. 30 * ,-----------------------------------------------------------------------------------------.
31 * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DEL | 31 * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DEL |
32 * |-----------------------------------------------------------------------------------------+ 32 * |-----------------------------------------------------------------------------------------+
33 * | |RBB T|RGB M| Hue+| Hue-| Sat+| Sat-| Val+| Val-| | | | Prev | Next | 33 * | |RBB T|RGB M| Hue-| Hue+| Sat-| Sat+| Val-| Val+| | | MUTE | Vol- | Vol+ |
34 * |-----------------------------------------------------------------------------------------+ 34 * |-----------------------------------------------------------------------------------------+
35 * | | BL T| BL M| BL- | BL+ | | | | | | Vol-| Vol+| Play/Pause | 35 * | | | | | | | | | | | Prev | Next | Play/Pause |
36 * |-----------------------------------------------------------------------------------------+ 36 * |-----------------------------------------------------------------------------------------+
37 * | | | | | | | | |Scr- |Scr+ | |PG_UP|RESET| 37 * | | | | | | | | |Scr- |Scr+ | |PG_UP|RESET|
38 * |-----------------------------------------------------------------------------------------+ 38 * |-----------------------------------------------------------------------------------------+
39 * | | | | Play/Pause | | | HOME|PG_DN| END | 39 * | | | | | | | HOME|PG_DN| END |
40 * `-----------------------------------------------------------------------------------------' 40 * `-----------------------------------------------------------------------------------------'
41 */ 41 */
42 42
43 LAYOUT_directional( 43 LAYOUT_directional(
44 ______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, ______, KC_DEL, 44 ______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, ______, KC_DEL,
45 ______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, ______, ______, ______, KC_MEDIA_REWIND, KC_MEDIA_FAST_FORWARD, 45 ______, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, ______, ______, KC_MUTE, KC__VOLDOWN, KC__VOLUP,
46 ______, BL_TOGG, BL_STEP, BL_DEC, BL_INC, ______, ______, ______, ______, ______, KC__VOLDOWN, KC__VOLUP, 46 ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_MRWD, KC_MFFD,
47 KC_MEDIA_PLAY_PAUSE, ______, ______, ______, ______, ______, ______, ______, ______, KC_BRIGHTNESS_DOWN, KC_BRIGHTNESS_UP, ______, ______, KC_PGUP, RESET, 47 KC_MPLY, ______, ______, ______, ______, ______, ______, ______, ______, KC_BRID, KC_BRIU, ______, ______, KC_PGUP, RESET,
48 ______, ______, ______, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_PLAY_PAUSE, ______, ______, KC_HOME, KC_PGDOWN, KC_END 48 ______, ______, ______, ______, ______, ______, ______, ______, KC_HOME, KC_PGDOWN, KC_END
49 ), 49 ),
50}; 50};