From 7e2223f82237ab9c4426e54120cd4ac4d950c79b Mon Sep 17 00:00:00 2001 From: Florian Beeres Date: Wed, 8 Nov 2017 17:13:06 +0100 Subject: [PATCH] Improved README of yuuki and added RGB commands (#1983) * Add yuuki keymap Documentation is still a TODO and the keymap may not be final * GRV on colon * add KC_GRV to FN ESC * more RGB modes * Update README.md Add image of layout and fix typo * switch from jpg to png For some reason the JPG had red outlines around the keys. * remove whitespace * add instruction to reset keyboard before flashing * gh60 stytle layout * moved the GH60 style layout to new folder * add HOME and END * Add heading * moved ayanami to other branch --- keyboards/xd60/keymaps/yuuki/README.md | 11 ++++++++--- keyboards/xd60/keymaps/yuuki/keymap.c | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/keyboards/xd60/keymaps/yuuki/README.md b/keyboards/xd60/keymaps/yuuki/README.md index 83fdbf2b709..ebb2f8c1c98 100644 --- a/keyboards/xd60/keymaps/yuuki/README.md +++ b/keyboards/xd60/keymaps/yuuki/README.md @@ -6,13 +6,18 @@ Customized xd60 keymap with inspirations from HHKB and the layout I used on my V Change the layout in `keymap.c` then run `make xd60:yuuki`. The compiled file will be located in `.build/xd60_yuuki.hex` relative to the project root. To flash it onto your keyboard, use whatever program works on your OS. I personally use `dfu-programmer`, and run: +* reset keyboard by pressing the reset button on the back of the PCB * `sudo dfu-programmer atmega32u4 erase` -* `sudo dfu-programmer atmega32u4 flash .build/xd60-yuuki.hex` +* `sudo dfu-programmer atmega32u4 flash .build/xd60_yuuki.hex` * `sudo dfu-programmer atmega32u4 start` ## Layout -See `keymap.c` for the details, but here are the important features: +![Keyboard Layout](https://github.com/cideM/cidem.github.io/blob/master/keyboard-layout.png "Layout") + +Upper row is default layer, bottom row is function layer. I Didn't include the symbols, such as @,# or $, as their placement is just as you'd expect it. + +## Summary of Changes | Key | Function | | -------------------------- | ---------------------------------- | @@ -23,4 +28,4 @@ See `keymap.c` for the details, but here are the important features: | FN + HJKL | Arrow Keys | | Rightmost key in second row from bottom | Temporarily activate function layer | | FN + C | ^ | -| FN + V | & (both for convenience as I use these keys a lot with VIM navigation and I find them hard reach) | \ No newline at end of file +| FN + V | & (both for convenience as I use these keys a lot with VIM navigation and I find them hard reach) | diff --git a/keyboards/xd60/keymaps/yuuki/keymap.c b/keyboards/xd60/keymaps/yuuki/keymap.c index ce2f91e9e70..9adb5b116f4 100644 --- a/keyboards/xd60/keymaps/yuuki/keymap.c +++ b/keyboards/xd60/keymaps/yuuki/keymap.c @@ -19,7 +19,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { // 1: Function Layer [FN] = KEYMAP( KC_GRV, 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, KC_DEL, \ - KC_TRNS, RGB_MOD, RGB_VAI, KC_TRNS, KC_TRNS, KC_HOME, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, \ + KC_TRNS, RGB_MOD, RGB_VAI, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, \ KC_TRNS, RGB_TOG, RGB_VAD, KC_MUTE, KC_VOLU, KC_VOLD, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_TRNS, KC_NO, KC_ENT, \ KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_CIRC, KC_AMPR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, KC_TRNS, \ KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDOWN,KC_END