diff options
Diffstat (limited to 'keyboards')
14 files changed, 0 insertions, 1002 deletions
diff --git a/keyboards/input_club/ergodox_infinity/keymaps/gordon/config.h b/keyboards/input_club/ergodox_infinity/keymaps/gordon/config.h deleted file mode 100644 index 772ce0bac9..0000000000 --- a/keyboards/input_club/ergodox_infinity/keymaps/gordon/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2018 Daniel Gordon <Dgordon8765@gmail.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#undef IGNORE_MOD_TAP_INTERRUPT -#define IGNORE_MOD_TAP_INTERRUPT - -#undef PERMISSIVE_HOLD -// #define PERMISSIVE_HOLD - -#define ONESHOT_TAP_TOGGLE 2 - -#undef TAPPING_TERM -#define TAPPING_TERM 200 - -#define FORCE_NKRO diff --git a/keyboards/input_club/ergodox_infinity/keymaps/gordon/keymap.c b/keyboards/input_club/ergodox_infinity/keymaps/gordon/keymap.c deleted file mode 100644 index 2ee7c9bde9..0000000000 --- a/keyboards/input_club/ergodox_infinity/keymaps/gordon/keymap.c +++ /dev/null @@ -1,394 +0,0 @@ -#include QMK_KEYBOARD_H -#include "debug.h" -#include "action_layer.h" -#include "version.h" -#include "process_keycode/process_tap_dance.h" -#include "gordon.h" - -#include "keymap_german.h" - -#include "keymap_nordic.h" - - -enum custom_keycodes { - PLACEHOLDER = SAFE_RANGE, // can always be here - EPRM, - VRSN, - RGB_SLD, -}; - - -// Custom tapping terms for each key. -// Requires changes to action_taping.c -// uint16_t get_tapping_term(keyevent_t* event) { -// uint16_t keycode = keymap_key_to_keycode(layer_switch_get_layer(event->key), event->key); -// if (keycode == NAV_E ) { -// return TAPPING_TERM + 50; -// } -// return TAPPING_TERM; -// } - - -// _XXXXXX_ is a symbol that means, "DO NOT ASSIGN THIS KEY TO ANTYING", because the key -// underneath this layer is the key that sends you to/from this layer. -// Meaning, if you were to put something here - then you will be stuck in this layer. -// It is simply a visual reminder not to use that key for this layer. -// Example: On the numpad layer, under the letter `D` is `_XXXXXXX_`, because pressing and holding -// `D` sends you to the numpad layer - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - -//**************************FIRST LAYER - LAYER ZERO ************************************** - [_QWERTY] = LAYOUT_ergodox( - - SHF6_AF7, F1_F13 , F2_F14, TD(F3D), F4_ALTF4, F5_F15, KC_F11, - SPRK_TCK , Q_ESC , CTR_SH_W, NAV_E, ALT_SH_R, KC_T, PRINTSCR, - KC_TAB , KC_A , MEH_S, NUMPAD_D, CTRL_F, WIN_G, - OSL(_ONESHOT), CTRL_Z , HYPER_X, MOUSE_C, ALT_V, KC_B, OSL(_MOUSE), - KC_MINUS, KC_GRAVE, KC_DELETE, KC_LEFT, KC_RIGHT, - - LSFT(KC_INSERT), TT(_QWERTY_KIDS), - ________ , - KC_LSFT, SYMB_BSP, KC_INSERT , - - F12_RUN, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, TD(CALCCOMP), - CALTDEL , KC_Y, KC_U, KC_I, KC_O, KC_P, MODRESET, - WIN_H, CTRL_J, APP_SW_K, MEH_L, COL_MOUS, END_HOME, - OSL(_ONESHOT), KC_N, ALT_M, COMMA_TD, HYPE_DOT, KC_SLASH, ID_MAN_IP, - KC_UP, KC_DOWN,KC_DELETE, KC_TILD, KC_UNDS, - - TT(_STREET_FIGHTER), ________, - KC_PGUP, - KC_PGDN, LT(_NAV,KC_ENTER), SPAC_TXT), - - - //**************************SYMBOLS LAYER************************** - [_SYMBOLS] = LAYOUT_ergodox( - ________, ________, ________, ________, ________, ________, ________, - ________, DEREF , KC_AT, KC_LCBR, KC_RCBR, KC_CIRC, ________, - ________, KC_EXLM, KC_HASH, KC_LPRN, KC_RPRN, ________, - ________,KC_DOLLAR, KC_PERC, LSQUIGLY, RSQUIGLY, ________, ________, - ________,TICK3 , ________, ________, ________, - - ________,________, - ________, - ________,_XXXXXX_,________, - - - ________, ________, ________, ________, ________, ________, NUMLOCK, - ________,TIL_SLASH, KC_PIPE, KC_PLUS, KC_AMPR, ________, CAPLOCK, - EQRIGHT, KC_DQUO, KC_EQUAL, KC_QUOTE,KC_SCLN, ________, - ________, KC_M, BK_SLASH, ASTERSK, KC_DOT, KC_SLASH, ________, - ________,________ ,________,TILD3,________, - ________,________, - ________, - ________,________,_XXXXXX_), - - //**************************MOUSE MOVEMENT LAYER************************** - [_MOUSE] = LAYOUT_ergodox(UP_ENTER_RESET,________,________,________,________,________,MODRESET, - QK_BOOT,KC_SECRET_5,________,KC_MS_UP,KC_SECRET_4,KC_MS_WH_UP,________, - ________,________,KC_MS_LEFT,KC_MS_DOWN,KC_MS_RIGHT,KC_MS_WH_DOWN, - KC_SECRET_5,KC_SECRET_4,KC_SECRET_3,_XXXXXX_,KC_SECRET_2,KC_SECRET_1,_XXXXXX_, - ________,________,HYPR(KC_F15),KC_MS_WH_LEFT,KC_MS_WH_RIGHT, - - ________,________, - ________, - KC_MS_BTN1,KC_MS_BTN2,________, - - - ________,________,________,________,________,________,________, - ________,________,________,KC_UP,________,KC_MEDIA_PLAY_PAUSE,________, - ________,KC_LEFT,KC_DOWN,KC_RIGHT,_XXXXXX_,________, - ________,KC_MEDIA_NEXT_TRACK,KC_AUDIO_VOL_UP,KC_AUDIO_VOL_DOWN,KC_MUTE,________,________, - KC_MS_WH_UP,KC_MS_WH_DOWN,________,________,________, - ________,________, - ________, - ________,KC_WWW_BACK,KC_WWW_FORWARD), - - - - - //**************************WINDOWS NAVIGATION LAYER************************** - - [_NAV] = LAYOUT_ergodox(________,________,________,________,________,________,________, - ________,________,SNAPLEFT,_XXXXXX_,SNAPRGHT,________,________, - ________,KC_WWW_BACK,PREVTAB,________,NEXTTAB,SNAPUP, - ________,________,WORKLEFT,________,WORKRIGHT,SNAPDOWN,________, - ________,________,________,________,________, - - ________,________, - ________, - ________,________,________, - - - ________,________,________,________,________,________,________, - ________,________,SNAPUP ,KC_UP ,SNAPDOWN,________,________, - ________,KC_LEFT ,KC_DOWN ,KC_RIGHT,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________, - - - ________,________, - ________, - ________,________,________), - - //****************************NUMPAD LAYER**************************** - [_NUMPAD] = LAYOUT_ergodox(________,________,________,________,________,________,________, - ________,________,________,________,________,________,________, - ________,KC_DOT ,KC_SPACE,_XXXXXX_, KC_ESC ,________, - ________,DBMS_OUT,________,________,________,________,________, - ________,________,________,________,________, - - ________,________, - ________, - KC_PLUS,KC_MINUS,________, - - BL_TOGG ,BL_STEP ,________,________,________,________,________, - ________,________,KC_7 ,KC_8 ,KC_9 ,________,________, - ________,KC_4 ,KC_5 ,KC_6 ,________,________, - ________,KC_DOT, KC_1 ,KC_2 ,KC_3 ,________,________, - KC_0 ,KC_DOT , KC_DOT ,________,________, - - ________,________, - ________, - ________,________,KC_0), - - //****************************APP SWITCH LAYER**************************** - [_APPSWITCH] = LAYOUT_ergodox(________,________,________,________,________,________,________, - ________,________ , ________ , ________ ,________ ,________,________, - ________,APP_5,APP_6,APP_7,APP_8,________, - ________,DBMS_OUT,________,________,________,________,________, - ________,________,________,________,________, - - ________,________, - ________, - KC_PLUS,________,________, - - ________,________,________,________,________,________,________, - ________,________,APP_3 ,________,APP_4 ,________,________, - ________,APP_1 ,_XXXXXX_,APP_2 ,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________, - - ________,________, - ________, - ________,________,________), - - - [_ONESHOT] = LAYOUT_ergodox( UP_ENTER_RESET , ________, ________, ________, ________, ________, ________, - ________, ________, ________, KC_UP , ________, ________, ________, - ________, ________, KC_LEFT , KC_DOWN , KC_RIGHT, ________, - MAGIC_TOGGLE_NKRO, ________, ________, ________, ________, ________, ________, - ________, ________, ________, ________, ________, - - ________, ________, - ________, - ________, ________, ________, - - ________, ________, ________, ________, ________, ________, ________, - ________, ________, KC_7, KC_8, KC_9, KC_PLUS, ________, - ________, KC_4, KC_5, KC_6, KC_EQUAL, ________, - ________, ________, KC_1, KC_2, KC_3, KC_ASTR, ________, - ________, ________, KC_0, ________, ________, - - ________, ________, - ________, - ________, ________, ________), - //****************************TEXT/INTELLIJ NAVIGATION LAYER**************************** - [_TEXTNAV] = LAYOUT_ergodox(________,________,________,________,________,________,________, - ________,MEH(KC_Q),LSFT(KC_ESCAPE),MEH(KC_D),MEH(KC_2),LALT(LSFT(KC_UP)),________, - ________,________,LCTL(KC_LEFT),LCTL(KC_B),LCTL(KC_RIGHT),LALT(LSFT(KC_DOWN)), - ________,________,________,LCTL(LSFT(KC_COMMA)),MEH(KC_DOT),LALT(KC_MS_WH_UP),________, - ________,________,________,________,________, - - ________,________,________,________,________,________, - - LALT(LSFT(KC_F9)),________,________,________,________,________,________,________,MEH(KC_5),LALT(LSFT(KC_Z)), - ________,LALT(KC_Z),________,________,________,LCTL(LSFT(KC_LEFT)),LALT(LCTL(KC_S)),LCTL(LSFT(KC_RIGHT)), - LCTL(LSFT(KC_COMMA)),________,________,________,________,________,________,________,________,________, - ________,________,________,________,________,________,________,________,________,_XXXXXX_), - [_QWERTY_KIDS] = LAYOUT_ergodox( - - KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , - KC_NO , KC_Q , KC_W, KC_E, KC_R, KC_T, KC_NO , - KC_NO , KC_A , KC_S, KC_D, KC_F, KC_G , - KC_NO , KC_Z , KC_X, KC_C, KC_V, KC_B, KC_NO , - KC_MINUS, KC_GRAVE, KC_DELETE, KC_LEFT, KC_RIGHT, - - KC_NO , TT(_QWERTY_KIDS) , - KC_NO , - KC_LSFT, KC_BSPC, KC_NO , - - KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , - KC_NO , KC_Y, KC_U, KC_I, KC_O, KC_P, KC_NO , - KC_H, KC_J, KC_K, KC_L, KC_SCLN , KC_NO, - KC_NO , KC_N, KC_M, KC_COMMA , KC_DOT , KC_SLASH, KC_NO , - KC_UP, KC_DOWN, KC_DELETE, KC_TILD, KC_UNDS, - - KC_NO , KC_NO , - KC_NO, - KC_NO, KC_ENTER, KC_SPACE), - - [_STREET_FIGHTER] = LAYOUT_ergodox( - - KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , - KC_NO , KC_NO , DIE_1000X_LEFT, KC_UP, DIE_1000X_RIGHT, KC_NO, KC_NO , - KC_NO , KC_NO , KC_LEFT, KC_DOWN, KC_RIGHT, KC_NO , - KC_NO , KC_NO , KC_NO, KC_NO, KC_NO, KC_NO, KC_NO , - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - - ________ , ________ , - ________ , - ________, ________, ________ , - - KC_NO, KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , - KC_NO , KC_NO, KC_G, KC_H, KC_J, KC_NO, KC_NO , - KC_NO, KC_B, KC_N, KC_M, KC_K , KC_NO, - KC_NO , KC_NO, KC_NO, KC_NO , KC_NO , KC_NO, KC_NO , - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - - TT(_STREET_FIGHTER) , ________ , - ________, - ________, ________, ________), - - - //************************Windows navigation to directories************************* - [_DIRNAV] = LAYOUT_ergodox( - ________,________,________,________,________,________,________, - ________,________,________,________,________,________,________, - ________,________,KC_A,________,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________, - - ________,________, - ________, - ________,________,________, - - - ________,________,________,________,________,________,________, - ________,________,________,________,________,________,________, - ________,________,_______,________,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________, - - - ________,________, - ________, - ________,________,________), - - - [_TEXT_MACROS] = LAYOUT_ergodox( - ________,________,________,________,________,________,________, - ________,________,________,________,________,________,________, - ________,________,KC_A,________,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________, - - ________,________, - ________, - ________,________,________, - - - ________,________,________,________,________,________,________, - ________,________,________,________,________,________,________, - ________,________,_______,________,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________, - - - ________,________, - ________, - ________,________,________) - - -/* FOR FORMATTING FUTURE LAYERS - NO KEY CODES SHOULD BE MORE THAN 8 CHARACTERS - GOES LEFT HAND THEN RIGHT HAND - [_DIRNAV] = LAYOUT_ergodox( - ________,________,________,________,________,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________, - - ________,________, - ________, - ________,________,________, - - - ________,________,________,________,________,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________,________, - ________,________,________,________,________,________,________, - ________,________,________,________,________, - - - ________,________, - ________, - ________,________,________), */ - - - - -}; - -void matrix_scan_user(void) { - - uint8_t layer = get_highest_layer(layer_state); - - ergodox_board_led_on(); - ergodox_led_all_on(); - - ergodox_board_led_off(); - ergodox_right_led_1_off(); - ergodox_right_led_2_off(); - ergodox_right_led_3_off(); - // _delay_ms(45); - - switch (layer) - { - case _SYMBOLS: - ergodox_right_led_1_on(); - break; - case _MOUSE: - ergodox_right_led_2_on(); - break; - case _NUMPAD: - ergodox_right_led_3_on(); - break; - case _NAV: - ergodox_right_led_1_on(); - ergodox_right_led_2_on(); - break; - case _MACROS: - //layer unused right now - break; - case _FUNCTION: - //layer unused right nowex - break; - case _APPSWITCH: - ergodox_right_led_2_on(); - ergodox_right_led_3_on(); - break; - case _ONESHOT: - ergodox_right_led_1_on(); - ergodox_right_led_2_on(); - ergodox_right_led_3_on(); - break; - case _TEXTNAV: - ergodox_right_led_1_on(); - ergodox_right_led_3_on(); - break; - case _QWERTY_KIDS: - ergodox_right_led_1_on(); - ergodox_right_led_2_on(); - ergodox_right_led_3_on(); - break; - case _STREET_FIGHTER: - ergodox_right_led_2_on(); - ergodox_right_led_3_on(); - default: - break; - } -}; diff --git a/keyboards/input_club/ergodox_infinity/keymaps/gordon/rules.mk b/keyboards/input_club/ergodox_infinity/keymaps/gordon/rules.mk deleted file mode 100644 index 9a56408f8e..0000000000 --- a/keyboards/input_club/ergodox_infinity/keymaps/gordon/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -TAP_DANCE_ENABLE = yes - diff --git a/keyboards/knops/mini/keymaps/knops/keymap.c b/keyboards/knops/mini/keymaps/knops/keymap.c deleted file mode 100644 index 15d9e5bc11..0000000000 --- a/keyboards/knops/mini/keymaps/knops/keymap.c +++ /dev/null @@ -1,142 +0,0 @@ -#include "mini.h" - -/*KNOPS_MISC*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /*KNOPS_KEYMAP*/ - -}; - -void set_led_state(int ledId, bool state) { - if(state) { - switch(ledId) { - /* LED 0 to 5 are the leds of each keyswitch. From left to right, top to bottom. These are equal to the numbers in the legends of the default keycaps. */ - case 0: - PORTD |= (1<<7); - break; - case 1: - if((PINB & (1 << 7)) != 0) { - PORTC |= (1<<6); - } else { - PORTC |= (1<<7); - } - break; - case 2: - PORTD |= (1<<4); - break; - case 3: - PORTE |= (1<<6); - break; - case 4: - PORTB |= (1<<4); - break; - case 5: - PORTD |= (1<<6); - break; - /* LED 6 to 8 are the three layer leds in front of the device from left to right. */ - case 6: - PORTD &= ~(1<<5); - break; - case 7: - PORTB |= (1<<6); - break; - case 8: - PORTB &= ~(1<<0); - break; - } - } else { - switch(ledId) { - case 0: - PORTD &= ~(1<<7); - break; - case 1: - if((PINB & (1 << 7)) != 0) { - PORTC &= ~(1<<6); - } else { - PORTC &= ~(1<<7); - } - break; - case 2: - PORTD &= ~(1<<4); - break; - case 3: - PORTE &= ~(1<<6); - break; - case 4: - PORTB &= ~(1<<4); - break; - case 5: - PORTD &= ~(1<<6); - break; - case 6: - PORTD |= (1<<5); - break; - case 7: - PORTB &= ~(1<<6); - break; - case 8: - PORTB |= (1<<0); - break; - } - } -} - -void led_init_ports_user(void) { - PORTB |= (1 << 7); - DDRB &= ~(1<<7); - - DDRD |= (1<<7); - DDRC |= (1<<6); - DDRC |= (1<<7); - DDRD |= (1<<4); - DDRE |= (1<<6); - DDRB |= (1<<4); - DDRD |= (1<<6); - - DDRD |= (1<<5); - DDRB |= (1<<6); - DDRB |= (1<<0); -} - -void led_set_layer(int layer) { - - /*KNOPS_SIMPLELED_STATES*/ - -} - -void matrix_init_user(void) { - led_init_ports_user(); - - led_set_layer(1); - - /*KNOPS_INIT*/ -} - -const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { - //keyevent_t event = record->event; - - /*KNOPS_MACRO*/ - return NULL; -} - - -void matrix_scan_user(void) { - /*KNOPS_SCAN*/ -} - -void led_set_user(uint8_t usb_led) { - - /*KNOPS_FUNCTIONALLED_STATES*/ - -} - -bool process_record_user (uint16_t keycode, keyrecord_t *record) { - - /*KNOPS_PROCESS_STATE*/ - - return NULL; - -} - - diff --git a/keyboards/knops/mini/keymaps/knops/readme.md b/keyboards/knops/mini/keymaps/knops/readme.md deleted file mode 100644 index 58696974ed..0000000000 --- a/keyboards/knops/mini/keymaps/knops/readme.md +++ /dev/null @@ -1,11 +0,0 @@ -# Default Knops Mini Layout - -![Knops logo](http://knops.io/img/Knops_logo.jpg) - -![Knops Mini Layout Image](https://i.imgur.com/WQBQctm.png) - -This is the keymap that our configurator uses to compile new keymaps and features. Here is a screenshot: - -![Knops Mini Layout Image](https://i.imgur.com/afH1NOt.png) - -As of 12th of february 2018, this tool has not yet been released to the public. You may have a look at our older tool, KBFlasher: [our (almost outdated) configurator tool](http://knops.io/configurator.html) for this.
\ No newline at end of file diff --git a/keyboards/primekb/prime_e/keymaps/milestogo/config.h b/keyboards/primekb/prime_e/keymaps/milestogo/config.h deleted file mode 100644 index c3f9e43415..0000000000 --- a/keyboards/primekb/prime_e/keymaps/milestogo/config.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -Copyright 2019 Holten Campbell - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#pragma once - - -#undef MATRIX_ROWS -#undef MATRIX_COLS -#undef MATRIX_ROW_PINS -#undef MATRIX_COL_PINS - -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 - -/* Keyboard Matrix Assignments */ -#define MATRIX_ROW_PINS { E6, C7, B5, B4, C6 } -#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4, D5, D3, D2, D1, D0, B6, D7} - -// Babble config -#define USE_BABBLEPASTE -#define BABL_MODSWAP -#define BABL_READMUX -#define BABL_KITTY -#define BABL_MAC -#define BABL_LINUX diff --git a/keyboards/primekb/prime_e/keymaps/milestogo/keymap.c b/keyboards/primekb/prime_e/keymaps/milestogo/keymap.c deleted file mode 100644 index ced250e51f..0000000000 --- a/keyboards/primekb/prime_e/keymaps/milestogo/keymap.c +++ /dev/null @@ -1,150 +0,0 @@ -/* Copyright 2018 Holten Campbell - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include QMK_KEYBOARD_H -#include "milestogo.h" - -/* customized matrix needs to be updated in local config.h -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 -#define MATRIX_ROW_PINS { E6, C7, B5, B4, C6 } -#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4, D5, D3, D2, D1, D0, B6, D7} -*/ - -#define LAYOUT_wrap_m2primee(...) LAYOUT_m2primee(__VA_ARGS__) -#define LAYOUT_wrap_m2primee_trns(...) LAYOUT_m2primee_trns(__VA_ARGS__) - -// clang-format off -#define LAYOUT_m2primee(\ - K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \ - K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112,\ - K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \ - K300, K301, K303, K304, K306, K308, K311, K312, \ - K413, K414 )\ - {\ - {K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, KC_NO, KC_NO},\ - {K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112, KC_NO, KC_NO},\ - {K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, KC_NO, KC_NO}, \ - {K300, K301, KC_NO, K303, K304, KC_NO, K306, KC_NO, K308, KC_NO, KC_NO, K311, K312, KC_NO, KC_NO}, \ - {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K413, K414 } \ - } - -#define LAYOUT_m2primee_trns(\ - K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \ - K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112, \ - K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211) \ - {\ - {KC_TRNS, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, KC_NO, KC_NO}, \ - {KC_TRNS, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112, KC_NO, KC_NO}, \ - {KC_LSFT, K201, K202, K203, K204, K205, KC_TRNS, K207, K208, K209, K210, K211, KC_TRNS, KC_NO, KC_NO}, \ - {KC_LALT, KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_NO, KC_TRNS, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_TRNS, KC_RSFT, KC_NO, KC_NO}, \ - {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, B_1ME, KC_ENTER } \ - } - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_QWERTY] = LAYOUT_wrap_m2primee(\ -KC_TAB, _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, KC_MINS, KC_EQL, -LT(_MOV,KC_ESC), _________________QWERTY_L2_________________, _________________QWERTY_R2_________________, KC_QUOT, -KC_LSFT, _________________QWERTY_L3_________________, MO(_SYM), _________________QWERTY_R3_________________, KC_RSFT, -B_2ME, KC_LALT, LT(_NUM, KC_DEL), KC_BSPC, KC_SPC, LT(_NUM, KC_ESC), B_2ME, KC_RALT, -B_1ME, KC_ENTER), - - [_NUM] = LAYOUT_wrap_m2primee(\ -KC_TRNS, __________40_______NUM_L1__________________, __________40_______NUM_R1__________________, KC_VOLD, KC_VOLU, -KC_TRNS, __________40_______NUM_L2__________________, __________40_______NUM_R2__________________, KC_ENT, -KC_TRNS, __________40_______NUM_L3__________________, KC_TRNS, __________40_______NUM_R3__________________, KC_TRNS, -KC_TRNS, KC_TRNS, KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -KC_TRNS, KC_TRNS), - - [_CDH] = LAYOUT_wrap_m2primee_trns(\ -______________COLEMAK_MOD_DH_L1____________, ______________COLEMAK_MOD_DH_R1____________, KC_TRNS, KC_TRNS, -______________COLEMAK_MOD_DH_L2____________, ______________COLEMAK_MOD_DH_R2____________, KC_QUOT, -______________COLEMAK_MOD_DH_L3____________, KC_TRNS, ______________COLEMAK_MOD_DH_R3____________), - - [_SYM] = LAYOUT_wrap_m2primee_trns(\ -___________________SYM_L1__________________, ___________________SYM_R1__________________, KC_TRNS, KC_TRNS, -___________________SYM_L2__________________, ___________________SYM_R2__________________, KC_TRNS, -___________________SYM_L3__________________, KC_TRNS, ___________________SYM_R3__________________), - - [_MOV] = LAYOUT_wrap_m2primee_trns(\ -__________40_______MOV_L1__________________, __________40_______MOV_R1__________________, KC_TRNS, KC_CDH, -__________40_______MOV_L2__________________, __________40_______MOV_R2__________________, KC_TRNS, -__________40_______MOV_L3__________________, KC_TRNS, __________40_______MOV_R3__________________), - - [_DMOV] = LAYOUT_wrap_m2primee_trns(\ -____________40__DELMOV_L1__________________, ____________40__DELMOV_R1__________________ , KC_TRNS, KC_CDH, -____________40__DELMOV_L2__________________, ____________40__DELMOV_R2__________________ , KC_TRNS, -____________40__DELMOV_L3__________________, KC_TRNS, ____________40__DELMOV_R3__________________ ), -}; - -// clang-format on - -void matrix_init_user(void) { - // set CapsLock LED to output and high by default, drop low when on. - setPinOutput(B1); - writePinHigh(B1); - // set NumLock LED to output and low - setPinOutput(B2); - writePinLow(B2); - // set ScrollLock LED to output and low - setPinOutput(B3); - writePinLow(B3); - - backlight_enable(); - backlight_level(2); -} - -bool led_update_kb(led_t led_state) { -#ifndef USE_BABBLEPASTE - // if we aren't using the LEDs to show bablepaste options, use them to show standard keyboard stuff - writePin(B1, led_state.caps_lock); - writePin(B2, led_state.num_lock); - writePin(B3, led_state.scroll_lock); -#endif - return true; -} - -void babble_modeswitch_kb(uint8_t mode) { -#ifdef USE_BABBLEPASTE - switch (mode) { - case (BABL_READMUX_MODE): - writePinHigh(B3); - writePinLow(B2); - backlight_level(1); - break; - case (BABL_LINUX_MODE): - writePinHigh(B2); - writePinLow(B3); - backlight_level(2); - break; - case (BABL_MAC_MODE): // backlight on, indicator leds off - writePinLow(B3); - writePinLow(B2); - backlight_level(4); - break; - } - - // call the user function - babble_modeswitch_user(mode); -#endif -} - -// function for layer indicator LED -layer_state_t layer_state_set_user(layer_state_t state) { - // Turn on top LED if we are in colemak, off for qwerty. - writePin(B1, layer_state_cmp(state, _CDH)); - return state; -} diff --git a/keyboards/primekb/prime_e/keymaps/milestogo/readme.md b/keyboards/primekb/prime_e/keymaps/milestogo/readme.md deleted file mode 100644 index c74eda3ea3..0000000000 --- a/keyboards/primekb/prime_e/keymaps/milestogo/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# Modified keymap for Prime_E -My PrimeE has two added thumb switches, so it uses a slightly different keymap.
\ No newline at end of file diff --git a/keyboards/primekb/prime_e/keymaps/milestogo/rules.mk b/keyboards/primekb/prime_e/keymaps/milestogo/rules.mk deleted file mode 100644 index 81d9ace791..0000000000 --- a/keyboards/primekb/prime_e/keymaps/milestogo/rules.mk +++ /dev/null @@ -1 +0,0 @@ -USER_NAME := miles2go diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/config.h b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/config.h deleted file mode 100644 index 511dc9537e..0000000000 --- a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright 2018 Wilba - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" - -#undef VIA_ENABLE -#undef RAW_ENABLE -#undef DYNAMIC_KEYMAP_ENABLE - -#endif diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c deleted file mode 100644 index d586064954..0000000000 --- a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c +++ /dev/null @@ -1,58 +0,0 @@ -#include QMK_KEYBOARD_H - -/*KNOPS_MISC*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /*KNOPS_LAYOUT*/ - -}; - -// M10-B LEDs are all in parallel and controlled by the QMK backlight -// functionality. LED functions here are for possible future use -// as layer indicators, etc. and not implemented yet. -// -// To implement LED functions here, QMK backlight functionality -// will need to be disabled either via rules.mk or config.h -// or overriding the backlight functions to do nothing. -// -// LEDs are driven by a transistor connected to pin C6. -// - -void set_led_state(int ledId, bool state) -{ -} - -void led_set_layer(int layer) -{ - led_set_layer(0); - - /*KNOPS_SIMPLELED_STATES*/ -} - -void matrix_init_user(void) -{ - /*KNOPS_INIT*/ -} - -const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) -{ - /*KNOPS_MACRO*/ - return NULL; -} - -void matrix_scan_user(void) -{ - /*KNOPS_SCAN*/ -} - -void led_set_user(uint8_t usb_led) -{ - /*KNOPS_FUNCTIONALLED_STATES*/ -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) -{ - /*KNOPS_PROCESS_STATE*/ - return NULL; -} diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/readme.md b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/readme.md deleted file mode 100644 index 3b3d6c3970..0000000000 --- a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -![RAMA M10-B Layout Image](https://static1.squarespace.com/static/563c788ae4b099120ae219e2/5b4997390e2e72d65f7a8e83/5b49993d6d2a732ab3595146/1531550014142/M10-Layout.jpg) - -# Default RAMA M10-B Layout - -This is an example layout. - - diff --git a/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/keymap.c b/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/keymap.c deleted file mode 100644 index bb2d104ee4..0000000000 --- a/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/keymap.c +++ /dev/null @@ -1,129 +0,0 @@ -#include QMK_KEYBOARD_H - -/*KNOPS_MISC*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /*KNOPS_LAYOUT*/ - -}; - -void set_led_state(int ledId, bool state) -{ - if (state) - { - switch (ledId) - { - case 0: - PORTD |= (1 << 6); - break; - case 1: - PORTB |= (1 << 6); - break; - case 2: - PORTF |= (1 << 5); - break; - case 3: - PORTB |= (1 << 4); - break; - case 4: - PORTC |= (1 << 7); - break; - case 5: - PORTF |= (1 << 7); - break; - } - } - else - { - switch (ledId) - { - case 0: - PORTD &= ~(1 << 6); - break; - case 1: - PORTB &= ~(1 << 6); - break; - case 2: - PORTF &= ~(1 << 5); - break; - case 3: - PORTB &= ~(1 << 4); - break; - case 4: - PORTC &= ~(1 << 7); - break; - case 5: - PORTF &= ~(1 << 7); - break; - } - } -} - -void led_init_ports_user(void) -{ - // Switch #1 - DDRD |= (1 << 6); - PORTD &= ~(1 << 6); - - // Switch #2 - DDRB |= (1 << 6); - PORTB &= ~(1 << 6); - - // Switch #3 - DDRF |= (1 << 5); - PORTF &= ~(1 << 5); - - // Switch #4 - DDRB |= (1 << 4); - PORTB &= ~(1 << 4); - - // Switch #5 - DDRC |= (1 << 7); - PORTC &= ~(1 << 7); - - // Switch #6 - DDRF |= (1 << 7); - PORTF &= ~(1 << 7); -} - -void led_set_layer(int layer) -{ - - /*KNOPS_SIMPLELED_STATES*/ -} - -void matrix_init_user(void) -{ - led_init_ports_user(); - - led_set_layer(0); - - /*KNOPS_INIT*/ -} - -const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) -{ - //keyevent_t event = record->event; - - /*KNOPS_MACRO*/ - return NULL; -} - -void matrix_scan_user(void) -{ - /*KNOPS_SCAN*/ -} - -void led_set_user(uint8_t usb_led) -{ - - /*KNOPS_FUNCTIONALLED_STATES*/ -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) -{ - - /*KNOPS_PROCESS_STATE*/ - return NULL; -} diff --git a/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/readme.md b/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/readme.md deleted file mode 100644 index 58696974ed..0000000000 --- a/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/readme.md +++ /dev/null @@ -1,11 +0,0 @@ -# Default Knops Mini Layout - -![Knops logo](http://knops.io/img/Knops_logo.jpg) - -![Knops Mini Layout Image](https://i.imgur.com/WQBQctm.png) - -This is the keymap that our configurator uses to compile new keymaps and features. Here is a screenshot: - -![Knops Mini Layout Image](https://i.imgur.com/afH1NOt.png) - -As of 12th of february 2018, this tool has not yet been released to the public. You may have a look at our older tool, KBFlasher: [our (almost outdated) configurator tool](http://knops.io/configurator.html) for this.
\ No newline at end of file |