diff --git a/planck/lytedev/Makefile b/planck/lytedev/Makefile new file mode 100644 index 0000000..581e08c --- /dev/null +++ b/planck/lytedev/Makefile @@ -0,0 +1,25 @@ + + +# Build Options +# change to "no" to disable the options, or define them in the Makefile in +# the appropriate keymap folder that will get included automatically +# +BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) +MOUSEKEY_ENABLE = yes # Mouse keys(+4700) +EXTRAKEY_ENABLE = yes # Audio control and System control(+450) +CONSOLE_ENABLE = no # Console for debug(+400) +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +MIDI_ENABLE = no # MIDI controls +AUDIO_ENABLE = yes # Audio output on port C6 +UNICODE_ENABLE = no # Unicode +BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID +RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. + +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend + +ifndef QUANTUM_DIR + include ../../../../Makefile +endif \ No newline at end of file diff --git a/planck/lytedev.c b/planck/lytedev/keymap.c similarity index 100% rename from planck/lytedev.c rename to planck/lytedev/keymap.c diff --git a/planck/readme.md b/planck/readme.md index 25bb231..4c14762 100644 --- a/planck/readme.md +++ b/planck/readme.md @@ -3,14 +3,16 @@ This contains my `qmk_firmware`-compatible Planck keymap. ## Flashing -* Clone and setup the repository at https://github.com/jackhumbert/qmk_firmware.git - pay special attention to the dependencies -* Copy the `lytedev.c` file in this directory of this repo to `qmk_firmware/keyboard/planck/lytedev.c` -* From `qmk_firmware/keyboard/planck`, run `make KEYMAP=lytedev` to generate your firmware +* Clone and setup the repository at https://github.com/jackhumbert/qmk_firmware.git - pay special attention to the dependencies (for arch users, `pacman -S avr-libc avr-gcc` and `dfu-programmer` in the AUR) +* Copy the `lytedev` folder in this directory of this repo to `qmk_firmware/keyboard/planck/keymaps/lytedev/` +* From `qmk_firmware/keyboard/planck/keymaps/lytedev/`, run `make` to generate your firmware * Press the flash button on the Planck keyboard -* From `qmk_firmware/keyboard/planck` (same as last terminal command directory), run `make dfu` as root (`sudo make dfu`) +* From `qmk_firmware/keyboard/planck/keymaps/lytedev/` (same as last terminal command directory), run `make dfu` as root (`sudo make dfu`) + +**Tip**: If you don't have an extra keyboard to send the `make dfu` command, just prepend `sleep 10 &&` to it to give yourself 10 seconds to hit the flash button. That should be it! Your Planck keyboard should now be flashed with this layout. ## Modifying -Just modify `lytedev.c` and repeat the steps above for flashing! Easy. +Just modify `lytedev/keymap.c` and repeat the steps above for flashing! Easy.