diff options
| author | DangerousParts <DangerousParts@gmail.com> | 2017-10-31 20:59:23 -0700 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-31 23:59:23 -0400 |
| commit | 20e18d15e3173e342336d99ee0f7ed76392af190 (patch) | |
| tree | 40d52bf95fde6cdd05ca2e755582ae1154e3b598 /keyboards/kona_classic | |
| parent | 83af62322cfe8cbe23f404ec5fa857679dc44cea (diff) | |
| download | qmk_firmware-20e18d15e3173e342336d99ee0f7ed76392af190.tar.gz qmk_firmware-20e18d15e3173e342336d99ee0f7ed76392af190.zip | |
Created Kona Classic config (#1791)
* Created Kona Classic config
* Fixed KonaClassic config
* Updated README
* Updated Readme to conform to format standards
* Added ANSI and ISO layout options
* Fixed images in Readme
* Added labels to images
* Added absolute links to images in Readme
* Image link updates again
* Fixed bottom row keys in some layouts
* Fixed Grave and Tilde
* Fixed Underglow in Kona Classic configs
* Renamed KonaClassic to kona_classic
Diffstat (limited to 'keyboards/kona_classic')
32 files changed, 1811 insertions, 0 deletions
diff --git a/keyboards/kona_classic/README.md b/keyboards/kona_classic/README.md new file mode 100644 index 000000000..5821e0562 --- /dev/null +++ b/keyboards/kona_classic/README.md | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | Kona Classic | ||
| 2 | === | ||
| 3 | |||
| 4 |  | ||
| 5 | |||
| 6 | |||
| 7 | The Kona Classic is a 60% layout + left Function keys. Using a Teensy as the controller, the Kona Classic is provided as a do-it-yourself kit for left f-key enthusiasts. | ||
| 8 | |||
| 9 | Keyboard Maintainer: [Maximillian Hill](https://github.com/DangerousParts) | ||
| 10 | Hardware Supported: Teensy 2.0 | ||
| 11 | Hardware Availability: Via GB | ||
| 12 | |||
| 13 | Layouts that are preconfigured are shown here: | ||
| 14 | |||
| 15 | Default: | ||
| 16 |  | ||
| 17 | |||
| 18 | ANSI: | ||
| 19 |  | ||
| 20 | |||
| 21 | ANSI_split: | ||
| 22 |  | ||
| 23 | |||
| 24 | ANSI_arrows: | ||
| 25 |  | ||
| 26 | |||
| 27 | ANSI_split_arrows: | ||
| 28 |  | ||
| 29 | |||
| 30 | ISO: | ||
| 31 |  | ||
| 32 | |||
| 33 | ISO_split: | ||
| 34 |  | ||
| 35 | |||
| 36 | ISO_arrows: | ||
| 37 |  | ||
| 38 | |||
| 39 | ISO_split_arrows: | ||
| 40 |  | ||
| 41 | |||
| 42 | |||
| 43 | Make example for this keyboard (after setting up your build environment): | ||
| 44 | |||
| 45 | make KonaClassic-default | ||
| 46 | |||
| 47 | See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. \ No newline at end of file | ||
diff --git a/keyboards/kona_classic/config.h b/keyboards/kona_classic/config.h new file mode 100644 index 000000000..fecf64c04 --- /dev/null +++ b/keyboards/kona_classic/config.h | |||
| @@ -0,0 +1,186 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #ifndef CONFIG_H | ||
| 19 | #define CONFIG_H | ||
| 20 | |||
| 21 | #include "config_common.h" | ||
| 22 | |||
| 23 | /* USB Device descriptor parameter */ | ||
| 24 | #define VENDOR_ID 0xFEED | ||
| 25 | #define PRODUCT_ID 0x6060 | ||
| 26 | #define DEVICE_VER 0x0003 | ||
| 27 | #define MANUFACTURER Dangerous Parts | ||
| 28 | #define PRODUCT Kona Classic | ||
| 29 | #define DESCRIPTION QMK keyboard firmware for Kona Classic | ||
| 30 | |||
| 31 | /* key matrix size */ | ||
| 32 | #define MATRIX_ROWS 5 | ||
| 33 | #define MATRIX_COLS 16 | ||
| 34 | |||
| 35 | // ROWS: Top to bottom, COLS: Left to right | ||
| 36 | /* Row pin configuration | ||
| 37 | */ | ||
| 38 | #define MATRIX_ROW_PINS { F1, F5, F6, F7, B6 } | ||
| 39 | /* Column pin configuration | ||
| 40 | */ | ||
| 41 | #define MATRIX_COL_PINS { F0, F4, B5, B4, D7, D6, B0, B1, B3, D2, B7, D0, D1, D3, C6, C7 } | ||
| 42 | #define UNUSED_PINS | ||
| 43 | |||
| 44 | /* COL2ROW or ROW2COL */ | ||
| 45 | #define DIODE_DIRECTION ROW2COL | ||
| 46 | |||
| 47 | // #define BACKLIGHT_PIN B7 | ||
| 48 | // #define BACKLIGHT_BREATHING | ||
| 49 | // #define BACKLIGHT_LEVELS 3 | ||
| 50 | |||
| 51 | /* Underlight configuration | ||
| 52 | */ | ||
| 53 | #define RGB_DI_PIN B2 | ||
| 54 | #define RGBLIGHT_ANIMATIONS | ||
| 55 | #define RGBLED_NUM 30 // Number of LEDs | ||
| 56 | #define RGBLIGHT_HUE_STEP 5 | ||
| 57 | #define RGBLIGHT_SAT_STEP 10 | ||
| 58 | #define RGBLIGHT_VAL_STEP 10 | ||
| 59 | |||
| 60 | /* define if matrix has ghost */ | ||
| 61 | //#define MATRIX_HAS_GHOST | ||
| 62 | |||
| 63 | /* Set 0 if debouncing isn't needed */ | ||
| 64 | #define DEBOUNCING_DELAY 5 | ||
| 65 | |||
| 66 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 67 | #define LOCKING_SUPPORT_ENABLE | ||
| 68 | /* Locking resynchronize hack */ | ||
| 69 | #define LOCKING_RESYNC_ENABLE | ||
| 70 | |||
| 71 | /* | ||
| 72 | * Force NKRO | ||
| 73 | * | ||
| 74 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 75 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 76 | * makefile for this to work.) | ||
| 77 | * | ||
| 78 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 79 | * until the next keyboard reset. | ||
| 80 | * | ||
| 81 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 82 | * fully operational during normal computer usage. | ||
| 83 | * | ||
| 84 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 85 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 86 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 87 | * power-up. | ||
| 88 | * | ||
| 89 | */ | ||
| 90 | //#define FORCE_NKRO | ||
| 91 | |||
| 92 | /* | ||
| 93 | * Magic Key Options | ||
| 94 | * | ||
| 95 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 96 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 97 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 98 | * | ||
| 99 | * The options below allow the magic key functionality to be changed. This is | ||
| 100 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 101 | * | ||
| 102 | */ | ||
| 103 | |||
| 104 | /* key combination for magic key command */ | ||
| 105 | #define IS_COMMAND() ( \ | ||
| 106 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||
| 107 | ) | ||
| 108 | |||
| 109 | /* control how magic key switches layers */ | ||
| 110 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 111 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 112 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 113 | |||
| 114 | /* override magic key keymap */ | ||
| 115 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 116 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 117 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 118 | //#define MAGIC_KEY_HELP1 H | ||
| 119 | //#define MAGIC_KEY_HELP2 SLASH | ||
| 120 | //#define MAGIC_KEY_DEBUG D | ||
| 121 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 122 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 123 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 124 | //#define MAGIC_KEY_VERSION V | ||
| 125 | //#define MAGIC_KEY_STATUS S | ||
| 126 | //#define MAGIC_KEY_CONSOLE C | ||
| 127 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
| 128 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
| 129 | //#define MAGIC_KEY_LAYER0 0 | ||
| 130 | //#define MAGIC_KEY_LAYER1 1 | ||
| 131 | //#define MAGIC_KEY_LAYER2 2 | ||
| 132 | //#define MAGIC_KEY_LAYER3 3 | ||
| 133 | //#define MAGIC_KEY_LAYER4 4 | ||
| 134 | //#define MAGIC_KEY_LAYER5 5 | ||
| 135 | //#define MAGIC_KEY_LAYER6 6 | ||
| 136 | //#define MAGIC_KEY_LAYER7 7 | ||
| 137 | //#define MAGIC_KEY_LAYER8 8 | ||
| 138 | //#define MAGIC_KEY_LAYER9 9 | ||
| 139 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
| 140 | //#define MAGIC_KEY_LOCK CAPS | ||
| 141 | //#define MAGIC_KEY_EEPROM E | ||
| 142 | //#define MAGIC_KEY_NKRO N | ||
| 143 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 144 | |||
| 145 | /* | ||
| 146 | * Feature disable options | ||
| 147 | * These options are also useful to firmware size reduction. | ||
| 148 | */ | ||
| 149 | |||
| 150 | /* disable debug print */ | ||
| 151 | //#define NO_DEBUG | ||
| 152 | |||
| 153 | /* disable print */ | ||
| 154 | //#define NO_PRINT | ||
| 155 | |||
| 156 | /* disable action features */ | ||
| 157 | //#define NO_ACTION_LAYER | ||
| 158 | //#define NO_ACTION_TAPPING | ||
| 159 | //#define NO_ACTION_ONESHOT | ||
| 160 | //#define NO_ACTION_MACRO | ||
| 161 | //#define NO_ACTION_FUNCTION | ||
| 162 | |||
| 163 | /* | ||
| 164 | * MIDI options | ||
| 165 | */ | ||
| 166 | |||
| 167 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 168 | //#define MIDI_ENABLE_STRICT 1 | ||
| 169 | |||
| 170 | /* enable basic MIDI features: | ||
| 171 | - MIDI notes can be sent when in Music mode is on | ||
| 172 | */ | ||
| 173 | //#define MIDI_BASIC | ||
| 174 | |||
| 175 | /* enable advanced MIDI features: | ||
| 176 | - MIDI notes can be added to the keymap | ||
| 177 | - Octave shift and transpose | ||
| 178 | - Virtual sustain, portamento, and modulation wheel | ||
| 179 | - etc. | ||
| 180 | */ | ||
| 181 | //#define MIDI_ADVANCED | ||
| 182 | |||
| 183 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 184 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
| 185 | |||
| 186 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/ansi/config.h b/keyboards/kona_classic/keymaps/ansi/config.h new file mode 100644 index 000000000..a3828f7d5 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef CONFIG_USER_H | ||
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | |||
| 22 | // place overrides here | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/ansi/keymap.c b/keyboards/kona_classic/keymaps/ansi/keymap.c new file mode 100644 index 000000000..fd3a8c6b2 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | #define MODS_SHFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)|MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 19 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 20 | |||
| 21 | // Helpful defines | ||
| 22 | #define ______ KC_TRNS | ||
| 23 | #define XXXXXX KC_NO | ||
| 24 | |||
| 25 | #define _DEFAULT 0 | ||
| 26 | #define _FN 1 | ||
| 27 | |||
| 28 | //RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_DEFAULT] = KEYMAP( | ||
| 32 | KC_F1, KC_F2, F(0), 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, \ | ||
| 33 | KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \ | ||
| 34 | KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, ______, \ | ||
| 35 | KC_F7, KC_F8, KC_LSFT, ______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, ______, \ | ||
| 36 | KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, ______, KC_SPC, ______, KC_LALT, KC_RGUI, ______, MO(_FN), KC_RCTL | ||
| 37 | ), | ||
| 38 | [_FN] = KEYMAP( | ||
| 39 | RGB_TOG, RGB_MOD, KC_TILD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
| 40 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 41 | RGB_HUI, RGB_HUD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 42 | RGB_SAI, RGB_SAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 43 | RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ | ||
| 44 | ) | ||
| 45 | }; | ||
| 46 | |||
| 47 | // const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {}; | ||
| 48 | |||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
| 65 | |||
| 66 | enum function_id { | ||
| 67 | ESCAPE, | ||
| 68 | }; | ||
| 69 | |||
| 70 | const uint16_t PROGMEM fn_actions[] = { | ||
| 71 | [0] = ACTION_FUNCTION(ESCAPE), | ||
| 72 | }; | ||
| 73 | |||
| 74 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 75 | static uint8_t shift_esc_shift_mask; | ||
| 76 | switch (id) { | ||
| 77 | case ESCAPE: | ||
| 78 | shift_esc_shift_mask = get_mods()&MODS_SHFT_MASK; | ||
| 79 | if (record->event.pressed) { | ||
| 80 | if (shift_esc_shift_mask) { | ||
| 81 | add_key(KC_GRV); | ||
| 82 | send_keyboard_report(); | ||
| 83 | } else { | ||
| 84 | add_key(KC_ESC); | ||
| 85 | send_keyboard_report(); | ||
| 86 | } | ||
| 87 | } else { | ||
| 88 | if (shift_esc_shift_mask) { | ||
| 89 | del_key(KC_GRV); | ||
| 90 | send_keyboard_report(); | ||
| 91 | } else { | ||
| 92 | del_key(KC_ESC); | ||
| 93 | send_keyboard_report(); | ||
| 94 | } | ||
| 95 | } | ||
| 96 | break; | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/kona_classic/keymaps/ansi/rules.mk b/keyboards/kona_classic/keymaps/ansi/rules.mk new file mode 100644 index 000000000..38c23a1b8 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi/rules.mk | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | ||
| 18 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 19 | # the appropriate keymap folder that will get included automatically | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 26 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | UNICODE_ENABLE = no # Unicode | ||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 32 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
| 35 | ifndef QUANTUM_DIR | ||
| 36 | include ../../../../Makefile | ||
| 37 | endif | ||
diff --git a/keyboards/kona_classic/keymaps/ansi_arrows/config.h b/keyboards/kona_classic/keymaps/ansi_arrows/config.h new file mode 100644 index 000000000..a3828f7d5 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi_arrows/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef CONFIG_USER_H | ||
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | |||
| 22 | // place overrides here | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/ansi_arrows/keymap.c b/keyboards/kona_classic/keymaps/ansi_arrows/keymap.c new file mode 100644 index 000000000..00bb17206 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi_arrows/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | #define MODS_SHFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)|MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 19 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 20 | |||
| 21 | // Helpful defines | ||
| 22 | #define ______ KC_TRNS | ||
| 23 | #define XXXXXX KC_NO | ||
| 24 | |||
| 25 | #define _DEFAULT 0 | ||
| 26 | #define _FN 1 | ||
| 27 | |||
| 28 | //RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_DEFAULT] = KEYMAP( | ||
| 32 | KC_F1, KC_F2, F(0), 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, \ | ||
| 33 | KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \ | ||
| 34 | KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, ______, \ | ||
| 35 | KC_F7, KC_F8, KC_LSFT, ______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, MO(_FN), \ | ||
| 36 | KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, ______, KC_SPC, ______, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 37 | ), | ||
| 38 | [_FN] = KEYMAP( | ||
| 39 | RGB_TOG, RGB_MOD, KC_TILD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
| 40 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 41 | RGB_HUI, RGB_HUD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 42 | RGB_SAI, RGB_SAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 43 | RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ | ||
| 44 | ) | ||
| 45 | }; | ||
| 46 | |||
| 47 | // const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {}; | ||
| 48 | |||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
| 65 | |||
| 66 | enum function_id { | ||
| 67 | ESCAPE, | ||
| 68 | }; | ||
| 69 | |||
| 70 | const uint16_t PROGMEM fn_actions[] = { | ||
| 71 | [0] = ACTION_FUNCTION(ESCAPE), | ||
| 72 | }; | ||
| 73 | |||
| 74 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 75 | static uint8_t shift_esc_shift_mask; | ||
| 76 | switch (id) { | ||
| 77 | case ESCAPE: | ||
| 78 | shift_esc_shift_mask = get_mods()&MODS_SHFT_MASK; | ||
| 79 | if (record->event.pressed) { | ||
| 80 | if (shift_esc_shift_mask) { | ||
| 81 | add_key(KC_GRV); | ||
| 82 | send_keyboard_report(); | ||
| 83 | } else { | ||
| 84 | add_key(KC_ESC); | ||
| 85 | send_keyboard_report(); | ||
| 86 | } | ||
| 87 | } else { | ||
| 88 | if (shift_esc_shift_mask) { | ||
| 89 | del_key(KC_GRV); | ||
| 90 | send_keyboard_report(); | ||
| 91 | } else { | ||
| 92 | del_key(KC_ESC); | ||
| 93 | send_keyboard_report(); | ||
| 94 | } | ||
| 95 | } | ||
| 96 | break; | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/kona_classic/keymaps/ansi_arrows/rules.mk b/keyboards/kona_classic/keymaps/ansi_arrows/rules.mk new file mode 100644 index 000000000..38c23a1b8 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi_arrows/rules.mk | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | ||
| 18 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 19 | # the appropriate keymap folder that will get included automatically | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 26 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | UNICODE_ENABLE = no # Unicode | ||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 32 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
| 35 | ifndef QUANTUM_DIR | ||
| 36 | include ../../../../Makefile | ||
| 37 | endif | ||
diff --git a/keyboards/kona_classic/keymaps/ansi_split/config.h b/keyboards/kona_classic/keymaps/ansi_split/config.h new file mode 100644 index 000000000..a3828f7d5 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi_split/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef CONFIG_USER_H | ||
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | |||
| 22 | // place overrides here | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/ansi_split/keymap.c b/keyboards/kona_classic/keymaps/ansi_split/keymap.c new file mode 100644 index 000000000..bbd206767 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi_split/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | #define MODS_SHFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)|MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 19 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 20 | |||
| 21 | // Helpful defines | ||
| 22 | #define ______ KC_TRNS | ||
| 23 | #define XXXXXX KC_NO | ||
| 24 | |||
| 25 | #define _DEFAULT 0 | ||
| 26 | #define _FN 1 | ||
| 27 | |||
| 28 | //RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_DEFAULT] = KEYMAP( | ||
| 32 | KC_F1, KC_F2, F(0), 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, \ | ||
| 33 | KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \ | ||
| 34 | KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, ______, \ | ||
| 35 | KC_F7, KC_F8, KC_LSFT, ______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, ______, \ | ||
| 36 | KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, MO(_FN), KC_SPC, KC_LALT, KC_RGUI, ______, MO(_FN), KC_RCTL | ||
| 37 | ), | ||
| 38 | [_FN] = KEYMAP( | ||
| 39 | RGB_TOG, RGB_MOD, KC_TILD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
| 40 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 41 | RGB_HUI, RGB_HUD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 42 | RGB_SAI, RGB_SAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 43 | RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ | ||
| 44 | ) | ||
| 45 | }; | ||
| 46 | |||
| 47 | // const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {}; | ||
| 48 | |||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
| 65 | |||
| 66 | enum function_id { | ||
| 67 | ESCAPE, | ||
| 68 | }; | ||
| 69 | |||
| 70 | const uint16_t PROGMEM fn_actions[] = { | ||
| 71 | [0] = ACTION_FUNCTION(ESCAPE), | ||
| 72 | }; | ||
| 73 | |||
| 74 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 75 | static uint8_t shift_esc_shift_mask; | ||
| 76 | switch (id) { | ||
| 77 | case ESCAPE: | ||
| 78 | shift_esc_shift_mask = get_mods()&MODS_SHFT_MASK; | ||
| 79 | if (record->event.pressed) { | ||
| 80 | if (shift_esc_shift_mask) { | ||
| 81 | add_key(KC_GRV); | ||
| 82 | send_keyboard_report(); | ||
| 83 | } else { | ||
| 84 | add_key(KC_ESC); | ||
| 85 | send_keyboard_report(); | ||
| 86 | } | ||
| 87 | } else { | ||
| 88 | if (shift_esc_shift_mask) { | ||
| 89 | del_key(KC_GRV); | ||
| 90 | send_keyboard_report(); | ||
| 91 | } else { | ||
| 92 | del_key(KC_ESC); | ||
| 93 | send_keyboard_report(); | ||
| 94 | } | ||
| 95 | } | ||
| 96 | break; | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/kona_classic/keymaps/ansi_split/rules.mk b/keyboards/kona_classic/keymaps/ansi_split/rules.mk new file mode 100644 index 000000000..38c23a1b8 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi_split/rules.mk | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | ||
| 18 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 19 | # the appropriate keymap folder that will get included automatically | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 26 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | UNICODE_ENABLE = no # Unicode | ||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 32 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
| 35 | ifndef QUANTUM_DIR | ||
| 36 | include ../../../../Makefile | ||
| 37 | endif | ||
diff --git a/keyboards/kona_classic/keymaps/ansi_split_arrows/config.h b/keyboards/kona_classic/keymaps/ansi_split_arrows/config.h new file mode 100644 index 000000000..a3828f7d5 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi_split_arrows/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef CONFIG_USER_H | ||
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | |||
| 22 | // place overrides here | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/ansi_split_arrows/keymap.c b/keyboards/kona_classic/keymaps/ansi_split_arrows/keymap.c new file mode 100644 index 000000000..d83e206f4 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi_split_arrows/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | #define MODS_SHFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)|MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 19 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 20 | |||
| 21 | // Helpful defines | ||
| 22 | #define ______ KC_TRNS | ||
| 23 | #define XXXXXX KC_NO | ||
| 24 | |||
| 25 | #define _DEFAULT 0 | ||
| 26 | #define _FN 1 | ||
| 27 | |||
| 28 | //RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_DEFAULT] = KEYMAP( | ||
| 32 | KC_F1, KC_F2, F(0), 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, \ | ||
| 33 | KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \ | ||
| 34 | KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, ______, \ | ||
| 35 | KC_F7, KC_F8, KC_LSFT, ______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, MO(_FN), \ | ||
| 36 | KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, MO(_FN), KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 37 | ), | ||
| 38 | [_FN] = KEYMAP( | ||
| 39 | RGB_TOG, RGB_MOD, KC_TILD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
| 40 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 41 | RGB_HUI, RGB_HUD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 42 | RGB_SAI, RGB_SAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 43 | RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ | ||
| 44 | ) | ||
| 45 | }; | ||
| 46 | |||
| 47 | // const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {}; | ||
| 48 | |||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
| 65 | |||
| 66 | enum function_id { | ||
| 67 | ESCAPE, | ||
| 68 | }; | ||
| 69 | |||
| 70 | const uint16_t PROGMEM fn_actions[] = { | ||
| 71 | [0] = ACTION_FUNCTION(ESCAPE), | ||
| 72 | }; | ||
| 73 | |||
| 74 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 75 | static uint8_t shift_esc_shift_mask; | ||
| 76 | switch (id) { | ||
| 77 | case ESCAPE: | ||
| 78 | shift_esc_shift_mask = get_mods()&MODS_SHFT_MASK; | ||
| 79 | if (record->event.pressed) { | ||
| 80 | if (shift_esc_shift_mask) { | ||
| 81 | add_key(KC_GRV); | ||
| 82 | send_keyboard_report(); | ||
| 83 | } else { | ||
| 84 | add_key(KC_ESC); | ||
| 85 | send_keyboard_report(); | ||
| 86 | } | ||
| 87 | } else { | ||
| 88 | if (shift_esc_shift_mask) { | ||
| 89 | del_key(KC_GRV); | ||
| 90 | send_keyboard_report(); | ||
| 91 | } else { | ||
| 92 | del_key(KC_ESC); | ||
| 93 | send_keyboard_report(); | ||
| 94 | } | ||
| 95 | } | ||
| 96 | break; | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/kona_classic/keymaps/ansi_split_arrows/rules.mk b/keyboards/kona_classic/keymaps/ansi_split_arrows/rules.mk new file mode 100644 index 000000000..38c23a1b8 --- /dev/null +++ b/keyboards/kona_classic/keymaps/ansi_split_arrows/rules.mk | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | ||
| 18 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 19 | # the appropriate keymap folder that will get included automatically | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 26 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | UNICODE_ENABLE = no # Unicode | ||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 32 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
| 35 | ifndef QUANTUM_DIR | ||
| 36 | include ../../../../Makefile | ||
| 37 | endif | ||
diff --git a/keyboards/kona_classic/keymaps/default/config.h b/keyboards/kona_classic/keymaps/default/config.h new file mode 100644 index 000000000..a3828f7d5 --- /dev/null +++ b/keyboards/kona_classic/keymaps/default/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef CONFIG_USER_H | ||
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | |||
| 22 | // place overrides here | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/default/keymap.c b/keyboards/kona_classic/keymaps/default/keymap.c new file mode 100644 index 000000000..88056506d --- /dev/null +++ b/keyboards/kona_classic/keymaps/default/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | #define MODS_SHFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)|MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 19 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 20 | |||
| 21 | // Helpful defines | ||
| 22 | #define ______ KC_TRNS | ||
| 23 | #define XXXXXX KC_NO | ||
| 24 | |||
| 25 | #define _DEFAULT 0 | ||
| 26 | #define _FN 1 | ||
| 27 | |||
| 28 | //RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_DEFAULT] = KEYMAP( | ||
| 32 | KC_F1, KC_F2, F(0), 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, \ | ||
| 33 | KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \ | ||
| 34 | KC_F5, KC_F6, MO(_FN), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, ______, \ | ||
| 35 | KC_F7, KC_F8, KC_LSFT, ______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, MO(_FN), \ | ||
| 36 | KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_ENT, KC_RGUI, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT | ||
| 37 | ), | ||
| 38 | [_FN] = KEYMAP( | ||
| 39 | RGB_TOG, RGB_MOD, KC_GRV, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
| 40 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 41 | RGB_HUI, RGB_HUD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 42 | RGB_SAI, RGB_SAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 43 | RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ | ||
| 44 | ) | ||
| 45 | }; | ||
| 46 | |||
| 47 | // const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {}; | ||
| 48 | |||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
| 65 | |||
| 66 | enum function_id { | ||
| 67 | ESCAPE, | ||
| 68 | }; | ||
| 69 | |||
| 70 | const uint16_t PROGMEM fn_actions[] = { | ||
| 71 | [0] = ACTION_FUNCTION(ESCAPE), | ||
| 72 | }; | ||
| 73 | |||
| 74 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 75 | static uint8_t shift_esc_shift_mask; | ||
| 76 | switch (id) { | ||
| 77 | case ESCAPE: | ||
| 78 | shift_esc_shift_mask = get_mods()&MODS_SHFT_MASK; | ||
| 79 | if (record->event.pressed) { | ||
| 80 | if (shift_esc_shift_mask) { | ||
| 81 | add_key(KC_GRV); | ||
| 82 | send_keyboard_report(); | ||
| 83 | } else { | ||
| 84 | add_key(KC_ESC); | ||
| 85 | send_keyboard_report(); | ||
| 86 | } | ||
| 87 | } else { | ||
| 88 | if (shift_esc_shift_mask) { | ||
| 89 | del_key(KC_GRV); | ||
| 90 | send_keyboard_report(); | ||
| 91 | } else { | ||
| 92 | del_key(KC_ESC); | ||
| 93 | send_keyboard_report(); | ||
| 94 | } | ||
| 95 | } | ||
| 96 | break; | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/kona_classic/keymaps/default/rules.mk b/keyboards/kona_classic/keymaps/default/rules.mk new file mode 100644 index 000000000..38c23a1b8 --- /dev/null +++ b/keyboards/kona_classic/keymaps/default/rules.mk | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | ||
| 18 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 19 | # the appropriate keymap folder that will get included automatically | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 26 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | UNICODE_ENABLE = no # Unicode | ||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 32 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
| 35 | ifndef QUANTUM_DIR | ||
| 36 | include ../../../../Makefile | ||
| 37 | endif | ||
diff --git a/keyboards/kona_classic/keymaps/iso/config.h b/keyboards/kona_classic/keymaps/iso/config.h new file mode 100644 index 000000000..a3828f7d5 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef CONFIG_USER_H | ||
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | |||
| 22 | // place overrides here | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/iso/keymap.c b/keyboards/kona_classic/keymaps/iso/keymap.c new file mode 100644 index 000000000..a1784d9b3 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | #define MODS_SHFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)|MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 19 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 20 | |||
| 21 | // Helpful defines | ||
| 22 | #define ______ KC_TRNS | ||
| 23 | #define XXXXXX KC_NO | ||
| 24 | |||
| 25 | #define _DEFAULT 0 | ||
| 26 | #define _FN 1 | ||
| 27 | |||
| 28 | //RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_DEFAULT] = KEYMAP( | ||
| 32 | KC_F1, KC_F2, F(0), 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, \ | ||
| 33 | KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, \ | ||
| 34 | KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NONUS_HASH, ______, \ | ||
| 35 | KC_F7, KC_F8, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, ______, \ | ||
| 36 | KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, ______, KC_SPC, ______, KC_LALT, KC_RGUI, ______, MO(_FN), KC_RCTL | ||
| 37 | ), | ||
| 38 | [_FN] = KEYMAP( | ||
| 39 | RGB_TOG, RGB_MOD, KC_TILD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
| 40 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 41 | RGB_HUI, RGB_HUD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 42 | RGB_SAI, RGB_SAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 43 | RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ | ||
| 44 | ) | ||
| 45 | }; | ||
| 46 | |||
| 47 | // const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {}; | ||
| 48 | |||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
| 65 | |||
| 66 | enum function_id { | ||
| 67 | ESCAPE, | ||
| 68 | }; | ||
| 69 | |||
| 70 | const uint16_t PROGMEM fn_actions[] = { | ||
| 71 | [0] = ACTION_FUNCTION(ESCAPE), | ||
| 72 | }; | ||
| 73 | |||
| 74 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 75 | static uint8_t shift_esc_shift_mask; | ||
| 76 | switch (id) { | ||
| 77 | case ESCAPE: | ||
| 78 | shift_esc_shift_mask = get_mods()&MODS_SHFT_MASK; | ||
| 79 | if (record->event.pressed) { | ||
| 80 | if (shift_esc_shift_mask) { | ||
| 81 | add_key(KC_GRV); | ||
| 82 | send_keyboard_report(); | ||
| 83 | } else { | ||
| 84 | add_key(KC_ESC); | ||
| 85 | send_keyboard_report(); | ||
| 86 | } | ||
| 87 | } else { | ||
| 88 | if (shift_esc_shift_mask) { | ||
| 89 | del_key(KC_GRV); | ||
| 90 | send_keyboard_report(); | ||
| 91 | } else { | ||
| 92 | del_key(KC_ESC); | ||
| 93 | send_keyboard_report(); | ||
| 94 | } | ||
| 95 | } | ||
| 96 | break; | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/kona_classic/keymaps/iso/rules.mk b/keyboards/kona_classic/keymaps/iso/rules.mk new file mode 100644 index 000000000..38c23a1b8 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso/rules.mk | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | ||
| 18 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 19 | # the appropriate keymap folder that will get included automatically | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 26 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | UNICODE_ENABLE = no # Unicode | ||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 32 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
| 35 | ifndef QUANTUM_DIR | ||
| 36 | include ../../../../Makefile | ||
| 37 | endif | ||
diff --git a/keyboards/kona_classic/keymaps/iso_arrows/config.h b/keyboards/kona_classic/keymaps/iso_arrows/config.h new file mode 100644 index 000000000..a3828f7d5 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso_arrows/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef CONFIG_USER_H | ||
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | |||
| 22 | // place overrides here | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/iso_arrows/keymap.c b/keyboards/kona_classic/keymaps/iso_arrows/keymap.c new file mode 100644 index 000000000..0374940c7 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso_arrows/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | #define MODS_SHFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)|MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 19 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 20 | |||
| 21 | // Helpful defines | ||
| 22 | #define ______ KC_TRNS | ||
| 23 | #define XXXXXX KC_NO | ||
| 24 | |||
| 25 | #define _DEFAULT 0 | ||
| 26 | #define _FN 1 | ||
| 27 | |||
| 28 | //RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_DEFAULT] = KEYMAP( | ||
| 32 | KC_F1, KC_F2, F(0), 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, \ | ||
| 33 | KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, \ | ||
| 34 | KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NONUS_HASH, ______, \ | ||
| 35 | KC_F7, KC_F8, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, MO(_FN), \ | ||
| 36 | KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, ______, KC_SPC, ______, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 37 | ), | ||
| 38 | [_FN] = KEYMAP( | ||
| 39 | RGB_TOG, RGB_MOD, KC_TILD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
| 40 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 41 | RGB_HUI, RGB_HUD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 42 | RGB_SAI, RGB_SAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 43 | RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ | ||
| 44 | ) | ||
| 45 | }; | ||
| 46 | |||
| 47 | // const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {}; | ||
| 48 | |||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
| 65 | |||
| 66 | enum function_id { | ||
| 67 | ESCAPE, | ||
| 68 | }; | ||
| 69 | |||
| 70 | const uint16_t PROGMEM fn_actions[] = { | ||
| 71 | [0] = ACTION_FUNCTION(ESCAPE), | ||
| 72 | }; | ||
| 73 | |||
| 74 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 75 | static uint8_t shift_esc_shift_mask; | ||
| 76 | switch (id) { | ||
| 77 | case ESCAPE: | ||
| 78 | shift_esc_shift_mask = get_mods()&MODS_SHFT_MASK; | ||
| 79 | if (record->event.pressed) { | ||
| 80 | if (shift_esc_shift_mask) { | ||
| 81 | add_key(KC_GRV); | ||
| 82 | send_keyboard_report(); | ||
| 83 | } else { | ||
| 84 | add_key(KC_ESC); | ||
| 85 | send_keyboard_report(); | ||
| 86 | } | ||
| 87 | } else { | ||
| 88 | if (shift_esc_shift_mask) { | ||
| 89 | del_key(KC_GRV); | ||
| 90 | send_keyboard_report(); | ||
| 91 | } else { | ||
| 92 | del_key(KC_ESC); | ||
| 93 | send_keyboard_report(); | ||
| 94 | } | ||
| 95 | } | ||
| 96 | break; | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/kona_classic/keymaps/iso_arrows/rules.mk b/keyboards/kona_classic/keymaps/iso_arrows/rules.mk new file mode 100644 index 000000000..38c23a1b8 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso_arrows/rules.mk | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | ||
| 18 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 19 | # the appropriate keymap folder that will get included automatically | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 26 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | UNICODE_ENABLE = no # Unicode | ||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 32 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
| 35 | ifndef QUANTUM_DIR | ||
| 36 | include ../../../../Makefile | ||
| 37 | endif | ||
diff --git a/keyboards/kona_classic/keymaps/iso_split/config.h b/keyboards/kona_classic/keymaps/iso_split/config.h new file mode 100644 index 000000000..a3828f7d5 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso_split/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef CONFIG_USER_H | ||
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | |||
| 22 | // place overrides here | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/iso_split/keymap.c b/keyboards/kona_classic/keymaps/iso_split/keymap.c new file mode 100644 index 000000000..89120e07f --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso_split/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | #define MODS_SHFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)|MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 19 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 20 | |||
| 21 | // Helpful defines | ||
| 22 | #define ______ KC_TRNS | ||
| 23 | #define XXXXXX KC_NO | ||
| 24 | |||
| 25 | #define _DEFAULT 0 | ||
| 26 | #define _FN 1 | ||
| 27 | |||
| 28 | //RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_DEFAULT] = KEYMAP( | ||
| 32 | KC_F1, KC_F2, F(0), 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, \ | ||
| 33 | KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, \ | ||
| 34 | KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NONUS_HASH, ______, \ | ||
| 35 | KC_F7, KC_F8, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, ______, \ | ||
| 36 | KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, MO(_FN), KC_SPC, KC_LALT, KC_RGUI, ______, MO(_FN), KC_RCTL | ||
| 37 | ), | ||
| 38 | [_FN] = KEYMAP( | ||
| 39 | RGB_TOG, RGB_MOD, KC_TILD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
| 40 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 41 | RGB_HUI, RGB_HUD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 42 | RGB_SAI, RGB_SAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 43 | RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ | ||
| 44 | ) | ||
| 45 | }; | ||
| 46 | |||
| 47 | // const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {}; | ||
| 48 | |||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
| 65 | |||
| 66 | enum function_id { | ||
| 67 | ESCAPE, | ||
| 68 | }; | ||
| 69 | |||
| 70 | const uint16_t PROGMEM fn_actions[] = { | ||
| 71 | [0] = ACTION_FUNCTION(ESCAPE), | ||
| 72 | }; | ||
| 73 | |||
| 74 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 75 | static uint8_t shift_esc_shift_mask; | ||
| 76 | switch (id) { | ||
| 77 | case ESCAPE: | ||
| 78 | shift_esc_shift_mask = get_mods()&MODS_SHFT_MASK; | ||
| 79 | if (record->event.pressed) { | ||
| 80 | if (shift_esc_shift_mask) { | ||
| 81 | add_key(KC_GRV); | ||
| 82 | send_keyboard_report(); | ||
| 83 | } else { | ||
| 84 | add_key(KC_ESC); | ||
| 85 | send_keyboard_report(); | ||
| 86 | } | ||
| 87 | } else { | ||
| 88 | if (shift_esc_shift_mask) { | ||
| 89 | del_key(KC_GRV); | ||
| 90 | send_keyboard_report(); | ||
| 91 | } else { | ||
| 92 | del_key(KC_ESC); | ||
| 93 | send_keyboard_report(); | ||
| 94 | } | ||
| 95 | } | ||
| 96 | break; | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/kona_classic/keymaps/iso_split/rules.mk b/keyboards/kona_classic/keymaps/iso_split/rules.mk new file mode 100644 index 000000000..38c23a1b8 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso_split/rules.mk | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | ||
| 18 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 19 | # the appropriate keymap folder that will get included automatically | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 26 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | UNICODE_ENABLE = no # Unicode | ||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 32 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
| 35 | ifndef QUANTUM_DIR | ||
| 36 | include ../../../../Makefile | ||
| 37 | endif | ||
diff --git a/keyboards/kona_classic/keymaps/iso_split_arrows/config.h b/keyboards/kona_classic/keymaps/iso_split_arrows/config.h new file mode 100644 index 000000000..a3828f7d5 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso_split_arrows/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef CONFIG_USER_H | ||
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | |||
| 22 | // place overrides here | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/kona_classic/keymaps/iso_split_arrows/keymap.c b/keyboards/kona_classic/keymaps/iso_split_arrows/keymap.c new file mode 100644 index 000000000..389fcd919 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso_split_arrows/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | #define MODS_SHFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)|MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 19 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | ||
| 20 | |||
| 21 | // Helpful defines | ||
| 22 | #define ______ KC_TRNS | ||
| 23 | #define XXXXXX KC_NO | ||
| 24 | |||
| 25 | #define _DEFAULT 0 | ||
| 26 | #define _FN 1 | ||
| 27 | |||
| 28 | //RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_DEFAULT] = KEYMAP( | ||
| 32 | KC_F1, KC_F2, F(0), 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, \ | ||
| 33 | KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, \ | ||
| 34 | KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NONUS_HASH, ______, \ | ||
| 35 | KC_F7, KC_F8, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, MO(_FN), \ | ||
| 36 | KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, MO(_FN), KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 37 | ), | ||
| 38 | [_FN] = KEYMAP( | ||
| 39 | RGB_TOG, RGB_MOD, KC_TILD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
| 40 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 41 | RGB_HUI, RGB_HUD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 42 | RGB_SAI, RGB_SAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
| 43 | RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ | ||
| 44 | ) | ||
| 45 | }; | ||
| 46 | |||
| 47 | // const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {}; | ||
| 48 | |||
| 49 | |||
| 50 | void matrix_init_user(void) { | ||
| 51 | |||
| 52 | } | ||
| 53 | |||
| 54 | void matrix_scan_user(void) { | ||
| 55 | |||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | return true; | ||
| 60 | } | ||
| 61 | |||
| 62 | void led_set_user(uint8_t usb_led) { | ||
| 63 | |||
| 64 | } | ||
| 65 | |||
| 66 | enum function_id { | ||
| 67 | ESCAPE, | ||
| 68 | }; | ||
| 69 | |||
| 70 | const uint16_t PROGMEM fn_actions[] = { | ||
| 71 | [0] = ACTION_FUNCTION(ESCAPE), | ||
| 72 | }; | ||
| 73 | |||
| 74 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 75 | static uint8_t shift_esc_shift_mask; | ||
| 76 | switch (id) { | ||
| 77 | case ESCAPE: | ||
| 78 | shift_esc_shift_mask = get_mods()&MODS_SHFT_MASK; | ||
| 79 | if (record->event.pressed) { | ||
| 80 | if (shift_esc_shift_mask) { | ||
| 81 | add_key(KC_GRV); | ||
| 82 | send_keyboard_report(); | ||
| 83 | } else { | ||
| 84 | add_key(KC_ESC); | ||
| 85 | send_keyboard_report(); | ||
| 86 | } | ||
| 87 | } else { | ||
| 88 | if (shift_esc_shift_mask) { | ||
| 89 | del_key(KC_GRV); | ||
| 90 | send_keyboard_report(); | ||
| 91 | } else { | ||
| 92 | del_key(KC_ESC); | ||
| 93 | send_keyboard_report(); | ||
| 94 | } | ||
| 95 | } | ||
| 96 | break; | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/kona_classic/keymaps/iso_split_arrows/rules.mk b/keyboards/kona_classic/keymaps/iso_split_arrows/rules.mk new file mode 100644 index 000000000..38c23a1b8 --- /dev/null +++ b/keyboards/kona_classic/keymaps/iso_split_arrows/rules.mk | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | ||
| 18 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 19 | # the appropriate keymap folder that will get included automatically | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 26 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 29 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 30 | UNICODE_ENABLE = no # Unicode | ||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 32 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
| 35 | ifndef QUANTUM_DIR | ||
| 36 | include ../../../../Makefile | ||
| 37 | endif | ||
diff --git a/keyboards/kona_classic/kona_classic.c b/keyboards/kona_classic/kona_classic.c new file mode 100644 index 000000000..71cee7baa --- /dev/null +++ b/keyboards/kona_classic/kona_classic.c | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "kona_classic.h" | ||
| 17 | |||
| 18 | void matrix_init_kb(void) { | ||
| 19 | // put your keyboard start-up code here | ||
| 20 | // runs once when the firmware starts up | ||
| 21 | led_init_ports(); | ||
| 22 | matrix_init_user(); | ||
| 23 | } | ||
| 24 | |||
| 25 | void matrix_scan_kb(void) { | ||
| 26 | // put your looping keyboard code here | ||
| 27 | // runs every cycle (a lot) | ||
| 28 | |||
| 29 | matrix_scan_user(); | ||
| 30 | } | ||
| 31 | |||
| 32 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
| 33 | // put your per-action keyboard code here | ||
| 34 | // runs for every action, just before processing by the firmware | ||
| 35 | |||
| 36 | return process_record_user(keycode, record); | ||
| 37 | } | ||
| 38 | |||
| 39 | void led_init_ports(void) { | ||
| 40 | // DDRB |= (1<<6) | (1<<7); // OUT | ||
| 41 | } | ||
| 42 | |||
| 43 | void led_set_kb(uint8_t usb_led) { | ||
| 44 | // led_set_user(usb_led); | ||
| 45 | } | ||
diff --git a/keyboards/kona_classic/kona_classic.h b/keyboards/kona_classic/kona_classic.h new file mode 100644 index 000000000..c54a9e7b9 --- /dev/null +++ b/keyboards/kona_classic/kona_classic.h | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* Copyright 2017 Mathias Andersson <wraul@dbox.se> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #ifndef KONACLASSIC_H | ||
| 17 | #define KONACLASSIC_H | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define KEYMAP( \ | ||
| 22 | KA0, KA1, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ | ||
| 23 | KA2, KA3, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \ | ||
| 24 | KA4, KA5, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ | ||
| 25 | KA6, KA7, K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, \ | ||
| 26 | KA8, KA9, K40, K41, K42, K43, K45, K46, K4A, K4B, K4C, K4D, K4E \ | ||
| 27 | ) { \ | ||
| 28 | { KA0, KA1, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ | ||
| 29 | { KA2, KA3, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ | ||
| 30 | { KA4, KA5, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ | ||
| 31 | { KA6, KA7, K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ | ||
| 32 | { KA8, KA9, K40, K41, K42, KC_NO, K43, KC_NO, K45, K46, KC_NO, K4A, K4B, K4C, K4D, K4E } \ | ||
| 33 | } | ||
| 34 | |||
| 35 | #endif | ||
diff --git a/keyboards/kona_classic/rules.mk b/keyboards/kona_classic/rules.mk new file mode 100644 index 000000000..8b4179e39 --- /dev/null +++ b/keyboards/kona_classic/rules.mk | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | |||
| 2 | # MCU name | ||
| 3 | MCU = atmega32u4 | ||
| 4 | |||
| 5 | # Processor frequency. | ||
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 9 | # automatically to create a 32-bit value in your source code. | ||
| 10 | # | ||
| 11 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 13 | # does not *change* the processor frequency - it should merely be updated to | ||
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Boot Section Size in *bytes* | ||
| 43 | # Teensy halfKay 512 | ||
| 44 | # Teensy++ halfKay 1024 | ||
| 45 | # Atmel DFU loader 4096 | ||
| 46 | # LUFA bootloader 4096 | ||
| 47 | # USBaspLoader 2048 | ||
| 48 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 49 | |||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change yes to no to disable | ||
| 53 | # | ||
| 54 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 55 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 56 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 57 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 58 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 59 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 60 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 61 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 62 | NKRO_ENABLE ?= no # USB Nkey Rollover | ||
| 63 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality on B7 by default | ||
| 64 | MIDI_ENABLE ?= no # MIDI controls | ||
| 65 | UNICODE_ENABLE ?= no # Unicode | ||
| 66 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 67 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
