Giter Site home page Giter Site logo

qmk-drop-alt's Introduction

qmk-drop-alt ⌨️

This is a custom QMK keymap and lighting firmware for Drop ALT keyboards.

Usage

Go to Releases and download the binary file. You can use either QMK Toolbox or mdloader to flash your keyboard.

Compiling from source

If you don't trust the binary release, you can also build from source. If you plan on making modifications to the keymap or lighting programs, this will be mandatory.

Prerequisites

You will need qmk CLI tool in order to build the firmware. Please read Setting Up Your QMK Environment and set up your QMK build environment before getting started.

Getting Started

Navigate to QMK home directory. On default installs, this should generally be at: $HOME/qmk_firmware.

Configure your build environment and set your keyboard as Drop ALT:

qmk config user.keyboard=massdrop/alt

Then, add this repository into keyboards/massdrop/alt/keymaps as a submodule:

cd keyboards/massdrop/alt/keymaps
git submodule add https://github.com/AndrewJo/qmk-drop-alt AndrewJo/

If you plan on modifying the code, please fork this repository first and replace the repository path accordingly.

You can now build the firmware:

qmk compile

This will create a binary file that is named as massdrop_alt_AndrewJo.bin.

You can flash this binary using the tools mentioned in the Usage section above.

LED Matrix Themes

Outrun Sunset

Outrun

Supported Lighting Commands

  • Fn + W: Increase brightness
  • Fn + S: Decrease brightness
  • Fn + T: Increase saturation
  • Fn + G: Decrease saturation
  • Fn + Z: Toggle: All LEDs / Key LEDs / Underglow LEDs / LED Off

Game Mode: FPS

Game - FPS

Supported Lighting Commands

  • Fn + W: Increase brightness
  • Fn + S: Decrease brightness
  • Fn + R: Increase background hue value
  • Fn + F: Decrease background hue value
  • Fn + E: Increase foreground hue value (WASD keys)
  • Fn + Q: Decrease foreground hue value (WASD keys)
  • Fn + T: Increase saturation
  • Fn + G: Decrease saturation
  • Fn + Z: Toggle: All LEDs / Key LEDs / Underglow LEDs / LED Off

Game Mode: MOBA

Game - MOBA

Supported Lighting Commands

  • Fn + W: Increase brightness
  • Fn + S: Decrease brightness
  • Fn + R: Increase background hue value
  • Fn + F: Decrease background hue value
  • Fn + E: Increase foreground hue value (WASD keys)
  • Fn + Q: Decrease foreground hue value (WASD keys)
  • Fn + T: Increase saturation
  • Fn + G: Decrease saturation
  • Fn + Z: Toggle: All LEDs / Key LEDs / Underglow LEDs / LED Off

qmk-drop-alt's People

Contributors

andrewjo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

qmk-drop-alt's Issues

Errors when compiling using latest qmk

Hopefully I'm just doing something wrong, but I can build the default keymap, mac keymap, and a Github repo for the pleasuretek keymap, but when I try to build this keymap, I get a bunch of errors. Also, I did attempt to follow the instructions to run qmk compile int he keymap directory, but I got a qmk usage error with that. Any idea what might be happening here?

Attempt to run qmk compile:

qmk compile
☒ You must supply a configurator export, both `--keyboard` and `--keymap`, or be in a directory for a keyboard or keymap.
usage: qmk compile [-h] [--compiledb] [-c] [-e ENV] [-j PARALLEL] [-n] [-km KEYMAP] [-kb KEYBOARD] [filename]

positional arguments:
  filename              The configurator export to compile

options:
  -h, --help            show this help message and exit
  --compiledb           Generates the clang compile_commands.json file during build. Implies --clean.
  -c, --clean           Remove object files before compiling.
  -e ENV, --env ENV     Set a variable to be passed to make. May be passed multiple times.
  -j PARALLEL, --parallel PARALLEL
                        Set the number of parallel make jobs; 0 means unlimited.
  -n, --dry-run         Don't actually build, just show the make command to be run.
  -km KEYMAP, --keymap KEYMAP
                        The keymap to build a firmware for. Ignored when a configurator export is supplied.
  -kb KEYBOARD, --keyboard KEYBOARD
                        The keyboard to build a firmware for. Ignored when a configurator export is supplied.

Attempt to run make massdrop/alt:AndrewJo (same way I build everything else that works):

make massdrop/alt:AndrewJo
QMK Firmware 0.6.103
WARNING:
 Some git sub-modules are out of date or modified, please consider running:
 make git-submodule
 You can ignore this warning if you are not compiling any ChibiOS keyboards,
 or if you have modified the ChibiOS libraries yourself.

Making massdrop/alt with keymap AndrewJo

arm-none-eabi-gcc (Homebrew ARM GCC 8.5.0_1) 8.5.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiling: keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c                                        keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:4:16: error: 'QK_KB_0' undeclared here (not in a function); did you mean 'KC_KP_0'?
     U_T_AUTO = QK_KB_0,  //USB Extra Port Toggle Auto Detect / Always Active
                ^~~~~~~
                KC_KP_0
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:14:11: error: implicit declaration of function 'LAYOUT_65_ansi_blocker' [-Werror=implicit-function-declaration]
     [0] = LAYOUT_65_ansi_blocker(
           ^~~~~~~~~~~~~~~~~~~~~~
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:15:9: error: 'QK_GESC' undeclared here (not in a function); did you mean 'KC_GESC'?
         QK_GESC, KC_1,    KC_2,    KC_3,    KC_4,    KC_5,    KC_6,    KC_7,    KC_8,    KC_9,    KC_0,    KC_MINS, KC_EQL,  KC_BSPC, KC_DEL,  \
         ^~~~~~~
         KC_GESC
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:23:108: error: 'KC_SCRL' undeclared here (not in a function); did you mean 'KC_RCTRL'?
         _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_END, \
                                                                                                            ^~~~~~~
                                                                                                            KC_RCTRL
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:25:63: error: 'NK_TOGG' undeclared here (not in a function); did you mean 'CK_TOGG'?
         _______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, DBG_TOG, _______, _______, _______, _______,          KC_VOLU, KC_BRID, \
                                                               ^~~~~~~
                                                               CK_TOGG
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:28:11: error: initializer element is not constant
     [2] = LAYOUT_65_ansi_blocker(
           ^~~~~~~~~~~~~~~~~~~~~~
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:28:11: note: (near initialization for 'keymaps[2][0][0]')
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:35:11: error: initializer element is not constant
     [3] = LAYOUT_65_ansi_blocker(
           ^~~~~~~~~~~~~~~~~~~~~~
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:35:11: note: (near initialization for 'keymaps[3][0][0]')
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c: In function 'process_record_user':
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:102:23: error: implicit declaration of function 'rgb_matrix_get_flags'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
               switch (rgb_matrix_get_flags()) {
                       ^~~~~~~~~~~~~~~~~~~~
                       rgb_matrix_init_user
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:103:22: error: 'LED_FLAG_ALL' undeclared (first use in this function); did you mean 'LED_FLAG_NULL'?
                 case LED_FLAG_ALL: {
                      ^~~~~~~~~~~~
                      LED_FLAG_NULL
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:103:22: note: each undeclared identifier is reported only once for each function it appears in
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:104:21: error: implicit declaration of function 'rgb_matrix_set_flags'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
                     rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
                     ^~~~~~~~~~~~~~~~~~~~
                     rgb_matrix_init_user
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:104:42: error: 'LED_FLAG_KEYLIGHT' undeclared (first use in this function); did you mean 'LED_FLAG_USE_RGB'?
                     rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
                                          ^~~~~~~~~~~~~~~~~
                                          LED_FLAG_USE_RGB
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:104:62: error: 'LED_FLAG_MODIFIER' undeclared (first use in this function); did you mean 'LED_FLAG_MATCH_ID'?
                     rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
                                                              ^~~~~~~~~~~~~~~~~
                                                              LED_FLAG_MATCH_ID
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:104:82: error: 'LED_FLAG_INDICATOR' undeclared (first use in this function); did you mean 'LED_FLAG_USE_PATTERN'?
                     rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
                                                                                  ^~~~~~~~~~~~~~~~~~
                                                                                  LED_FLAG_USE_PATTERN
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:105:21: error: implicit declaration of function 'rgb_matrix_set_color_all'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
                     rgb_matrix_set_color_all(0, 0, 0);
                     ^~~~~~~~~~~~~~~~~~~~~~~~
                     rgb_matrix_init_user
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:109:42: error: 'LED_FLAG_UNDERGLOW' undeclared (first use in this function); did you mean 'LED_FLAG_USE_RGB'?
                     rgb_matrix_set_flags(LED_FLAG_UNDERGLOW);
                                          ^~~~~~~~~~~~~~~~~~
                                          LED_FLAG_USE_RGB
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:114:42: error: 'LED_FLAG_NONE' undeclared (first use in this function); did you mean 'LED_FLAG_NULL'?
                     rgb_matrix_set_flags(LED_FLAG_NONE);
                                          ^~~~~~~~~~~~~
                                          LED_FLAG_NULL
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:115:21: error: implicit declaration of function 'rgb_matrix_disable_noeeprom'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
                     rgb_matrix_disable_noeeprom();
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                     rgb_matrix_init_user
keyboards/massdrop/alt/keymaps/AndrewJo/keymap.c:120:21: error: implicit declaration of function 'rgb_matrix_enable_noeeprom'; did you mean 'rgb_matrix_init_user'? [-Werror=implicit-function-declaration]
                     rgb_matrix_enable_noeeprom();
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
                     rgb_matrix_init_user
cc1: all warnings being treated as errors
 [ERRORS]
 |
 |
 |
make[1]: *** [.build/obj_massdrop_alt_AndrewJo/keyboards/massdrop/alt/keymaps/AndrewJo/keymap.o] Error 1
Make finished with errors
make: *** [massdrop/alt:AndrewJo] Error 1

SmartEEPROM functionality

HI, I'm really enjoying your custom firmware, the only downside is that it doesn't support the new SmartEEPROM functionality for this keyboard. Is there any chance you could update your firmware to support this? Thanks - Iain

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.