diff options
author | sparkyman215 <4030760+sparkyman215@users.noreply.github.com> | 2018-03-01 14:13:28 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-03-09 13:34:37 -0500 |
commit | 141a52982e9d6d5bc290b831713b6d4f400fbf83 (patch) | |
tree | 08ad9da2cf51900b0cbb44898a30dd6514cb27c4 /keyboards/ymd96 | |
parent | ac5326595c88503cc183e7b93af45b7d13e2a557 (diff) | |
download | qmk_firmware-141a52982e9d6d5bc290b831713b6d4f400fbf83.tar.gz |
update ymdk96 files
Diffstat (limited to 'keyboards/ymd96')
-rw-r--r-- | keyboards/ymd96/README.md | 25 | ||||
-rw-r--r-- | keyboards/ymd96/config.h | 5 | ||||
-rw-r--r-- | keyboards/ymd96/keymaps/default/keymap.c | 18 |
3 files changed, 22 insertions, 26 deletions
diff --git a/keyboards/ymd96/README.md b/keyboards/ymd96/README.md index a60323ab9..5de5062ec 100644 --- a/keyboards/ymd96/README.md +++ b/keyboards/ymd96/README.md @@ -10,7 +10,7 @@ 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/qCwE2ns.png) +![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) @@ -29,27 +29,18 @@ This firmware was modified from [ps2avrGB](https://github.com/qmk/qmk_firmware/t ## Installing and Building -First, install the requirements. These commands are for OSX, but all you -need is the AVR toolchain and `bootloadHID` for flashing: - -``` -$ brew cask install crosspack-avr -$ brew install --HEAD https://raw.githubusercontent.com/robertgzr/homebrew-tap/master/bootloadhid.rb -``` - -In order to use the `./program` script, which can reboot the board into -the bootloader, you'll need Python 2 with PyUSB installed: - -``` -$ pip install pyusb -``` +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. If anyone knows of a Linux/Mac bootflasher that works, edit this readme! +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 with ``` -$ make ymd96:default +$ make ymd96-default ``` If you make your own layout, change the `default` word to whatever your layout is. +And flash the compiled hex file with `HIDBootFlash`. Simply put the board in flashing mode by plugging it in while holding control, and click `find device`. Then you can specify the .hex file and flash it to the device. + ## Troubleshooting From my experience, it's really hard to brick these boards. But these @@ -60,3 +51,5 @@ tricks have been useful when it got stuck in a weird scenario. 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. diff --git a/keyboards/ymd96/config.h b/keyboards/ymd96/config.h index e0a2aa138..8a0668ac9 100644 --- a/keyboards/ymd96/config.h +++ b/keyboards/ymd96/config.h @@ -31,10 +31,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_COLS 15 #define DIODE_DIRECTION ROW2COL -#define RGBLED_NUM 20 +#define RGB_DI_PIN C4 +#define RGBLED_NUM 18 #define RGBLIGHT_ANIMATIONS +#define RGBLIGHT_VAL_STEP 20 #define NO_UART 1 +#define BOOTLOADHID_BOOTLOADER 1 /* key combination for command */ #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) diff --git a/keyboards/ymd96/keymaps/default/keymap.c b/keyboards/ymd96/keymaps/default/keymap.c index ae2b3ed19..1ca3d22a3 100644 --- a/keyboards/ymd96/keymaps/default/keymap.c +++ b/keyboards/ymd96/keymaps/default/keymap.c @@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * | Tab | Q | W | E | R | T | Y | U | I | O | P | { | } | \ | 7 | 8 | 9 | - | 18 keys * | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Return | 4 | 5 | 6 | + | 17 keys * | LShft | Z | X | C | V | B | N | M | , | . | / | RShft | 1 | 2 | 3 | En | 16 keys - * | Ctrl | Win | Alt | Space | Fn | Win | Left | Down | Up | Right| 0 | . | ter | 12 keys + * | Ctrl | Win | Alt | Space | Fn | Win | Left | Down | Up | Right| 0 | . | | 12 keys */ [_DEFLT] = KEYMAP( @@ -46,17 +46,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* Layer 1, raise layer * | | | | | | | | | | | | | | | | | | | | * | | | | | | | | | | | | | | | | | | | - * | | | | | | | | | | | | | | | | | | | + * | | |rgb_up|rgb_dn|rgb_mo| | | | | | F22 | F23 | F24 | | | | | | * | | | | | | | | | | | | | | | | | | * | | | | | | | | | VolDn| VolUp| Mute | Play/Pause | | | | | - * | | | | | | | | | | | | | | + * | | | | | | |MPrev | | | MNext| | | | */ [_RAISE] = KEYMAP( - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_F22, KC_F23, KC_F24, ______, ______, ______, ______, ______, \ - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ - ______, ______, ______, ______, ______, ______, ______, ______, KC_VOLD,KC_VOLU, KC_MUTE, KC_MPLY, ______, ______, ______, ______, \ - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ \ + ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ + ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ + ______, ______, RGB_VAI, RGB_VAD, RGB_MOD, ______, ______, ______, ______, ______, KC_F22, KC_F23, KC_F24, ______, ______, ______, ______, ______, \ + ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ + ______, ______, ______, ______, ______, ______, ______, ______, KC_VOLD,KC_VOLU, KC_MUTE, KC_MPLY, ______, ______, ______, ______, \ + ______, ______, ______, ______, ______, ______, KC_MPRV, ______, ______, KC_MNXT, ______, ______ \ ) };
\ No newline at end of file |