diff options
author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2019-05-31 11:57:07 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-05-31 11:57:07 -0700 |
commit | 2a1f6389c27720ca20dbe7941a78245677e644e6 (patch) | |
tree | cef931b8703474addfe2fc1fc359e78e118c5500 /keyboards/ymd96/README.md | |
parent | 9cc5841a91ff1bf95d6895254b43b097a0f365aa (diff) | |
download | firmware-2a1f6389c27720ca20dbe7941a78245677e644e6.tar.gz firmware-2a1f6389c27720ca20dbe7941a78245677e644e6.tar.bz2 firmware-2a1f6389c27720ca20dbe7941a78245677e644e6.zip |
[Keyboard] YMD96 refactor (#5472)
* Remove JJ50 data from YMD96
JJ50 was actually added as its own keyboard when this was added in #2546. It should have been taken out then, but wasn't.
* Update ymd96.h
- use #pragma once include guard
- remove redundant file includes
* Update LAYOUT_iso macro to K<row><col> notation
* Update LAYOUT_custom macro to K<row><col> notation
* Update LAYOUT_default macro to K<row><col> notation
* Refactor default keymap
* Rename readme file to lowercase
* Rename layers enum and default layer
- renamed layers enum to layer_names
- proposed by fauxpark in Issue 5977, and I like the idea
- https://github.com/qmk/qmk_firmware/issues/5977#issuecomment-495924338
- renamed the base layer to _DEFAULT
- I think it looks nicer.
Diffstat (limited to 'keyboards/ymd96/README.md')
-rw-r--r-- | keyboards/ymd96/README.md | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/keyboards/ymd96/README.md b/keyboards/ymd96/README.md deleted file mode 100644 index 9cb376058..000000000 --- a/keyboards/ymd96/README.md +++ /dev/null @@ -1,63 +0,0 @@ -YMD96 -========================== - -This is a port of the QMK firmware for boards that are based on the -ps2avrGB firmware, like the [ps2avrGB -keyboard](https://www.keyclack.com/product/gb-ps2avrgb/), for use on the YMD96. - -Note that this is a complete replacement for the firmware, so you won't be -using Bootmapper Client to change any keyboard settings, since not all the -USB report options are supported. - -Here is the default layout, it is fairly simple with a few function keys: -![YMD96 Layout](https://i.imgur.com/3QnqVPn.png) -If you have a different layout (since there were many options during the GB), please feel free to contribute! - -Keyboard maintainer: [Andrew](https://github.com/sparkyman215) -Hardware Supported: YMD96 with the ATmega32a chip. -Hardware Availability: The GB was run June 2017, [in this thread](https://www.reddit.com/r/mechmarket/comments/6hu3yx/vendor_ymd96_gb_is_now_live_68_an_universal_and/). The vendor has stated that they plan on selling more rounds. - -A very big thanks to @krusli for making the RGB underglow, Backlight, CapsLock and NumLock LEDs working correctly. - -## Finding your specific matrix - -This firmware was modified from [ps2avrGB](https://github.com/qmk/qmk_firmware/tree/master/keyboards/ps2avrGB), also found on this qmk repo, to work with the YMD96 keyboard. However, I only have one board to test with, which might have a different layout than yours. To get qmk working with your specific layout, you'll need to follow these steps: - -1. Follow the [guide here](https://www.massdrop.com/talk/1392/programming-kbd-keyboards-via-bootmapper-client) to get Bootmapper Client setup. While you won't need it after you get qmk working, you need to use Bootmapper Client to figure out how the matrix is laid out. In the end, here's an example of what it should look like: ![BMC](https://i.imgur.com/wNihDwn.png) -2. Next is the tricky part: editing the `ymd96.h` file. Here, you have to figure out how the keys are laid out physically and assign each key the right keycode. Study how the codes in brackets correspond to the BMC columns. Consider the first column: K000 corresponds to Col 1 Row 1, and K100 corresponds to Col 2 Row 1. K111 = Col 2 Row 10. -3. First, you need to define the codes that are actually used in the brackets. KC_NO is used whenever a cell isn't used, such as col 1 row 4-6 in BMC. -4. Once you have all those set up, you need to put the keycodes where they physically are in the KEYMAP( area. Since the columns aren't all uniform (e.g. col2row6 is B, but col2row7 is the numpad 1), the keycodes will be all over the place. -5. Finally! Hard part is pretty much done. Next, you simply have to edit the `keymap.c` file to actually assign the keycodes to do something. You essentially replace the keycodes (e.g. K000) with actual codes that do something, e.g. KC_ENTER. Modify these to your hearts content, and of course this is where all the extra functionality of QMK shines. I won't get into it here, but hopefully you've made it this far! - -## Installing and Building - -Since the YMD96 uses an ATmega32a chip instead of the 32u4, you need to download [HIDBootFlash v.1.0](http://vusb.wikidot.com/project:hidbootflash) for Windows. For Linux you can use the [bootloadHID](https://www.obdev.at/products/vusb/bootloadhid.html) utility (which will require building). Arch Linux users can alternatively install this from the [AUR](https://aur.archlinux.org/packages/bootloadhid/). -On Windows, I use [MINGw](http://www.mingw.org/) to compile the keymaps. On Linux, you can simply use the terminal. - -Once you have those two pieces of software: -Build the keyboard by navigating to the root folder of the QMK repo and running -``` -$ make ymd96:default -``` -If you make your own layout, change the `default` word to whatever your layout is. - -To flash the compiled hex file, simply put the board in flashing mode by plugging it in while holding control. -In `HIDBootFlash` first click `find device`, then you can specify the .hex file and flash it to the device. -For `bootloadHID`, from a terminal that is in the same folder as your firmware file, run -``` -$ sudo bootloadHID ymd96_default.hex -``` -Again replacing default with your custom keymap name if required. - -## Troubleshooting - -From my experience, it's really hard to brick these boards. But these -tricks have been useful when it got stuck in a weird scenario. - -1. Try plugging the board in while pressing `L_Ctrl`. This will force it - to boot only the bootloader without loading the firmware. Once this is - done, just reflash the board with the original firmware. -2. Sometimes USB hubs can act weird, so try connecting the board directly - to your computer or plugging/unplugging the USB hub. - -Lastly, if you still need help, you can add me on Discord and I'll be happy to help. |