]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
update ymdk96 files
authorsparkyman215 <4030760+sparkyman215@users.noreply.github.com>
Thu, 1 Mar 2018 19:13:28 +0000 (14:13 -0500)
committerJack Humbert <jack.humb@gmail.com>
Fri, 9 Mar 2018 18:34:37 +0000 (13:34 -0500)
keyboards/ymd96/README.md
keyboards/ymd96/config.h
keyboards/ymd96/keymaps/default/keymap.c

index a60323ab95f565dc62930312710ca871614ccf87..5de5062ecd4bc867465e0d8218129ad3ca13cd00 100644 (file)
@@ -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.
index e0a2aa1383290a1b5ed07f0fac920bbeb7b9c563..8a0668ac98165bb70f5aa9c2f8d4df0e00cc6dd0 100644 (file)
@@ -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)))
index ae2b3ed19736cb97725ee2b1d7ebff5582cba516..1ca3d22a34fd49fe51a7c50d3136d3da237ad400 100644 (file)
@@ -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