diff options
| author | fauxpark <fauxpark@gmail.com> | 2019-07-12 05:04:22 +1000 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-07-11 12:04:22 -0700 |
| commit | 2bbbfc61543053f297e38fd070d8b18ee380bff5 (patch) | |
| tree | a605da38f972b5fb660a8ea4939b4f4c80b26c99 /keyboards/felix | |
| parent | ecf0612cc8ed9458e30f7feafe6b3f7bb6985788 (diff) | |
| download | qmk_firmware-2bbbfc61543053f297e38fd070d8b18ee380bff5.tar.gz qmk_firmware-2bbbfc61543053f297e38fd070d8b18ee380bff5.zip | |
[Keyboard] Update Felix keyboard (#6306)
Diffstat (limited to 'keyboards/felix')
| -rw-r--r-- | keyboards/felix/config.h | 218 | ||||
| -rw-r--r-- | keyboards/felix/felix.h | 5 | ||||
| -rw-r--r-- | keyboards/felix/info.json | 23 | ||||
| -rw-r--r-- | keyboards/felix/keymaps/default/keymap.c | 25 | ||||
| -rw-r--r-- | keyboards/felix/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/felix/rules.mk | 38 |
6 files changed, 257 insertions, 54 deletions
diff --git a/keyboards/felix/config.h b/keyboards/felix/config.h index 0dd8eea07..19a5247d2 100644 --- a/keyboards/felix/config.h +++ b/keyboards/felix/config.h | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #ifndef CONFIG_H | 1 | #pragma once |
| 2 | #define CONFIG_H | ||
| 3 | 2 | ||
| 4 | #include "config_common.h" | 3 | #include "config_common.h" |
| 5 | 4 | ||
| @@ -9,40 +8,225 @@ | |||
| 9 | #define DEVICE_VER 0x0001 | 8 | #define DEVICE_VER 0x0001 |
| 10 | #define MANUFACTURER Unikeyboard | 9 | #define MANUFACTURER Unikeyboard |
| 11 | #define PRODUCT Felix | 10 | #define PRODUCT Felix |
| 12 | #define DESCRIPTION 4x5 number/macropad. | 11 | #define DESCRIPTION 4x5 number/macropad |
| 13 | 12 | ||
| 14 | /* key matrix size */ | 13 | /* key matrix size */ |
| 15 | #define MATRIX_ROWS 5 | 14 | #define MATRIX_ROWS 5 |
| 16 | #define MATRIX_COLS 4 | 15 | #define MATRIX_COLS 4 |
| 17 | 16 | ||
| 18 | /* key matrix pins */ | 17 | /* |
| 18 | * Keyboard Matrix Assignments | ||
| 19 | * | ||
| 20 | * Change this to how you wired your keyboard | ||
| 21 | * COLS: AVR pins used for columns, left to right | ||
| 22 | * ROWS: AVR pins used for rows, top to bottom | ||
| 23 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 24 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 25 | * | ||
| 26 | */ | ||
| 19 | #define MATRIX_ROW_PINS { B2, B3, B1, F7, F6 } | 27 | #define MATRIX_ROW_PINS { B2, B3, B1, F7, F6 } |
| 20 | #define MATRIX_COL_PINS { B5, B4, E6, D7 } | 28 | #define MATRIX_COL_PINS { B5, B4, E6, D7 } |
| 21 | #define UNUSED_PINS | 29 | #define UNUSED_PINS |
| 22 | 30 | ||
| 23 | /* COL2ROW or ROW2COL */ | 31 | /* COL2ROW, ROW2COL */ |
| 24 | #define DIODE_DIRECTION ROW2COL | 32 | #define DIODE_DIRECTION ROW2COL |
| 25 | 33 | ||
| 26 | /* number of backlight levels */ | 34 | /* |
| 27 | /* Not sure what pin controls the backlighting, need help for this. */ | 35 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. |
| 28 | #define BACKLIGHT_PIN | 36 | */ |
| 37 | #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
| 38 | |||
| 39 | #define BACKLIGHT_PIN C6 | ||
| 29 | #define BACKLIGHT_LEVELS 5 | 40 | #define BACKLIGHT_LEVELS 5 |
| 41 | //#define BACKLIGHT_BREATHING | ||
| 42 | |||
| 43 | // #define RGB_DI_PIN E2 | ||
| 44 | // #ifdef RGB_DI_PIN | ||
| 45 | // #define RGBLED_NUM 16 | ||
| 46 | // #define RGBLIGHT_HUE_STEP 8 | ||
| 47 | // #define RGBLIGHT_SAT_STEP 8 | ||
| 48 | // #define RGBLIGHT_VAL_STEP 8 | ||
| 49 | // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 50 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 51 | // /*== all animations enable ==*/ | ||
| 52 | // #define RGBLIGHT_ANIMATIONS | ||
| 53 | // /*== or choose animations ==*/ | ||
| 54 | // #define RGBLIGHT_EFFECT_BREATHING | ||
| 55 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 56 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 57 | // #define RGBLIGHT_EFFECT_SNAKE | ||
| 58 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
| 59 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 60 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 61 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 62 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 63 | // /*== customize breathing effect ==*/ | ||
| 64 | // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 65 | // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 66 | // /*==== use exp() and sin() ====*/ | ||
| 67 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 68 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 69 | // #endif | ||
| 30 | 70 | ||
| 31 | /* Set 0 if debouncing isn't needed */ | 71 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 32 | #define DEBOUNCE 5 | 72 | #define DEBOUNCE 5 |
| 33 | 73 | ||
| 74 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 75 | //#define MATRIX_HAS_GHOST | ||
| 76 | |||
| 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 77 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 35 | #define LOCKING_SUPPORT_ENABLE | 78 | #define LOCKING_SUPPORT_ENABLE |
| 36 | |||
| 37 | /* Locking resynchronize hack */ | 79 | /* Locking resynchronize hack */ |
| 38 | #define LOCKING_RESYNC_ENABLE | 80 | #define LOCKING_RESYNC_ENABLE |
| 39 | 81 | ||
| 40 | /* there is no rgb underglow by default. */ | 82 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. |
| 41 | #define RGB_DI_PIN | 83 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). |
| 42 | #define RGBLIGHT_ANIMATIONS | 84 | */ |
| 43 | #define RGBLED_NUM 16 | 85 | // #define GRAVE_ESC_CTRL_OVERRIDE |
| 44 | #define RGBLIGHT_HUE_STEP 8 | 86 | |
| 45 | #define RGBLIGHT_SAT_STEP 8 | 87 | /* |
| 46 | #define RGBLIGHT_VAL_STEP 8 | 88 | * Force NKRO |
| 89 | * | ||
| 90 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 91 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 92 | * makefile for this to work.) | ||
| 93 | * | ||
| 94 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 95 | * until the next keyboard reset. | ||
| 96 | * | ||
| 97 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 98 | * fully operational during normal computer usage. | ||
| 99 | * | ||
| 100 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 101 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 102 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 103 | * power-up. | ||
| 104 | * | ||
| 105 | */ | ||
| 106 | //#define FORCE_NKRO | ||
| 107 | |||
| 108 | /* | ||
| 109 | * Magic Key Options | ||
| 110 | * | ||
| 111 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 112 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 113 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 114 | * | ||
| 115 | * The options below allow the magic key functionality to be changed. This is | ||
| 116 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 117 | * | ||
| 118 | */ | ||
| 119 | |||
| 120 | /* key combination for magic key command */ | ||
| 121 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
| 122 | // #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | ||
| 123 | |||
| 124 | /* control how magic key switches layers */ | ||
| 125 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 126 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 127 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 128 | |||
| 129 | /* override magic key keymap */ | ||
| 130 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 131 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 132 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 133 | //#define MAGIC_KEY_HELP H | ||
| 134 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
| 135 | //#define MAGIC_KEY_DEBUG D | ||
| 136 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 137 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 138 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 139 | //#define MAGIC_KEY_VERSION V | ||
| 140 | //#define MAGIC_KEY_STATUS S | ||
| 141 | //#define MAGIC_KEY_CONSOLE C | ||
| 142 | //#define MAGIC_KEY_LAYER0 0 | ||
| 143 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
| 144 | //#define MAGIC_KEY_LAYER1 1 | ||
| 145 | //#define MAGIC_KEY_LAYER2 2 | ||
| 146 | //#define MAGIC_KEY_LAYER3 3 | ||
| 147 | //#define MAGIC_KEY_LAYER4 4 | ||
| 148 | //#define MAGIC_KEY_LAYER5 5 | ||
| 149 | //#define MAGIC_KEY_LAYER6 6 | ||
| 150 | //#define MAGIC_KEY_LAYER7 7 | ||
| 151 | //#define MAGIC_KEY_LAYER8 8 | ||
| 152 | //#define MAGIC_KEY_LAYER9 9 | ||
| 153 | //#define MAGIC_KEY_BOOTLOADER B | ||
| 154 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
| 155 | //#define MAGIC_KEY_LOCK CAPS | ||
| 156 | //#define MAGIC_KEY_EEPROM E | ||
| 157 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
| 158 | //#define MAGIC_KEY_NKRO N | ||
| 159 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 160 | |||
| 161 | /* | ||
| 162 | * Feature disable options | ||
| 163 | * These options are also useful to firmware size reduction. | ||
| 164 | */ | ||
| 165 | |||
| 166 | /* disable debug print */ | ||
| 167 | //#define NO_DEBUG | ||
| 47 | 168 | ||
| 169 | /* disable print */ | ||
| 170 | //#define NO_PRINT | ||
| 171 | |||
| 172 | /* disable action features */ | ||
| 173 | //#define NO_ACTION_LAYER | ||
| 174 | //#define NO_ACTION_TAPPING | ||
| 175 | //#define NO_ACTION_ONESHOT | ||
| 176 | //#define NO_ACTION_MACRO | ||
| 177 | //#define NO_ACTION_FUNCTION | ||
| 178 | |||
| 179 | /* | ||
| 180 | * MIDI options | ||
| 181 | */ | ||
| 182 | |||
| 183 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 184 | //#define MIDI_ENABLE_STRICT 1 | ||
| 185 | |||
| 186 | /* enable basic MIDI features: | ||
| 187 | - MIDI notes can be sent when in Music mode is on | ||
| 188 | */ | ||
| 189 | //#define MIDI_BASIC | ||
| 190 | |||
| 191 | /* enable advanced MIDI features: | ||
| 192 | - MIDI notes can be added to the keymap | ||
| 193 | - Octave shift and transpose | ||
| 194 | - Virtual sustain, portamento, and modulation wheel | ||
| 195 | - etc. | ||
| 196 | */ | ||
| 197 | //#define MIDI_ADVANCED | ||
| 198 | |||
| 199 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 200 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
| 201 | |||
| 202 | /* | ||
| 203 | * HD44780 LCD Display Configuration | ||
| 204 | */ | ||
| 205 | /* | ||
| 206 | #define LCD_LINES 2 //< number of visible lines of the display | ||
| 207 | #define LCD_DISP_LENGTH 16 //< visibles characters per line of the display | ||
| 208 | |||
| 209 | #define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode | ||
| 210 | |||
| 211 | #if LCD_IO_MODE | ||
| 212 | #define LCD_PORT PORTB //< port for the LCD lines | ||
| 213 | #define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0 | ||
| 214 | #define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1 | ||
| 215 | #define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2 | ||
| 216 | #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 | ||
| 217 | #define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0 | ||
| 218 | #define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1 | ||
| 219 | #define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 | ||
| 220 | #define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3 | ||
| 221 | #define LCD_RS_PORT LCD_PORT //< port for RS line | ||
| 222 | #define LCD_RS_PIN 3 //< pin for RS line | ||
| 223 | #define LCD_RW_PORT LCD_PORT //< port for RW line | ||
| 224 | #define LCD_RW_PIN 2 //< pin for RW line | ||
| 225 | #define LCD_E_PORT LCD_PORT //< port for Enable line | ||
| 226 | #define LCD_E_PIN 1 //< pin for Enable line | ||
| 48 | #endif | 227 | #endif |
| 228 | */ | ||
| 229 | |||
| 230 | /* Bootmagic Lite key configuration */ | ||
| 231 | // #define BOOTMAGIC_LITE_ROW 0 | ||
| 232 | // #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/felix/felix.h b/keyboards/felix/felix.h index 86a9b4e72..f43a586c8 100644 --- a/keyboards/felix/felix.h +++ b/keyboards/felix/felix.h | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #ifndef FELIX_H | 1 | #pragma once |
| 2 | #define FELIX_H | ||
| 3 | 2 | ||
| 4 | #include "quantum.h" | 3 | #include "quantum.h" |
| 5 | 4 | ||
| @@ -18,5 +17,3 @@ | |||
| 18 | } | 17 | } |
| 19 | 18 | ||
| 20 | #define LAYOUT LAYOUT_ortho_5x4 | 19 | #define LAYOUT LAYOUT_ortho_5x4 |
| 21 | |||
| 22 | #endif \ No newline at end of file | ||
diff --git a/keyboards/felix/info.json b/keyboards/felix/info.json index a9b3c3dd0..3b1cfda2f 100644 --- a/keyboards/felix/info.json +++ b/keyboards/felix/info.json | |||
| @@ -6,7 +6,28 @@ | |||
| 6 | "height": 5, | 6 | "height": 5, |
| 7 | "layouts": { | 7 | "layouts": { |
| 8 | "LAYOUT_ortho_5x4": { | 8 | "LAYOUT_ortho_5x4": { |
| 9 | "layout": [{"label":"K000", "x":0, "y":0}, {"label":"K001", "x":1, "y":0}, {"label":"K002", "x":2, "y":0}, {"label":"K003", "x":3, "y":0}, {"label":"K100", "x":0, "y":1}, {"label":"K101", "x":1, "y":1}, {"label":"K102", "x":2, "y":1}, {"label":"K103", "x":3, "y":1}, {"label":"K200", "x":0, "y":2}, {"label":"K201", "x":1, "y":2}, {"label":"K202", "x":2, "y":2}, {"label":"K203", "x":3, "y":2}, {"label":"K300", "x":0, "y":3}, {"label":"K301", "x":1, "y":3}, {"label":"K302", "x":2, "y":3}, {"label":"K303", "x":3, "y":3}, {"label":"K400", "x":0, "y":4}, {"label":"K401", "x":1, "y":4}, {"label":"K402", "x":2, "y":4}, {"label":"K403", "x":3, "y":4}] | 9 | "layout": [ |
| 10 | {"label":"K000", "x":0, "y":0}, | ||
| 11 | {"label":"K001", "x":1, "y":0}, | ||
| 12 | {"label":"K002", "x":2, "y":0}, | ||
| 13 | {"label":"K003", "x":3, "y":0}, | ||
| 14 | {"label":"K100", "x":0, "y":1}, | ||
| 15 | {"label":"K101", "x":1, "y":1}, | ||
| 16 | {"label":"K102", "x":2, "y":1}, | ||
| 17 | {"label":"K103", "x":3, "y":1}, | ||
| 18 | {"label":"K200", "x":0, "y":2}, | ||
| 19 | {"label":"K201", "x":1, "y":2}, | ||
| 20 | {"label":"K202", "x":2, "y":2}, | ||
| 21 | {"label":"K203", "x":3, "y":2}, | ||
| 22 | {"label":"K300", "x":0, "y":3}, | ||
| 23 | {"label":"K301", "x":1, "y":3}, | ||
| 24 | {"label":"K302", "x":2, "y":3}, | ||
| 25 | {"label":"K303", "x":3, "y":3}, | ||
| 26 | {"label":"K400", "x":0, "y":4}, | ||
| 27 | {"label":"K401", "x":1, "y":4}, | ||
| 28 | {"label":"K402", "x":2, "y":4}, | ||
| 29 | {"label":"K403", "x":3, "y":4} | ||
| 30 | ] | ||
| 10 | } | 31 | } |
| 11 | } | 32 | } |
| 12 | } | 33 | } |
diff --git a/keyboards/felix/keymaps/default/keymap.c b/keyboards/felix/keymaps/default/keymap.c index a0093bf8e..630a46c08 100644 --- a/keyboards/felix/keymaps/default/keymap.c +++ b/keyboards/felix/keymaps/default/keymap.c | |||
| @@ -1,22 +1,11 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
| 2 | 2 | ||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 4 | 4 | LAYOUT_ortho_5x4( | |
| 5 | LAYOUT( | 5 | KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, |
| 6 | KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | 6 | KC_P7, KC_P8, KC_P9, KC_PPLS, |
| 7 | KC_P7, KC_P8, KC_P9, KC_PPLS, | 7 | KC_P4, KC_P5, KC_P6, KC_HOME, |
| 8 | KC_P4, KC_P5, KC_P6, KC_HOME, | 8 | KC_P1, KC_P2, KC_P3, KC_END, |
| 9 | KC_P1, KC_P2, KC_P3, KC_END, | 9 | KC_P0, KC_PEQL, KC_PDOT, KC_PENT |
| 10 | KC_P0, KC_PEQL, KC_PDOT, KC_PENT | 10 | ) |
| 11 | ), | ||
| 12 | |||
| 13 | }; | 11 | }; |
| 14 | |||
| 15 | void persistant_default_layer_set(uint16_t default_layer) { | ||
| 16 | } | ||
| 17 | |||
| 18 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 19 | switch (keycode) { | ||
| 20 | } | ||
| 21 | return true; | ||
| 22 | } | ||
diff --git a/keyboards/felix/readme.md b/keyboards/felix/readme.md index d671b0c01..0a3fe10a6 100644 --- a/keyboards/felix/readme.md +++ b/keyboards/felix/readme.md | |||
| @@ -10,4 +10,4 @@ Make example for this keyboard (after setting up your build environment): | |||
| 10 | 10 | ||
| 11 | make felix:default | 11 | make felix:default |
| 12 | 12 | ||
| 13 | See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. | 13 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). |
diff --git a/keyboards/felix/rules.mk b/keyboards/felix/rules.mk index e8f834341..b33785b64 100644 --- a/keyboards/felix/rules.mk +++ b/keyboards/felix/rules.mk | |||
| @@ -37,22 +37,34 @@ F_USB = $(F_CPU) | |||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT |
| 38 | 38 | ||
| 39 | 39 | ||
| 40 | # Boot Section Size in *bytes* | 40 | # Bootloader selection |
| 41 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | 41 | # Teensy halfkay |
| 42 | # Pro Micro caterina | ||
| 43 | # Atmel DFU atmel-dfu | ||
| 44 | # LUFA DFU lufa-dfu | ||
| 45 | # QMK DFU qmk-dfu | ||
| 46 | # atmega32a bootloadHID | ||
| 47 | BOOTLOADER = caterina | ||
| 42 | 48 | ||
| 43 | 49 | ||
| 44 | # Build Options | 50 | # Build Options |
| 45 | # comment out to disable the options. | 51 | # change yes to no to disable |
| 46 | # | 52 | # |
| 47 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | 53 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) |
| 48 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | 54 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) |
| 49 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 55 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| 50 | CONSOLE_ENABLE = no # Console for debug(+400) | 56 | CONSOLE_ENABLE = no # Console for debug(+400) |
| 51 | COMMAND_ENABLE = no # Commands for debug and configuration | 57 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 52 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 58 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 53 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 59 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 54 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 60 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 55 | AUDIO_ENABLE = no | 61 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 56 | RGBLIGHT_ENABLE = no | 62 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 63 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 64 | UNICODE_ENABLE = no # Unicode | ||
| 65 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 66 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 67 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 68 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | ||
| 57 | 69 | ||
| 58 | LAYOUTS = ortho_5x4 | 70 | LAYOUTS = ortho_5x4 |
