From 2daa27efa47ff83160dbac202a618311ca50659a Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 22 Jan 2023 15:04:34 -0500 Subject: [PATCH 01/67] nuked everything and started over --- keyboards/montsinger/rebound/rebound.h | 4 +- keyboards/montsinger/rebound/rev4pi/config.h | 48 +++++++ keyboards/montsinger/rebound/rev4pi/info.json | 135 ++++++++++++++++++ .../rebound/rev4pi/keymaps/default/keymap.c | 103 +++++++++++++ .../rev4pi/keymaps/ericgebhart/keymap.c | 101 +++++++++++++ .../rev4pi/keymaps/ericgebhart/layouts.h | 113 +++++++++++++++ .../rev4pi/keymaps/ericgebhart/readme.md | 5 + .../rev4pi/keymaps/ericgebhart/rules.mk | 16 +++ .../rev4pi/keymaps/rossman360/keymap.c | 105 ++++++++++++++ .../rev4pi/keymaps/rossman360/rules.mk | 4 + .../rebound/rev4pi/keymaps/via/keymap.c | 119 +++++++++++++++ .../rebound/rev4pi/keymaps/via/rules.mk | 3 + keyboards/montsinger/rebound/rev4pi/rev4pi.h | 59 ++++++++ keyboards/montsinger/rebound/rev4pi/rules.mk | 25 ++++ 14 files changed, 839 insertions(+), 1 deletion(-) create mode 100644 keyboards/montsinger/rebound/rev4pi/config.h create mode 100644 keyboards/montsinger/rebound/rev4pi/info.json create mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c create mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c create mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/layouts.h create mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/readme.md create mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/rules.mk create mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c create mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/rules.mk create mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c create mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/via/rules.mk create mode 100644 keyboards/montsinger/rebound/rev4pi/rev4pi.h create mode 100644 keyboards/montsinger/rebound/rev4pi/rules.mk diff --git a/keyboards/montsinger/rebound/rebound.h b/keyboards/montsinger/rebound/rebound.h index 6bddfb2c3abc..ae600c440e6e 100644 --- a/keyboards/montsinger/rebound/rebound.h +++ b/keyboards/montsinger/rebound/rebound.h @@ -1,4 +1,4 @@ -/* Copyright 2020 Ross Montsinger +/* Copyright 2023 Ross Montsinger * * 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 @@ -26,4 +26,6 @@ #include "rev3.h" #elif defined(KEYBOARD_montsinger_rebound_rev4) #include "rev4.h" +#elif defined(KEYBOARD_montsinger_rebound_rev4pi) + #include "rev4pi.h" #endif diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev4pi/config.h new file mode 100644 index 000000000000..5eb58271de42 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/config.h @@ -0,0 +1,48 @@ +/* +Copyright 2023 Ross Montsinger (@rossman360) +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 . +*/ + +#pragma once + +#include "config_common.h" + +/* key matrix size */ +#define MATRIX_ROWS 8 +#define MATRIX_COLS 7 +#define DIODE_DIRECTION ROW2COL + +#define MATRIX_ROW_PINS { GP2, GP3, GP4, GP5, GP26, GP27, GP28, GP29 } +#define MATRIX_COL_PINS { GP6, GP7, GP8, GP9, GP23, GP20, GP22 } + +#define ENCODERS_PAD_A { GP1 } +#define ENCODERS_PAD_B { GP0 } + +#define RGB_DI_PIN GP21 + +#define DEBOUNCE 5 + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* Bootmagic Lite key configuration */ +#define BOOTMAGIC_LITE_ROW 0 +#define BOOTMAGIC_LITE_COLUMN 0 +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U + +#define TAP_CODE_DELAY 10 +#define RP2040_FLASH_GENERIC_03H + diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json new file mode 100644 index 000000000000..943f223d4d48 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -0,0 +1,135 @@ +{ + "keyboard":"Rebound Rev4pi", + "manufacturer": "Montsinger", + "url": "https://montsinger.net", + "maintainer": "rossman360", + "usb": { + "vid": "0x524D", + "pid": "0x0001", + "device_version": "0.0.2" + }, + "processor": "RP2040", + "bootloader": "rp2040", + "board": "GENERIC_RP_RP2040", + "layouts": { + "LAYOUT_all": { + "layout": [ + {"x":0, "y":0}, + {"x":1, "y":0}, + {"x":2, "y":0}, + {"x":3, "y":0}, + {"x":4, "y":0}, + {"x":5, "y":0}, + + {"x":7, "y":0}, + {"x":8, "y":0}, + {"x":9, "y":0}, + {"x":10, "y":0}, + {"x":11, "y":0}, + {"x":12, "y":0}, + + {"x":0, "y":1}, + {"x":1, "y":1}, + {"x":2, "y":1}, + {"x":3, "y":1}, + {"x":4, "y":1}, + {"x":5, "y":1}, + {"x":6, "y":1}, + {"x":7, "y":1}, + {"x":8, "y":1}, + {"x":9, "y":1}, + {"x":10, "y":1}, + {"x":11, "y":1}, + {"x":12, "y":1}, + + {"x":0, "y":2}, + {"x":1, "y":2}, + {"x":2, "y":2}, + {"x":3, "y":2}, + {"x":4, "y":2}, + {"x":5, "y":2}, + {"x":6, "y":2}, + {"x":7, "y":2}, + {"x":8, "y":2}, + {"x":9, "y":2}, + {"x":10, "y":2}, + {"x":11, "y":2}, + {"x":12, "y":2}, + + {"x":0, "y":3}, + {"x":1, "y":3}, + {"x":2, "y":3}, + {"x":3, "y":3}, + {"x":4, "y":3}, + {"x":5, "y":3}, + {"x":6, "y":3}, + {"x":7, "y":3}, + {"x":8, "y":3}, + {"x":9, "y":3}, + {"x":10, "y":3}, + {"x":11, "y":3}, + {"x":12, "y":3} + ] + }, + "LAYOUT_ortho_4x12": { + "layout": [ + + {"x":0, "y":0}, + {"x":1, "y":0}, + {"x":2, "y":0}, + {"x":3, "y":0}, + {"x":4, "y":0}, + {"x":5, "y":0}, + + {"x":7, "y":0}, + {"x":8, "y":0}, + {"x":9, "y":0}, + {"x":10, "y":0}, + {"x":11, "y":0}, + {"x":12, "y":0}, + + {"x":0, "y":1}, + {"x":1, "y":1}, + {"x":2, "y":1}, + {"x":3, "y":1}, + {"x":4, "y":1}, + {"x":5, "y":1}, + + {"x":7, "y":1}, + {"x":8, "y":1}, + {"x":9, "y":1}, + {"x":10, "y":1}, + {"x":11, "y":1}, + {"x":12, "y":1}, + + {"x":0, "y":2}, + {"x":1, "y":2}, + {"x":2, "y":2}, + {"x":3, "y":2}, + {"x":4, "y":2}, + {"x":5, "y":2}, + + {"x":7, "y":2}, + {"x":8, "y":2}, + {"x":9, "y":2}, + {"x":10, "y":2}, + {"x":11, "y":2}, + {"x":12, "y":2}, + + {"x":0, "y":3}, + {"x":1, "y":3}, + {"x":2, "y":3}, + {"x":3, "y":3}, + {"x":4, "y":3}, + {"x":5, "y":3}, + + {"x":7, "y":3}, + {"x":8, "y":3}, + {"x":9, "y":3}, + {"x":10, "y":3}, + {"x":11, "y":3}, + {"x":12, "y":3} + ] + } + } +} diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c new file mode 100644 index 000000000000..cda97096adf6 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c @@ -0,0 +1,103 @@ +#include QMK_KEYBOARD_H + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +enum layer_names { + _QWERTY, + _COLEMAK, + _DVORAK, + _LOWER, + _RAISE, + _ADJUST +}; + +enum custom_keycodes { + QWERTY = SAFE_RANGE, + COLEMAK, + DVORAK +}; + +#define LOWER MO(_LOWER) +#define RAISE MO(_RAISE) +#define ADJUST MO(_ADJUST) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +[_QWERTY] = LAYOUT_all( + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_ENT, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT +), + +[_COLEMAK] = LAYOUT_all( + KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, + KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, _______, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, _______, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT +), + +[_DVORAK] = LAYOUT_all( + KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, + KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, _______, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, + KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, _______, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, _______, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT +), + +[_LOWER] = LAYOUT_all( + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY +), + +[_RAISE] = LAYOUT_all( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY +), + +[_ADJUST] = LAYOUT_all( + _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, + _______, _______, _______, AU_ON, AU_OFF, AG_NORM, _______, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ +) +}; + +layer_state_t layer_state_set_user(layer_state_t state) { + return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); +} +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + switch (keycode) { + case QWERTY: + if (record->event.pressed) { + set_single_persistent_default_layer(_QWERTY); + } + break; + case COLEMAK: + if (record->event.pressed) { + set_single_persistent_default_layer(_COLEMAK); + } + break; + case DVORAK: + if (record->event.pressed) { + set_single_persistent_default_layer(_DVORAK); + } + break; + } + return true; +} + +bool encoder_update_user(uint8_t index, bool clockwise) { + if (clockwise) { + tap_code16(S(KC_VOLD)); + } else { + tap_code16(KC_VOLU); + } + return true; +} diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c new file mode 100644 index 000000000000..59f2a23733e2 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c @@ -0,0 +1,101 @@ +/* + Copyright 2018 Eric Gebhart + + 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 . +*/ +#include "ericgebhart.h" +#include "layouts.h" + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + // Qwerty based Base layers + [_DVORAK] = Rebound_base(___DVORAK___), + [_BEAKL] = Rebound_base(___BEAKL15___), + [_COLEMAK] = Rebound_base(___COLEMAK_DH___), + [_QWERTY] = Rebound_base(___QWERTY___), + + // Bepo base layers + [_BEAKL_BP] = Rebound_base_bepo(___BEAKL15_FR___), + [_DVORAK_BP] = Rebound_base_bepo(___DVORAK_FR___), + [_BEPO] = Rebound_base_bepo6(___BEPO6___), + + // Transient layers. + [_SYMB] = Rebound_transient(___SYMB_BEAKLA_3x12___), + [_SYMB_BP] = Rebound_transient(___SYMB_BEAKLA_BP_3x12___), + + [_KEYPAD] = Rebound_transient(___KP_C_3x12___), + [_KEYPAD_BP] = Rebound_transient(___KP_C_BP_3x12___), + + [_TOPROWS] = Rebound_transient(___TOPROWS_3x12___), + [_TOPROWS_BP] = Rebound_transient(___TOPROWS_BP_3x12___), + [_NAV] = Rebound_transient(___NAV_3x12___), + [_LAYERS] = Rebound_transient(___LAYERS_3x12___), +}; + + +bool encoder_update_user(uint8_t index, bool clockwise) { + switch(get_highest_layer(layer_state)){ + case _DVORAK: + if (clockwise) { + tap_code16(KC_VOLD); + } else { + tap_code16(KC_VOLU); + } + break; + + case _NAV: + if (clockwise) { + tap_code16(S(KC_TAB)); + } else { + tap_code16(KC_TAB); + } + break; + } + return true; +} + +#ifdef OLED_ENABLE +void oled_task_user(void) { + // Host Keyboard Layer Status + oled_write_P(PSTR(""), false); + + switch (get_highest_layer(layer_state)) { + case _BASE: + oled_write_P(PSTR("Rebound\n"), false); + oled_write_P(PSTR("Rev4\n"), false); + break; + case _NAV: + oled_write_P(PSTR("Nav\n"), false); + break; + case _SYMB_BEAKL: + case _SYMB: + oled_write_P(PSTR("Symbols\n"), false); + break; + case _KEYPAD: + oled_write_P(PSTR("Top Rows\n"), false); + break; + default: + // Or use the write_ln shortcut over adding '\n' to the end of your string + oled_write_ln_P(PSTR("Undefined"), false); + } + + // Host Keyboard LED Status + led_t led_state = host_keyboard_led_state(); + oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); + oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false); + oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); + +} + +#endif diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/layouts.h b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/layouts.h new file mode 100644 index 000000000000..f6b7fc151319 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/layouts.h @@ -0,0 +1,113 @@ +/* + Copyright 2018 Eric Gebhart + + 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 . +*/ + +/********************************************************************/ +/* Rebound 4 rows, 1x12, 3x13 */ +/********************************************************************/ + +#define LVARG_rebound(...) LAYOUT_all(__VA_ARGS__) +#define LAYOUT_rebound_base( \ + K01, K02, K03, K04, K05, \ + K06, K07, K08, K09, K0A, \ + K11, K12, K13, K14, K15, \ + K16, K17, K18, K19, K1A, \ + K21, K22, K23, K24, K25, \ + K26, K27, K28, K29, K2A \ + ) \ + LVARG_rebound( \ + ROW1_LEFT(K01, K02, K03, K04, K05), \ + ROW1_RIGHT(K06, K07, K08, K09, K0A), \ + \ + ROW2_LEFT(K11, K12, K13, K14, K15), \ + KC_CCCV, \ + ROW2_RIGHT(K16, K17, K18, K19, K1A), \ + \ + ROW3_LEFT(K21, K22, K23, K24, K25), \ + MO(_ADJUST), \ + ROW3_RIGHT(K26, K27, K28, K29, K2A), \ + ___13_BOTTOM___ \ + ) + +#define LAYOUT_rebound_base_bepo( \ + K01, K02, K03, K04, K05, \ + K06, K07, K08, K09, K0A, \ + K11, K12, K13, K14, K15, \ + K16, K17, K18, K19, K1A, \ + K21, K22, K23, K24, K25, \ + K26, K27, K28, K29, K2A \ + ) \ + LVARG_rebound( \ + ROW1_LEFT_BP(K01, K02, K03, K04, K05), \ + ROW1_RIGHT_BP(K06, K07, K08, K09, K0A), \ + \ + ROW2_LEFT_BP(K11, K12, K13, K14, K15), \ + KC_CCCV, \ + ROW2_RIGHT_BP(K16, K17, K18, K19, K1A), \ + \ + ROW3_LEFT_BP(K21, K22, K23, K24, K25), \ + MO(_ADJUST), \ + ROW3_RIGHT_BP(K26, K27, K28, K29, K2A), \ + ___13_BOTTOM_BP___ \ + ) + +// Just for bepo because it's a 3x6 matrix on each side. +// So 3 pairs of 6 keys, left and right. +#define LAYOUT_rebound_base_bepo6( \ + K01, K02, K03, K04, K05, K06, \ + K07, K08, K09, K0A, K0B, K0C, \ + K11, K12, K13, K14, K15, K16, \ + K17, K18, K19, K1A, K1B, K1C, \ + K21, K22, K23, K24, K25, K26, \ + K27, K28, K29, K2A, K2B, K2C \ + ) \ + LVARG_rebound( \ + ROW1_LEFT_BP6(K01, K02, K03, K04, K05, K06), \ + ROW1_RIGHT_BP6(K07, K08, K09, K0A, K0B, K0C), \ + \ + ROW2_LEFT_BP6(K11, K12, K13, K14, K15, K16), \ + KC_CCCV, \ + ROW2_RIGHT_BP6(K17, K18, K19, K1A, K1B, K1C), \ + \ + ROW3_LEFT_BP6(K21, K22, K23, K24, K25, K26), \ + MO(_ADJUST), \ + ROW3_RIGHT_BP6(K27, K28, K29, K2A, K2B, K2C), \ + ___13_BOTTOM_BP___ \ + ) + +#define LAYOUT_rebound_transient( \ + K01, K02, K03, K04, K05, K06, \ + K07, K08, K09, K0A, K0B, K0C, \ + K11, K12, K13, K14, K15, K16, \ + K17, K18, K19, K1A, K1B, K1C, \ + K21, K22, K23, K24, K25, K26, \ + K27, K28, K29, K2A, K2B, K2C \ + ) \ + LVARG_rebound( \ + K01, K02, K03, K04, K05, K06, \ + K07, K08, K09, K0A, K0B, K0C, \ + K11, K12, K13, K14, K15, K16, \ + ___, \ + K17, K18, K19, K1A, K1B, K1C, \ + K21, K22, K23, K24, K25, K26, \ + ___, \ + K27, K28, K29, K2A, K2B, K2C, \ + ___, ___12___) + +#define Rebound_base(...) LAYOUT_rebound_base(__VA_ARGS__) +#define Rebound_base_bepo(...) LAYOUT_rebound_base_bepo(__VA_ARGS__) +#define Rebound_base_bepo6(...) LAYOUT_rebound_base_bepo6(__VA_ARGS__) +#define Rebound_transient(...) LAYOUT_rebound_transient(__VA_ARGS__) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/readme.md b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/readme.md new file mode 100644 index 000000000000..3a479685965e --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/readme.md @@ -0,0 +1,5 @@ +Overview +======== + +These are my keymaps. There isn't much here. Go take a look at my Userspace readme. +That's where all the code is. diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/rules.mk b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/rules.mk new file mode 100644 index 000000000000..cf27df39b891 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/rules.mk @@ -0,0 +1,16 @@ +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = yes # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +MIDI_ENABLE = no # MIDI controls +AUDIO_ENABLE = no # Audio output +UNICODE_ENABLE = no # Unicode +RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +TAP_DANCE_ENABLE = yes # Enable the tap dance feature. diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c new file mode 100644 index 000000000000..225097f58f98 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c @@ -0,0 +1,105 @@ +#include QMK_KEYBOARD_H +#include "rossman360.h" + +#define PGMOD LT(_NUM, KC_PGDN) +#define TABMOD LT(_FN1, KC_TAB) +#define SPCMOD LT(_FN1, KC_SPACE) +#define ENTMOD LT(_FN2, KC_ENTER) +#define ESCMOD LT(_NUM, KC_ESC) +#define RSMOD LT(_FN1, KC_RSFT) + + +enum layer_names { + _BASE, + _DEL, + _FN1, + _FN2, + _NUM, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +[_BASE] = LAYOUT_all( + KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , NTAB , + JUMPBACK, KC_A , KC_S , KC_D , KC_F , KC_G ,MO(_DEL), KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT, + KC_LSFT , KC_Z , KC_X , KC_C , KC_V , KC_B , LM(_FN1, MOD_LALT), KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_MINS, + CMDBSP , ALTDEL , KC_NO , CTRLSP , TABMOD , PGMOD , QUIT , ENTMOD , SPCMOD , MO(_DEL),KC_NO , KC_BSPC, KC_DEL + ), + +[_FN1] = LAYOUT_all( + _______, TAB1 , TAB2 , TAB3 , TAB4 , _______, _______, UNDO , _______, _______, _______, CTAB , + KC_CAPS, _______, _______, _______, _______, _______, _______, KC_HOME, KC_LEFT, KC_UP , KC_RIGHT,KC_END , KC_NO , + _______, _______, XPANDR , _______, PMERGE , _______, _______, _______, PMERGE , KC_DOWN, _______, _______, EMDASH , + WREFRESH,_______, _______, _______, LWORD , RWORD , _______, KC_NO , _______, KC_NO , _______, _______, _______ + ), + +[_FN2] = LAYOUT_all( + _______, SPEAK1 , SPEAK2 , SPEAK3 , SPEAK4 , _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, PARADOWN, CSPEAK, _______, _______, KC_NO , KC_NO , _______, _______, _______ + ), + +[_DEL] = LAYOUT_all( + QK_BOOT, _______, _______, _______, _______, _______, _______, UNDO , _______, _______, _______, CTAB , + REMCAPS, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_UP ,KC_RIGHT, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, _______, + _______, _______, _______, BLINE , KC_BSPC, BWORD , _______, KC_NO , KC_NO , _______, _______, _______, _______ + ), + +[_NUM] = LAYOUT_all( + KC_GRV , KC_1 , KC_7 , KC_8 , KC_9 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_MINS, KC_EQL, + KC_CAPS, _______, KC_4 , KC_5 , KC_6 , KC_BSPC, KC_LBRC, KC_MINS, KC_4 , KC_5 , KC_6 , KC_COLN, _______, + KC_COMM, KC_DOT , KC_1 , KC_2 , KC_3 ,KC_ENTER, KC_RBRC, KC_RBRC, KC_1 , KC_2 , KC_3 , KC_BSLS, _______, + _______, _______, _______, _______, KC_0 , _______, _______, KC_NO , KC_NO , KC_0 , _______, _______, _______ + ) +}; + +bool encoder_update_user(uint8_t index, bool clockwise) { + + if (clockwise) { + tap_code16(KC_VOLD); + } else { + tap_code16(KC_VOLU); + } + + return true; +} + +#ifdef OLED_ENABLE +bool oled_task_user(void) { + // Host Keyboard Layer Status + oled_write_P(PSTR(""), false); + + switch (get_highest_layer(layer_state)) { + case _BASE: + oled_write_P(PSTR("Rebound\n"), false); + oled_write_P(PSTR("Rev3.1\n"), false); + break; + case _FN1: + oled_write_P(PSTR("Fn\n"), false); + break; + case _FN2: + oled_write_P(PSTR("Para\n"), false); + break; + case _NUM: + oled_write_P(PSTR("Num\n"), false); + break; + case _DEL: + oled_write_P(PSTR("Del\n"), false); + break; + default: + // Or use the write_ln shortcut over adding '\n' to the end of your string + oled_write_ln_P(PSTR("Undefined"), false); +} + + // Host Keyboard LED Status + led_t led_state = host_keyboard_led_state(); + oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); + oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false); + oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); + + return false; +} + +#endif diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/rules.mk b/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/rules.mk new file mode 100644 index 000000000000..f1fb91cc36f4 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/rules.mk @@ -0,0 +1,4 @@ +MOUSEKEY_ENABLE = no +CONSOLE_ENABLE = no +COMMAND_ENABLE = no +OLED_ENABLE = no diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c new file mode 100644 index 000000000000..f678ce60ba04 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c @@ -0,0 +1,119 @@ +/* Copyright 2021 Ross Montsinger + * + * 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 . + */ + +#include QMK_KEYBOARD_H + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +enum layer_names { + _QWERTY, + _COLEMAK, + _DVORAK, + _LOWER, + _RAISE, + _ADJUST +}; + +enum custom_keycodes { + QWERTY = SAFE_RANGE, + COLEMAK, + DVORAK +}; + +#define LOWER MO(_LOWER) +#define RAISE MO(_RAISE) +#define ADJUST MO(_ADJUST) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +[_QWERTY] = LAYOUT_all( + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_ENT, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT +), + +[_COLEMAK] = LAYOUT_all( + KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, + KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, _______, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, _______, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT +), + +[_DVORAK] = LAYOUT_all( + KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, + KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, _______, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, + KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, _______, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, _______, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT +), + +[_LOWER] = LAYOUT_all( + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY +), + +[_RAISE] = LAYOUT_all( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY +), + +[_ADJUST] = LAYOUT_all( + _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, + _______, _______, _______, AU_ON, AU_OFF, AG_NORM, _______, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ +) +}; + +layer_state_t layer_state_set_user(layer_state_t state) { + return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); +} +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + switch (keycode) { + case QWERTY: + if (record->event.pressed) { + set_single_persistent_default_layer(_QWERTY); + } + break; + case COLEMAK: + if (record->event.pressed) { + set_single_persistent_default_layer(_COLEMAK); + } + break; + case DVORAK: + if (record->event.pressed) { + set_single_persistent_default_layer(_DVORAK); + } + break; + } + return true; +} + +bool encoder_update_user(uint8_t index, bool clockwise) { + if (clockwise) { + tap_code16(S(KC_VOLD)); + } else { + tap_code16(KC_VOLU); + } + return true; +} diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/via/rules.mk b/keyboards/montsinger/rebound/rev4pi/keymaps/via/rules.mk new file mode 100644 index 000000000000..37484844f5be --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/via/rules.mk @@ -0,0 +1,3 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes +RGBLIGHT_ENABLE = yes diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.h b/keyboards/montsinger/rebound/rev4pi/rev4pi.h new file mode 100644 index 000000000000..8fb4fc153547 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/rev4pi.h @@ -0,0 +1,59 @@ +/* Copyright 2023 Ross Montsinger + * + * 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 . + */ + +#pragma once + +#include "quantum.h" + +/* This is a shortcut to help you visually see your layout. + * The first section contains all of the arguments representing the + * layout of the board and position of the keys. + * + * The second converts the arguments into a two-dimensional array which + * represents the switch matrix. + */ +#define LAYOUT_ortho_4x12( \ + K00, K70, K01, K71, K02, K72, K04, K74, K05, K75, K06, K76, \ + K10, K60, K11, K61, K12, K62, K14, K64, K15, K65, K16, K66, \ + K20, K50, K21, K51, K22, K52, K24, K54, K25, K55, K26, K56, \ + K30, K40, K31, K41, K32, K42, K34, K44, K35, K45, K36, K46 \ + ) { \ + { K00, K01, K02, KC_NO, K04, K05, K06}, \ + { K10, K11, K12, KC_NO, K14, K15, K16}, \ + { K20, K21, K22, KC_NO, K24, K25, K26}, \ + { K30, K31, K32, KC_NO, K34, K35, K36}, \ + { K40, K41, K42, KC_NO, K44, K45, K46}, \ + { K50, K51, K52, KC_NO, K54, K55, K56}, \ + { K60, K61, K62, KC_NO, K64, K65, K66}, \ + { K70, K71, K72, KC_NO, K74, K75, K76} \ +} + +#define LAYOUT_all( \ + K00, K70, K01, K71, K02, K72, K04, K74, K05, K75, K06, K76, \ + K10, K60, K11, K61, K12, K62, K13, K14, K64, K15, K65, K16, K66, \ + K20, K50, K21, K51, K22, K52, K23, K24, K54, K25, K55, K26, K56,\ + K30, K40, K31, K41, K32, K42, K33, K34, K44, K35, K45, K36, K46\ + ) { \ + { K00, K01, K02, KC_NO, K04, K05, K06}, \ + { K10, K11, K12, K13, K14, K15, K16}, \ + { K20, K21, K22, K23, K24, K25, K26}, \ + { K30, K31, K32, K33, K34, K35, K36}, \ + { K40, K41, K42, KC_NO, K44, K45, K46}, \ + { K50, K51, K52, KC_NO, K54, K55, K56}, \ + { K60, K61, K62, KC_NO, K64, K65, K66}, \ + { K70, K71, K72, KC_NO, K74, K75, K76} \ +} + diff --git a/keyboards/montsinger/rebound/rev4pi/rules.mk b/keyboards/montsinger/rebound/rev4pi/rules.mk new file mode 100644 index 000000000000..e4a980672f26 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/rules.mk @@ -0,0 +1,25 @@ +# MCU name +MCU = RP2040 +BOOTLOADER = rp2040 +BOARD = GENERIC_RP_RP2040 +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +NKRO_ENABLE = no # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output + +RGB_MATRIX_ENABLE = no +RGB_MATRIX_DRIVER = WS2812 + +WS2812_DRIVER = vendor +ENCODER_ENABLE = yes + +OLED_ENABLE = no + From 549a41b98765e03ef668ea06a9e45dfad73e81cb Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 22 Jan 2023 16:19:17 -0500 Subject: [PATCH 02/67] encoder stuff --- keyboards/montsinger/rebound/rev4pi/config.h | 4 +-- .../rev4pi/keymaps/rossman360/keymap.c | 11 ------- keyboards/montsinger/rebound/rev4pi/rev4pi.c | 30 +++++++++++++++++++ 3 files changed, 32 insertions(+), 13 deletions(-) create mode 100644 keyboards/montsinger/rebound/rev4pi/rev4pi.c diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev4pi/config.h index 5eb58271de42..8af084393a9b 100644 --- a/keyboards/montsinger/rebound/rev4pi/config.h +++ b/keyboards/montsinger/rebound/rev4pi/config.h @@ -24,8 +24,8 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { GP2, GP3, GP4, GP5, GP26, GP27, GP28, GP29 } #define MATRIX_COL_PINS { GP6, GP7, GP8, GP9, GP23, GP20, GP22 } -#define ENCODERS_PAD_A { GP1 } -#define ENCODERS_PAD_B { GP0 } +#define ENCODERS_PAD_A { GP0 } +#define ENCODERS_PAD_B { GP1 } #define RGB_DI_PIN GP21 diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c index 225097f58f98..6b62499a93d8 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c @@ -55,17 +55,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; -bool encoder_update_user(uint8_t index, bool clockwise) { - - if (clockwise) { - tap_code16(KC_VOLD); - } else { - tap_code16(KC_VOLU); - } - - return true; -} - #ifdef OLED_ENABLE bool oled_task_user(void) { // Host Keyboard Layer Status diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.c b/keyboards/montsinger/rebound/rev4pi/rev4pi.c new file mode 100644 index 000000000000..6a1d9829fdbd --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/rev4pi.c @@ -0,0 +1,30 @@ +/* Copyright 2024 Ross Montsinger (@rossman360) + * + * 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 . + */ +#include "rev4pi.h" + +#ifdef ENCODER_ENABLE +bool encoder_update_kb(uint8_t index, bool clockwise) { + if (!encoder_update_user(index, clockwise)) { + return false; + } + if (clockwise) { + tap_code_delay(KC_VOLU, 10); + } else { + tap_code_delay(KC_VOLD, 10); + } + return true; +} +#endif From 71870a5d5dcb775ab7563d498f8aad1017d6e491 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Jan 2023 14:40:28 -0500 Subject: [PATCH 03/67] remove matrix size and bootmagic lite info --- keyboards/montsinger/rebound/rev4pi/config.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev4pi/config.h index 8af084393a9b..bc91bb561b7d 100644 --- a/keyboards/montsinger/rebound/rev4pi/config.h +++ b/keyboards/montsinger/rebound/rev4pi/config.h @@ -17,8 +17,6 @@ along with this program. If not, see . #include "config_common.h" /* key matrix size */ -#define MATRIX_ROWS 8 -#define MATRIX_COLS 7 #define DIODE_DIRECTION ROW2COL #define MATRIX_ROW_PINS { GP2, GP3, GP4, GP5, GP26, GP27, GP28, GP29 } @@ -36,9 +34,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Bootmagic Lite key configuration */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 0 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U From c89af457920526c47974ee9e60f6feba5b0c2b0d Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Jan 2023 14:41:37 -0500 Subject: [PATCH 04/67] removed redundant encoder code --- .../montsinger/rebound/rev4pi/keymaps/default/keymap.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c index cda97096adf6..77590f92b9e6 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c @@ -92,12 +92,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } return true; } - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (clockwise) { - tap_code16(S(KC_VOLD)); - } else { - tap_code16(KC_VOLU); - } - return true; -} From f95f171963d63a0e1cbc2b41af240064ac31d37a Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Jan 2023 14:43:34 -0500 Subject: [PATCH 05/67] what year is it? --- keyboards/montsinger/rebound/rev4pi/rev4pi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.c b/keyboards/montsinger/rebound/rev4pi/rev4pi.c index 6a1d9829fdbd..6b00cb513306 100644 --- a/keyboards/montsinger/rebound/rev4pi/rev4pi.c +++ b/keyboards/montsinger/rebound/rev4pi/rev4pi.c @@ -1,4 +1,4 @@ -/* Copyright 2024 Ross Montsinger (@rossman360) +/* Copyright 2023 Ross Montsinger (@rossman360) * * 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 From 5ed6ea98d7594e8b661d560b444d9276adcad884 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Jan 2023 14:45:18 -0500 Subject: [PATCH 06/67] license headers --- .../rebound/rev4pi/keymaps/default/keymap.c | 16 +++++++++++++++- keyboards/montsinger/rebound/rev4pi/rev4pi.c | 2 +- keyboards/montsinger/rebound/rev4pi/rev4pi.h | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c index 77590f92b9e6..1e80f466f82a 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c @@ -1,4 +1,18 @@ -#include QMK_KEYBOARD_H +/* Copyright 2023 Ross Montsinger (@Rossman360) + * + * 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 . + */#include QMK_KEYBOARD_H // Each layer gets a name for readability, which is then used in the keymap matrix below. // The underscores don't mean anything - you can have a layer called STUFF or any other name. diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.c b/keyboards/montsinger/rebound/rev4pi/rev4pi.c index 6b00cb513306..68a0cb899202 100644 --- a/keyboards/montsinger/rebound/rev4pi/rev4pi.c +++ b/keyboards/montsinger/rebound/rev4pi/rev4pi.c @@ -1,4 +1,4 @@ -/* Copyright 2023 Ross Montsinger (@rossman360) +/* Copyright 2023 Ross Montsinger (@Rossman360) * * 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 diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.h b/keyboards/montsinger/rebound/rev4pi/rev4pi.h index 8fb4fc153547..17656676aa04 100644 --- a/keyboards/montsinger/rebound/rev4pi/rev4pi.h +++ b/keyboards/montsinger/rebound/rev4pi/rev4pi.h @@ -1,4 +1,4 @@ -/* Copyright 2023 Ross Montsinger +/* Copyright 2023 Ross Montsinger (@Rossman360) * * 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 From 902fde5d1a03905fae8a581803811fb7a07aa6c5 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Jan 2023 14:46:07 -0500 Subject: [PATCH 07/67] and another one --- .../rebound/rev4pi/keymaps/rossman360/keymap.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c index 6b62499a93d8..27d0ae1363d2 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c @@ -1,4 +1,18 @@ -#include QMK_KEYBOARD_H +/* Copyright 2023 Ross Montsinger (@rossman360) + * + * 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 . + */#include QMK_KEYBOARD_H #include "rossman360.h" #define PGMOD LT(_NUM, KC_PGDN) From fad891afdb3d85baec31b28fc1d1810e502d9406 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Jan 2023 14:47:51 -0500 Subject: [PATCH 08/67] removed redundant mcu information --- keyboards/montsinger/rebound/rev4pi/rules.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/rules.mk b/keyboards/montsinger/rebound/rev4pi/rules.mk index e4a980672f26..c46a8a138cce 100644 --- a/keyboards/montsinger/rebound/rev4pi/rules.mk +++ b/keyboards/montsinger/rebound/rev4pi/rules.mk @@ -1,7 +1,3 @@ -# MCU name -MCU = RP2040 -BOOTLOADER = rp2040 -BOARD = GENERIC_RP_RP2040 # Build Options # change yes to no to disable # From 2570caad622f87bc0918a433f13dc2238103f251 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Jan 2023 18:01:00 -0500 Subject: [PATCH 09/67] via redundant encoder --- keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c index f678ce60ba04..cf59270d0b76 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c @@ -108,12 +108,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } return true; } - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (clockwise) { - tap_code16(S(KC_VOLD)); - } else { - tap_code16(KC_VOLU); - } - return true; -} From 2649bc6cfd7e7ecdb7dc5574986afa63f226c364 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Jan 2023 18:05:44 -0500 Subject: [PATCH 10/67] added rgb num --- keyboards/montsinger/rebound/rev4pi/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev4pi/config.h index bc91bb561b7d..4046e21601a0 100644 --- a/keyboards/montsinger/rebound/rev4pi/config.h +++ b/keyboards/montsinger/rebound/rev4pi/config.h @@ -26,6 +26,7 @@ along with this program. If not, see . #define ENCODERS_PAD_B { GP1 } #define RGB_DI_PIN GP21 +#define RGBLED_NUM 17 #define DEBOUNCE 5 From 1bba0c15a0ff5f580c93e201ef8d2c0e0e1c3dd5 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:03:42 -0500 Subject: [PATCH 11/67] deleted stuff --- keyboards/montsinger/rebound/rev4pi/config.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev4pi/config.h index 4046e21601a0..bdf9bef5b0a5 100644 --- a/keyboards/montsinger/rebound/rev4pi/config.h +++ b/keyboards/montsinger/rebound/rev4pi/config.h @@ -14,11 +14,6 @@ along with this program. If not, see . #pragma once -#include "config_common.h" - -/* key matrix size */ -#define DIODE_DIRECTION ROW2COL - #define MATRIX_ROW_PINS { GP2, GP3, GP4, GP5, GP26, GP27, GP28, GP29 } #define MATRIX_COL_PINS { GP6, GP7, GP8, GP9, GP23, GP20, GP22 } From fad1e346d8bd037a7b495ff827a171e22dbc3242 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:05:03 -0500 Subject: [PATCH 12/67] byebye --- keyboards/montsinger/rebound/rev4pi/config.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev4pi/config.h index bdf9bef5b0a5..5a31503f1caf 100644 --- a/keyboards/montsinger/rebound/rev4pi/config.h +++ b/keyboards/montsinger/rebound/rev4pi/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define RGB_DI_PIN GP21 #define RGBLED_NUM 17 -#define DEBOUNCE 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ From 8a2177775a3a844a58fde8779238d12055d1bc25 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:06:23 -0500 Subject: [PATCH 13/67] there's my diodrection --- keyboards/montsinger/rebound/rev4pi/info.json | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index 943f223d4d48..ef6c15d8cb7b 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -11,6 +11,7 @@ "processor": "RP2040", "bootloader": "rp2040", "board": "GENERIC_RP_RP2040", + "diode_direction": "ROW2COL", "layouts": { "LAYOUT_all": { "layout": [ From f3526f422aa0c08f7298ea831799c53d11d2c666 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:07:24 -0500 Subject: [PATCH 14/67] oopsie --- keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c index 1e80f466f82a..5b94ea86c6a3 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c @@ -12,7 +12,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - */#include QMK_KEYBOARD_H + */ // Each layer gets a name for readability, which is then used in the keymap matrix below. // The underscores don't mean anything - you can have a layer called STUFF or any other name. From d2e6d6c1820c4db0bbc815569fba9c1b71e32250 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:08:32 -0500 Subject: [PATCH 15/67] reckon lower and raise aint needed --- keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c index 5b94ea86c6a3..9538e187cc7d 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c @@ -34,8 +34,6 @@ enum custom_keycodes { DVORAK }; -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) #define ADJUST MO(_ADJUST) const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { From 7898553d2e29bbbcb1e4d2f53377e4292648adb5 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:10:29 -0500 Subject: [PATCH 16/67] official keycodez --- .../montsinger/rebound/rev4pi/keymaps/default/keymap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c index 9538e187cc7d..4c15edd38d1c 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c @@ -42,21 +42,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_ENT, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_ENT, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT ), [_COLEMAK] = LAYOUT_all( KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, _______, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, _______, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, _______, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT ), [_DVORAK] = LAYOUT_all( KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, _______, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, _______, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, _______, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, _______, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT ), [_LOWER] = LAYOUT_all( From c9731ccbb79ad71972332624ebf9b0b0184d8647 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:12:12 -0500 Subject: [PATCH 17/67] eric falsely accused --- .../montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c index 59f2a23733e2..11e3b8a9f807 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c @@ -95,7 +95,7 @@ void oled_task_user(void) { oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false); oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); - + return false; } #endif From 930ef89a260071cf133ec60e3c04fbf18f89a82f Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:14:02 -0500 Subject: [PATCH 18/67] i c wut going on here --- keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c index cf59270d0b76..e1ea7306779a 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c @@ -36,8 +36,6 @@ enum custom_keycodes { DVORAK }; -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) #define ADJUST MO(_ADJUST) const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { @@ -46,21 +44,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_ENT, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_ENT, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT ), [_COLEMAK] = LAYOUT_all( KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, _______, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, _______, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, _______, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT ), [_DVORAK] = LAYOUT_all( KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, _______, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, _______, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, _______, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, _______, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT ), [_LOWER] = LAYOUT_all( From 00fa36efb3d0e7bc4698b13e02dd162c01016a71 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:15:33 -0500 Subject: [PATCH 19/67] byeeee x2 --- keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c | 3 --- keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c index 4c15edd38d1c..c827bc09ed54 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c @@ -81,9 +81,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); -} bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case QWERTY: diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c index e1ea7306779a..48c3016c4831 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c @@ -83,9 +83,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); -} bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case QWERTY: From 8bc25209e389affb770707df253f182b0a23c0db Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:16:58 -0500 Subject: [PATCH 20/67] bool the void --- .../montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c index 11e3b8a9f807..a307215bf665 100644 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c +++ b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c @@ -66,7 +66,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { } #ifdef OLED_ENABLE -void oled_task_user(void) { +bool oled_task_user(void) { // Host Keyboard Layer Status oled_write_P(PSTR(""), false); From 2ed1c54325f85055ca077581a98f76892376ae19 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 12:18:12 -0500 Subject: [PATCH 21/67] just tri me --- keyboards/montsinger/rebound/rev4pi/rules.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/montsinger/rebound/rev4pi/rules.mk b/keyboards/montsinger/rebound/rev4pi/rules.mk index c46a8a138cce..b7730ce978f6 100644 --- a/keyboards/montsinger/rebound/rev4pi/rules.mk +++ b/keyboards/montsinger/rebound/rev4pi/rules.mk @@ -10,6 +10,7 @@ NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output +TRI_LAYER_ENABLE = yes RGB_MATRIX_ENABLE = no RGB_MATRIX_DRIVER = WS2812 From 12f3431b1232a3274fd99d2b4628c1b348324937 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 19:03:24 -0500 Subject: [PATCH 22/67] added rotary pins --- keyboards/montsinger/rebound/rev4pi/info.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index ef6c15d8cb7b..af2a61691c86 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -9,6 +9,11 @@ "device_version": "0.0.2" }, "processor": "RP2040", + "encoder": { + "rotary": [ + {"pin_a": "GP0", "pin_b": "GP1"} + ] + }, "bootloader": "rp2040", "board": "GENERIC_RP_RP2040", "diode_direction": "ROW2COL", From a35b2b7700fabe598a75e2417727d2b87ea6b353 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Feb 2023 19:04:39 -0500 Subject: [PATCH 23/67] removed old encoder pins --- keyboards/montsinger/rebound/rev4pi/config.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev4pi/config.h index 5a31503f1caf..46f6bf5badac 100644 --- a/keyboards/montsinger/rebound/rev4pi/config.h +++ b/keyboards/montsinger/rebound/rev4pi/config.h @@ -20,9 +20,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A { GP0 } #define ENCODERS_PAD_B { GP1 } -#define RGB_DI_PIN GP21 -#define RGBLED_NUM 17 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ From 7226d67a7f825a2805f9a839fb1b66a041162551 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 24 Apr 2023 18:34:20 -0400 Subject: [PATCH 24/67] fancy new json thanks to helper --- keyboards/montsinger/rebound/rev4pi/info.json | 296 ++++++++++-------- 1 file changed, 174 insertions(+), 122 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index af2a61691c86..5856c18d6e37 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -1,140 +1,192 @@ { - "keyboard":"Rebound Rev4pi", "manufacturer": "Montsinger", - "url": "https://montsinger.net", + "keyboard_name": "montsinger/rebound/rev4pi", "maintainer": "rossman360", - "usb": { - "vid": "0x524D", - "pid": "0x0001", - "device_version": "0.0.2" + "board": "GENERIC_RP_RP2040", + "bootloader": "rp2040", + "config_h_features": { + "audio": false, + "backlight": false, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "oled": false, + "rgb_matrix": false, + "rgblight": false }, - "processor": "RP2040", + "debounce": 5, + "diode_direction": "ROW2COL", "encoder": { + "enabled": true, "rotary": [ - {"pin_a": "GP0", "pin_b": "GP1"} + { + "pin_a": "GP0", + "pin_b": "GP1" + } ] }, - "bootloader": "rp2040", - "board": "GENERIC_RP_RP2040", - "diode_direction": "ROW2COL", + "features": { + "audio": false, + "backlight": false, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "oled": false, + "rgb_matrix": false, + "rgblight": false + }, + "keyboard": "Rebound Rev4pi", + "keyboard_folder": "montsinger/rebound/rev4pi", + "keymaps": {}, + "matrix_pins": { + "cols": ["GP6", "GP7", "GP8", "GP9", "GP23", "GP20", "GP22"], + "rows": ["GP2", "GP3", "GP4", "GP5", "GP26", "GP27", "GP28", "GP29"] + }, + "matrix_size": { + "cols": 7, + "rows": 8 + }, + "mouse_key": { + "enabled": false + }, + "parse_errors": [], + "parse_warnings": [], + "processor": "RP2040", + "processor_type": "arm", + "protocol": "ChibiOS", + "qmk": { + "tap_keycode_delay": 10 + }, + "rgb_matrix": { + "driver": "WS2812" + }, + "rgblight": { + "pin": "GP21" + }, + "url": "https://montsinger.net", + "usb": { + "device_version": "0.0.2", + "pid": "0x0001", + "vid": "0x524D" + }, "layouts": { "LAYOUT_all": { + "c_macro": true, + "filename": "keyboards/montsinger/rebound/rev4pi/rev4pi.h", "layout": [ - {"x":0, "y":0}, - {"x":1, "y":0}, - {"x":2, "y":0}, - {"x":3, "y":0}, - {"x":4, "y":0}, - {"x":5, "y":0}, - - {"x":7, "y":0}, - {"x":8, "y":0}, - {"x":9, "y":0}, - {"x":10, "y":0}, - {"x":11, "y":0}, - {"x":12, "y":0}, - - {"x":0, "y":1}, - {"x":1, "y":1}, - {"x":2, "y":1}, - {"x":3, "y":1}, - {"x":4, "y":1}, - {"x":5, "y":1}, - {"x":6, "y":1}, - {"x":7, "y":1}, - {"x":8, "y":1}, - {"x":9, "y":1}, - {"x":10, "y":1}, - {"x":11, "y":1}, - {"x":12, "y":1}, - - {"x":0, "y":2}, - {"x":1, "y":2}, - {"x":2, "y":2}, - {"x":3, "y":2}, - {"x":4, "y":2}, - {"x":5, "y":2}, - {"x":6, "y":2}, - {"x":7, "y":2}, - {"x":8, "y":2}, - {"x":9, "y":2}, - {"x":10, "y":2}, - {"x":11, "y":2}, - {"x":12, "y":2}, - - {"x":0, "y":3}, - {"x":1, "y":3}, - {"x":2, "y":3}, - {"x":3, "y":3}, - {"x":4, "y":3}, - {"x":5, "y":3}, - {"x":6, "y":3}, - {"x":7, "y":3}, - {"x":8, "y":3}, - {"x":9, "y":3}, - {"x":10, "y":3}, - {"x":11, "y":3}, - {"x":12, "y":3} + { "label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }, + { "label": "K70", "matrix": [7, 0], "w": 1, "x": 1, "y": 0 }, + { "label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0 }, + { "label": "K71", "matrix": [7, 1], "w": 1, "x": 3, "y": 0 }, + { "label": "K02", "matrix": [0, 2], "w": 1, "x": 4, "y": 0 }, + { "label": "K72", "matrix": [7, 2], "w": 1, "x": 5, "y": 0 }, + { "label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0 }, + { "label": "K74", "matrix": [7, 4], "w": 1, "x": 8, "y": 0 }, + { "label": "K05", "matrix": [0, 5], "w": 1, "x": 9, "y": 0 }, + { "label": "K75", "matrix": [7, 5], "w": 1, "x": 10, "y": 0 }, + { "label": "K06", "matrix": [0, 6], "w": 1, "x": 11, "y": 0 }, + { "label": "K76", "matrix": [7, 6], "w": 1, "x": 12, "y": 0 }, + { "label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 1 }, + { "label": "K60", "matrix": [6, 0], "w": 1, "x": 1, "y": 1 }, + { "label": "K11", "matrix": [1, 1], "w": 1, "x": 2, "y": 1 }, + { "label": "K61", "matrix": [6, 1], "w": 1, "x": 3, "y": 1 }, + { "label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 1 }, + { "label": "K62", "matrix": [6, 2], "w": 1, "x": 5, "y": 1 }, + { "label": "K13", "matrix": [1, 3], "w": 1, "x": 6, "y": 1 }, + { "label": "K14", "matrix": [1, 4], "w": 1, "x": 7, "y": 1 }, + { "label": "K64", "matrix": [6, 4], "w": 1, "x": 8, "y": 1 }, + { "label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 1 }, + { "label": "K65", "matrix": [6, 5], "w": 1, "x": 10, "y": 1 }, + { "label": "K16", "matrix": [1, 6], "w": 1, "x": 11, "y": 1 }, + { "label": "K66", "matrix": [6, 6], "w": 1, "x": 12, "y": 1 }, + { "label": "K20", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 }, + { "label": "K50", "matrix": [5, 0], "w": 1, "x": 1, "y": 2 }, + { "label": "K21", "matrix": [2, 1], "w": 1, "x": 2, "y": 2 }, + { "label": "K51", "matrix": [5, 1], "w": 1, "x": 3, "y": 2 }, + { "label": "K22", "matrix": [2, 2], "w": 1, "x": 4, "y": 2 }, + { "label": "K52", "matrix": [5, 2], "w": 1, "x": 5, "y": 2 }, + { "label": "K23", "matrix": [2, 3], "w": 1, "x": 6, "y": 2 }, + { "label": "K24", "matrix": [2, 4], "w": 1, "x": 7, "y": 2 }, + { "label": "K54", "matrix": [5, 4], "w": 1, "x": 8, "y": 2 }, + { "label": "K25", "matrix": [2, 5], "w": 1, "x": 9, "y": 2 }, + { "label": "K55", "matrix": [5, 5], "w": 1, "x": 10, "y": 2 }, + { "label": "K26", "matrix": [2, 6], "w": 1, "x": 11, "y": 2 }, + { "label": "K56", "matrix": [5, 6], "w": 1, "x": 12, "y": 2 }, + { "label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 3 }, + { "label": "K40", "matrix": [4, 0], "w": 1, "x": 1, "y": 3 }, + { "label": "K31", "matrix": [3, 1], "w": 1, "x": 2, "y": 3 }, + { "label": "K41", "matrix": [4, 1], "w": 1, "x": 3, "y": 3 }, + { "label": "K32", "matrix": [3, 2], "w": 1, "x": 4, "y": 3 }, + { "label": "K42", "matrix": [4, 2], "w": 1, "x": 5, "y": 3 }, + { "label": "K33", "matrix": [3, 3], "w": 1, "x": 6, "y": 3 }, + { "label": "K34", "matrix": [3, 4], "w": 1, "x": 7, "y": 3 }, + { "label": "K44", "matrix": [4, 4], "w": 1, "x": 8, "y": 3 }, + { "label": "K35", "matrix": [3, 5], "w": 1, "x": 9, "y": 3 }, + { "label": "K45", "matrix": [4, 5], "w": 1, "x": 10, "y": 3 }, + { "label": "K36", "matrix": [3, 6], "w": 1, "x": 11, "y": 3 }, + { "label": "K46", "matrix": [4, 6], "w": 1, "x": 12, "y": 3 } ] }, "LAYOUT_ortho_4x12": { + "c_macro": true, + "filename": "keyboards/montsinger/rebound/rev4pi/rev4pi.h", "layout": [ - - {"x":0, "y":0}, - {"x":1, "y":0}, - {"x":2, "y":0}, - {"x":3, "y":0}, - {"x":4, "y":0}, - {"x":5, "y":0}, - - {"x":7, "y":0}, - {"x":8, "y":0}, - {"x":9, "y":0}, - {"x":10, "y":0}, - {"x":11, "y":0}, - {"x":12, "y":0}, - - {"x":0, "y":1}, - {"x":1, "y":1}, - {"x":2, "y":1}, - {"x":3, "y":1}, - {"x":4, "y":1}, - {"x":5, "y":1}, - - {"x":7, "y":1}, - {"x":8, "y":1}, - {"x":9, "y":1}, - {"x":10, "y":1}, - {"x":11, "y":1}, - {"x":12, "y":1}, - - {"x":0, "y":2}, - {"x":1, "y":2}, - {"x":2, "y":2}, - {"x":3, "y":2}, - {"x":4, "y":2}, - {"x":5, "y":2}, - - {"x":7, "y":2}, - {"x":8, "y":2}, - {"x":9, "y":2}, - {"x":10, "y":2}, - {"x":11, "y":2}, - {"x":12, "y":2}, - - {"x":0, "y":3}, - {"x":1, "y":3}, - {"x":2, "y":3}, - {"x":3, "y":3}, - {"x":4, "y":3}, - {"x":5, "y":3}, - - {"x":7, "y":3}, - {"x":8, "y":3}, - {"x":9, "y":3}, - {"x":10, "y":3}, - {"x":11, "y":3}, - {"x":12, "y":3} + { "label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }, + { "label": "K70", "matrix": [7, 0], "w": 1, "x": 1, "y": 0 }, + { "label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0 }, + { "label": "K71", "matrix": [7, 1], "w": 1, "x": 3, "y": 0 }, + { "label": "K02", "matrix": [0, 2], "w": 1, "x": 4, "y": 0 }, + { "label": "K72", "matrix": [7, 2], "w": 1, "x": 5, "y": 0 }, + { "label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0 }, + { "label": "K74", "matrix": [7, 4], "w": 1, "x": 8, "y": 0 }, + { "label": "K05", "matrix": [0, 5], "w": 1, "x": 9, "y": 0 }, + { "label": "K75", "matrix": [7, 5], "w": 1, "x": 10, "y": 0 }, + { "label": "K06", "matrix": [0, 6], "w": 1, "x": 11, "y": 0 }, + { "label": "K76", "matrix": [7, 6], "w": 1, "x": 12, "y": 0 }, + { "label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 1 }, + { "label": "K60", "matrix": [6, 0], "w": 1, "x": 1, "y": 1 }, + { "label": "K11", "matrix": [1, 1], "w": 1, "x": 2, "y": 1 }, + { "label": "K61", "matrix": [6, 1], "w": 1, "x": 3, "y": 1 }, + { "label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 1 }, + { "label": "K62", "matrix": [6, 2], "w": 1, "x": 5, "y": 1 }, + { "label": "K14", "matrix": [1, 4], "w": 1, "x": 7, "y": 1 }, + { "label": "K64", "matrix": [6, 4], "w": 1, "x": 8, "y": 1 }, + { "label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 1 }, + { "label": "K65", "matrix": [6, 5], "w": 1, "x": 10, "y": 1 }, + { "label": "K16", "matrix": [1, 6], "w": 1, "x": 11, "y": 1 }, + { "label": "K66", "matrix": [6, 6], "w": 1, "x": 12, "y": 1 }, + { "label": "K20", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 }, + { "label": "K50", "matrix": [5, 0], "w": 1, "x": 1, "y": 2 }, + { "label": "K21", "matrix": [2, 1], "w": 1, "x": 2, "y": 2 }, + { "label": "K51", "matrix": [5, 1], "w": 1, "x": 3, "y": 2 }, + { "label": "K22", "matrix": [2, 2], "w": 1, "x": 4, "y": 2 }, + { "label": "K52", "matrix": [5, 2], "w": 1, "x": 5, "y": 2 }, + { "label": "K24", "matrix": [2, 4], "w": 1, "x": 7, "y": 2 }, + { "label": "K54", "matrix": [5, 4], "w": 1, "x": 8, "y": 2 }, + { "label": "K25", "matrix": [2, 5], "w": 1, "x": 9, "y": 2 }, + { "label": "K55", "matrix": [5, 5], "w": 1, "x": 10, "y": 2 }, + { "label": "K26", "matrix": [2, 6], "w": 1, "x": 11, "y": 2 }, + { "label": "K56", "matrix": [5, 6], "w": 1, "x": 12, "y": 2 }, + { "label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 3 }, + { "label": "K40", "matrix": [4, 0], "w": 1, "x": 1, "y": 3 }, + { "label": "K31", "matrix": [3, 1], "w": 1, "x": 2, "y": 3 }, + { "label": "K41", "matrix": [4, 1], "w": 1, "x": 3, "y": 3 }, + { "label": "K32", "matrix": [3, 2], "w": 1, "x": 4, "y": 3 }, + { "label": "K42", "matrix": [4, 2], "w": 1, "x": 5, "y": 3 }, + { "label": "K34", "matrix": [3, 4], "w": 1, "x": 7, "y": 3 }, + { "label": "K44", "matrix": [4, 4], "w": 1, "x": 8, "y": 3 }, + { "label": "K35", "matrix": [3, 5], "w": 1, "x": 9, "y": 3 }, + { "label": "K45", "matrix": [4, 5], "w": 1, "x": 10, "y": 3 }, + { "label": "K36", "matrix": [3, 6], "w": 1, "x": 11, "y": 3 }, + { "label": "K46", "matrix": [4, 6], "w": 1, "x": 12, "y": 3 } ] } } From e8b992ab8991ccf63df7e8844db9a3ebd2ffe981 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 24 Apr 2023 18:36:21 -0400 Subject: [PATCH 25/67] no more config pins --- keyboards/montsinger/rebound/rev4pi/config.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev4pi/config.h index 46f6bf5badac..9159304f1eb7 100644 --- a/keyboards/montsinger/rebound/rev4pi/config.h +++ b/keyboards/montsinger/rebound/rev4pi/config.h @@ -14,9 +14,6 @@ along with this program. If not, see . #pragma once -#define MATRIX_ROW_PINS { GP2, GP3, GP4, GP5, GP26, GP27, GP28, GP29 } -#define MATRIX_COL_PINS { GP6, GP7, GP8, GP9, GP23, GP20, GP22 } - #define ENCODERS_PAD_A { GP0 } #define ENCODERS_PAD_B { GP1 } From 08e2024dac81a6de41168a1a09961c018a92d898 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 24 Apr 2023 18:37:26 -0400 Subject: [PATCH 26/67] no more .h --- keyboards/montsinger/rebound/rev4pi/rev4pi.h | 59 -------------------- 1 file changed, 59 deletions(-) delete mode 100644 keyboards/montsinger/rebound/rev4pi/rev4pi.h diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.h b/keyboards/montsinger/rebound/rev4pi/rev4pi.h deleted file mode 100644 index 17656676aa04..000000000000 --- a/keyboards/montsinger/rebound/rev4pi/rev4pi.h +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright 2023 Ross Montsinger (@Rossman360) - * - * 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 . - */ - -#pragma once - -#include "quantum.h" - -/* This is a shortcut to help you visually see your layout. - * The first section contains all of the arguments representing the - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. - */ -#define LAYOUT_ortho_4x12( \ - K00, K70, K01, K71, K02, K72, K04, K74, K05, K75, K06, K76, \ - K10, K60, K11, K61, K12, K62, K14, K64, K15, K65, K16, K66, \ - K20, K50, K21, K51, K22, K52, K24, K54, K25, K55, K26, K56, \ - K30, K40, K31, K41, K32, K42, K34, K44, K35, K45, K36, K46 \ - ) { \ - { K00, K01, K02, KC_NO, K04, K05, K06}, \ - { K10, K11, K12, KC_NO, K14, K15, K16}, \ - { K20, K21, K22, KC_NO, K24, K25, K26}, \ - { K30, K31, K32, KC_NO, K34, K35, K36}, \ - { K40, K41, K42, KC_NO, K44, K45, K46}, \ - { K50, K51, K52, KC_NO, K54, K55, K56}, \ - { K60, K61, K62, KC_NO, K64, K65, K66}, \ - { K70, K71, K72, KC_NO, K74, K75, K76} \ -} - -#define LAYOUT_all( \ - K00, K70, K01, K71, K02, K72, K04, K74, K05, K75, K06, K76, \ - K10, K60, K11, K61, K12, K62, K13, K14, K64, K15, K65, K16, K66, \ - K20, K50, K21, K51, K22, K52, K23, K24, K54, K25, K55, K26, K56,\ - K30, K40, K31, K41, K32, K42, K33, K34, K44, K35, K45, K36, K46\ - ) { \ - { K00, K01, K02, KC_NO, K04, K05, K06}, \ - { K10, K11, K12, K13, K14, K15, K16}, \ - { K20, K21, K22, K23, K24, K25, K26}, \ - { K30, K31, K32, K33, K34, K35, K36}, \ - { K40, K41, K42, KC_NO, K44, K45, K46}, \ - { K50, K51, K52, KC_NO, K54, K55, K56}, \ - { K60, K61, K62, KC_NO, K64, K65, K66}, \ - { K70, K71, K72, KC_NO, K74, K75, K76} \ -} - From 4db9a25ff69f104f9b9aa045cc395ba977831511 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 24 Apr 2023 18:38:20 -0400 Subject: [PATCH 27/67] pointing to quantum --- keyboards/montsinger/rebound/rev4pi/rev4pi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.c b/keyboards/montsinger/rebound/rev4pi/rev4pi.c index 68a0cb899202..7874e4a08afd 100644 --- a/keyboards/montsinger/rebound/rev4pi/rev4pi.c +++ b/keyboards/montsinger/rebound/rev4pi/rev4pi.c @@ -13,7 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#include "rev4pi.h" +#include "quantum.h" #ifdef ENCODER_ENABLE bool encoder_update_kb(uint8_t index, bool clockwise) { From 9e0922445b92fbc8fff1406ead38ca46b7dbfcee Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 24 Apr 2023 18:47:13 -0400 Subject: [PATCH 28/67] made rules blank --- keyboards/montsinger/rebound/rev4pi/rev4pi.h | 59 ++++++++++++++++++++ keyboards/montsinger/rebound/rev4pi/rules.mk | 22 -------- 2 files changed, 59 insertions(+), 22 deletions(-) create mode 100644 keyboards/montsinger/rebound/rev4pi/rev4pi.h diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.h b/keyboards/montsinger/rebound/rev4pi/rev4pi.h new file mode 100644 index 000000000000..17656676aa04 --- /dev/null +++ b/keyboards/montsinger/rebound/rev4pi/rev4pi.h @@ -0,0 +1,59 @@ +/* Copyright 2023 Ross Montsinger (@Rossman360) + * + * 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 . + */ + +#pragma once + +#include "quantum.h" + +/* This is a shortcut to help you visually see your layout. + * The first section contains all of the arguments representing the + * layout of the board and position of the keys. + * + * The second converts the arguments into a two-dimensional array which + * represents the switch matrix. + */ +#define LAYOUT_ortho_4x12( \ + K00, K70, K01, K71, K02, K72, K04, K74, K05, K75, K06, K76, \ + K10, K60, K11, K61, K12, K62, K14, K64, K15, K65, K16, K66, \ + K20, K50, K21, K51, K22, K52, K24, K54, K25, K55, K26, K56, \ + K30, K40, K31, K41, K32, K42, K34, K44, K35, K45, K36, K46 \ + ) { \ + { K00, K01, K02, KC_NO, K04, K05, K06}, \ + { K10, K11, K12, KC_NO, K14, K15, K16}, \ + { K20, K21, K22, KC_NO, K24, K25, K26}, \ + { K30, K31, K32, KC_NO, K34, K35, K36}, \ + { K40, K41, K42, KC_NO, K44, K45, K46}, \ + { K50, K51, K52, KC_NO, K54, K55, K56}, \ + { K60, K61, K62, KC_NO, K64, K65, K66}, \ + { K70, K71, K72, KC_NO, K74, K75, K76} \ +} + +#define LAYOUT_all( \ + K00, K70, K01, K71, K02, K72, K04, K74, K05, K75, K06, K76, \ + K10, K60, K11, K61, K12, K62, K13, K14, K64, K15, K65, K16, K66, \ + K20, K50, K21, K51, K22, K52, K23, K24, K54, K25, K55, K26, K56,\ + K30, K40, K31, K41, K32, K42, K33, K34, K44, K35, K45, K36, K46\ + ) { \ + { K00, K01, K02, KC_NO, K04, K05, K06}, \ + { K10, K11, K12, K13, K14, K15, K16}, \ + { K20, K21, K22, K23, K24, K25, K26}, \ + { K30, K31, K32, K33, K34, K35, K36}, \ + { K40, K41, K42, KC_NO, K44, K45, K46}, \ + { K50, K51, K52, KC_NO, K54, K55, K56}, \ + { K60, K61, K62, KC_NO, K64, K65, K66}, \ + { K70, K71, K72, KC_NO, K74, K75, K76} \ +} + diff --git a/keyboards/montsinger/rebound/rev4pi/rules.mk b/keyboards/montsinger/rebound/rev4pi/rules.mk index b7730ce978f6..e69de29bb2d1 100644 --- a/keyboards/montsinger/rebound/rev4pi/rules.mk +++ b/keyboards/montsinger/rebound/rev4pi/rules.mk @@ -1,22 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -TRI_LAYER_ENABLE = yes - -RGB_MATRIX_ENABLE = no -RGB_MATRIX_DRIVER = WS2812 - -WS2812_DRIVER = vendor -ENCODER_ENABLE = yes - -OLED_ENABLE = no - From 6ead00c8bb5df620d312036e51fccfe2745af7fc Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 24 Apr 2023 18:48:33 -0400 Subject: [PATCH 29/67] removed tap code and encoder pins from config.h --- keyboards/montsinger/rebound/rev4pi/config.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev4pi/config.h index 9159304f1eb7..4d6c2b4196bf 100644 --- a/keyboards/montsinger/rebound/rev4pi/config.h +++ b/keyboards/montsinger/rebound/rev4pi/config.h @@ -14,9 +14,6 @@ along with this program. If not, see . #pragma once -#define ENCODERS_PAD_A { GP0 } -#define ENCODERS_PAD_B { GP1 } - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ @@ -26,6 +23,5 @@ along with this program. If not, see . #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U -#define TAP_CODE_DELAY 10 #define RP2040_FLASH_GENERIC_03H From d1a613ffc8b5f3766731077209787f4e6fcb973b Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 11:35:12 -0400 Subject: [PATCH 30/67] made it work again --- keyboards/montsinger/rebound/rev4pi/info.json | 4 +-- keyboards/montsinger/rebound/rev4pi/rev4pi.h | 31 ------------------- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index 5856c18d6e37..b1c9981cea08 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -79,7 +79,7 @@ }, "layouts": { "LAYOUT_all": { - "c_macro": true, + "c_macro": false, "filename": "keyboards/montsinger/rebound/rev4pi/rev4pi.h", "layout": [ { "label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }, @@ -136,7 +136,7 @@ ] }, "LAYOUT_ortho_4x12": { - "c_macro": true, + "c_macro": false, "filename": "keyboards/montsinger/rebound/rev4pi/rev4pi.h", "layout": [ { "label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }, diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.h b/keyboards/montsinger/rebound/rev4pi/rev4pi.h index 17656676aa04..0c8628721e85 100644 --- a/keyboards/montsinger/rebound/rev4pi/rev4pi.h +++ b/keyboards/montsinger/rebound/rev4pi/rev4pi.h @@ -25,35 +25,4 @@ * The second converts the arguments into a two-dimensional array which * represents the switch matrix. */ -#define LAYOUT_ortho_4x12( \ - K00, K70, K01, K71, K02, K72, K04, K74, K05, K75, K06, K76, \ - K10, K60, K11, K61, K12, K62, K14, K64, K15, K65, K16, K66, \ - K20, K50, K21, K51, K22, K52, K24, K54, K25, K55, K26, K56, \ - K30, K40, K31, K41, K32, K42, K34, K44, K35, K45, K36, K46 \ - ) { \ - { K00, K01, K02, KC_NO, K04, K05, K06}, \ - { K10, K11, K12, KC_NO, K14, K15, K16}, \ - { K20, K21, K22, KC_NO, K24, K25, K26}, \ - { K30, K31, K32, KC_NO, K34, K35, K36}, \ - { K40, K41, K42, KC_NO, K44, K45, K46}, \ - { K50, K51, K52, KC_NO, K54, K55, K56}, \ - { K60, K61, K62, KC_NO, K64, K65, K66}, \ - { K70, K71, K72, KC_NO, K74, K75, K76} \ -} - -#define LAYOUT_all( \ - K00, K70, K01, K71, K02, K72, K04, K74, K05, K75, K06, K76, \ - K10, K60, K11, K61, K12, K62, K13, K14, K64, K15, K65, K16, K66, \ - K20, K50, K21, K51, K22, K52, K23, K24, K54, K25, K55, K26, K56,\ - K30, K40, K31, K41, K32, K42, K33, K34, K44, K35, K45, K36, K46\ - ) { \ - { K00, K01, K02, KC_NO, K04, K05, K06}, \ - { K10, K11, K12, K13, K14, K15, K16}, \ - { K20, K21, K22, K23, K24, K25, K26}, \ - { K30, K31, K32, K33, K34, K35, K36}, \ - { K40, K41, K42, KC_NO, K44, K45, K46}, \ - { K50, K51, K52, KC_NO, K54, K55, K56}, \ - { K60, K61, K62, KC_NO, K64, K65, K66}, \ - { K70, K71, K72, KC_NO, K74, K75, K76} \ -} From c54e2c4e3b06abb5085ff871f215d9b7e4d7483a Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 11:43:48 -0400 Subject: [PATCH 31/67] no more H --- keyboards/montsinger/rebound/rebound.h | 2 -- keyboards/montsinger/rebound/rev4pi/rev4pi.h | 28 -------------------- 2 files changed, 30 deletions(-) delete mode 100644 keyboards/montsinger/rebound/rev4pi/rev4pi.h diff --git a/keyboards/montsinger/rebound/rebound.h b/keyboards/montsinger/rebound/rebound.h index ae600c440e6e..94aa8ec0c699 100644 --- a/keyboards/montsinger/rebound/rebound.h +++ b/keyboards/montsinger/rebound/rebound.h @@ -26,6 +26,4 @@ #include "rev3.h" #elif defined(KEYBOARD_montsinger_rebound_rev4) #include "rev4.h" -#elif defined(KEYBOARD_montsinger_rebound_rev4pi) - #include "rev4pi.h" #endif diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.h b/keyboards/montsinger/rebound/rev4pi/rev4pi.h deleted file mode 100644 index 0c8628721e85..000000000000 --- a/keyboards/montsinger/rebound/rev4pi/rev4pi.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright 2023 Ross Montsinger (@Rossman360) - * - * 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 . - */ - -#pragma once - -#include "quantum.h" - -/* This is a shortcut to help you visually see your layout. - * The first section contains all of the arguments representing the - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. - */ - From d8883deadbdf6202b89d4f73d038c003c40b9906 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 11:46:49 -0400 Subject: [PATCH 32/67] no more config h features and shorter encoder pin code --- keyboards/montsinger/rebound/rev4pi/info.json | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index b1c9981cea08..7d18d910176d 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -4,29 +4,11 @@ "maintainer": "rossman360", "board": "GENERIC_RP_RP2040", "bootloader": "rp2040", - "config_h_features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, - "console": false, - "encoder": true, - "extrakey": true, - "mousekey": false, - "nkro": false, - "oled": false, - "rgb_matrix": false, - "rgblight": false - }, - "debounce": 5, "diode_direction": "ROW2COL", "encoder": { "enabled": true, "rotary": [ - { - "pin_a": "GP0", - "pin_b": "GP1" - } + {"pin_a": "GP0", "pin_b": "GP1"} ] }, "features": { From 1401ad7f242796439df394a1a56ba27fd7aa1dc7 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 11:48:22 -0400 Subject: [PATCH 33/67] deleted random keyboard lines --- keyboards/montsinger/rebound/rev4pi/info.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index 7d18d910176d..abdc7029cc7a 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -25,9 +25,6 @@ "rgb_matrix": false, "rgblight": false }, - "keyboard": "Rebound Rev4pi", - "keyboard_folder": "montsinger/rebound/rev4pi", - "keymaps": {}, "matrix_pins": { "cols": ["GP6", "GP7", "GP8", "GP9", "GP23", "GP20", "GP22"], "rows": ["GP2", "GP3", "GP4", "GP5", "GP26", "GP27", "GP28", "GP29"] From b61eb5b38932f96275e53467bc33d8125d9025f2 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 11:49:20 -0400 Subject: [PATCH 34/67] deleted matrix size --- keyboards/montsinger/rebound/rev4pi/info.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index abdc7029cc7a..8a10f20a7b7e 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -29,10 +29,6 @@ "cols": ["GP6", "GP7", "GP8", "GP9", "GP23", "GP20", "GP22"], "rows": ["GP2", "GP3", "GP4", "GP5", "GP26", "GP27", "GP28", "GP29"] }, - "matrix_size": { - "cols": 7, - "rows": 8 - }, "mouse_key": { "enabled": false }, From 2df86b59d21cdb1ddde6de63298d15c35c9915e8 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 11:50:45 -0400 Subject: [PATCH 35/67] parse that garbage out --- keyboards/montsinger/rebound/rev4pi/info.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index 8a10f20a7b7e..78e47d70fed8 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -32,11 +32,7 @@ "mouse_key": { "enabled": false }, - "parse_errors": [], - "parse_warnings": [], "processor": "RP2040", - "processor_type": "arm", - "protocol": "ChibiOS", "qmk": { "tap_keycode_delay": 10 }, From 77c2b88c8d1df884508e16d2b24220f00b0cebd5 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 11:52:05 -0400 Subject: [PATCH 36/67] c macro and filename --- keyboards/montsinger/rebound/rev4pi/info.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index 78e47d70fed8..06f897921601 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -50,8 +50,6 @@ }, "layouts": { "LAYOUT_all": { - "c_macro": false, - "filename": "keyboards/montsinger/rebound/rev4pi/rev4pi.h", "layout": [ { "label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }, { "label": "K70", "matrix": [7, 0], "w": 1, "x": 1, "y": 0 }, From 2a26a555ba1c7a6ae5331858c467b2ad9ababa07 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 11:53:37 -0400 Subject: [PATCH 37/67] just the one line? --- keyboards/montsinger/rebound/rev4pi/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index 06f897921601..10699dff1d1d 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -51,7 +51,7 @@ "layouts": { "LAYOUT_all": { "layout": [ - { "label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }, + { "label": "K00", "matrix": [0, 0], "x": 0, "y": 0 }, { "label": "K70", "matrix": [7, 0], "w": 1, "x": 1, "y": 0 }, { "label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0 }, { "label": "K71", "matrix": [7, 1], "w": 1, "x": 3, "y": 0 }, From 2a08d42bf81b16931d8283bb7059f0caa9533229 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 11:59:08 -0400 Subject: [PATCH 38/67] just saw the etc --- keyboards/montsinger/rebound/rev4pi/info.json | 196 +++++++++--------- 1 file changed, 98 insertions(+), 98 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index 10699dff1d1d..e739549aafcb 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -52,110 +52,110 @@ "LAYOUT_all": { "layout": [ { "label": "K00", "matrix": [0, 0], "x": 0, "y": 0 }, - { "label": "K70", "matrix": [7, 0], "w": 1, "x": 1, "y": 0 }, - { "label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0 }, - { "label": "K71", "matrix": [7, 1], "w": 1, "x": 3, "y": 0 }, - { "label": "K02", "matrix": [0, 2], "w": 1, "x": 4, "y": 0 }, - { "label": "K72", "matrix": [7, 2], "w": 1, "x": 5, "y": 0 }, - { "label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0 }, - { "label": "K74", "matrix": [7, 4], "w": 1, "x": 8, "y": 0 }, - { "label": "K05", "matrix": [0, 5], "w": 1, "x": 9, "y": 0 }, - { "label": "K75", "matrix": [7, 5], "w": 1, "x": 10, "y": 0 }, - { "label": "K06", "matrix": [0, 6], "w": 1, "x": 11, "y": 0 }, - { "label": "K76", "matrix": [7, 6], "w": 1, "x": 12, "y": 0 }, - { "label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 1 }, - { "label": "K60", "matrix": [6, 0], "w": 1, "x": 1, "y": 1 }, - { "label": "K11", "matrix": [1, 1], "w": 1, "x": 2, "y": 1 }, - { "label": "K61", "matrix": [6, 1], "w": 1, "x": 3, "y": 1 }, - { "label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 1 }, - { "label": "K62", "matrix": [6, 2], "w": 1, "x": 5, "y": 1 }, - { "label": "K13", "matrix": [1, 3], "w": 1, "x": 6, "y": 1 }, - { "label": "K14", "matrix": [1, 4], "w": 1, "x": 7, "y": 1 }, - { "label": "K64", "matrix": [6, 4], "w": 1, "x": 8, "y": 1 }, - { "label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 1 }, - { "label": "K65", "matrix": [6, 5], "w": 1, "x": 10, "y": 1 }, - { "label": "K16", "matrix": [1, 6], "w": 1, "x": 11, "y": 1 }, - { "label": "K66", "matrix": [6, 6], "w": 1, "x": 12, "y": 1 }, - { "label": "K20", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 }, - { "label": "K50", "matrix": [5, 0], "w": 1, "x": 1, "y": 2 }, - { "label": "K21", "matrix": [2, 1], "w": 1, "x": 2, "y": 2 }, - { "label": "K51", "matrix": [5, 1], "w": 1, "x": 3, "y": 2 }, - { "label": "K22", "matrix": [2, 2], "w": 1, "x": 4, "y": 2 }, - { "label": "K52", "matrix": [5, 2], "w": 1, "x": 5, "y": 2 }, - { "label": "K23", "matrix": [2, 3], "w": 1, "x": 6, "y": 2 }, - { "label": "K24", "matrix": [2, 4], "w": 1, "x": 7, "y": 2 }, - { "label": "K54", "matrix": [5, 4], "w": 1, "x": 8, "y": 2 }, - { "label": "K25", "matrix": [2, 5], "w": 1, "x": 9, "y": 2 }, - { "label": "K55", "matrix": [5, 5], "w": 1, "x": 10, "y": 2 }, - { "label": "K26", "matrix": [2, 6], "w": 1, "x": 11, "y": 2 }, - { "label": "K56", "matrix": [5, 6], "w": 1, "x": 12, "y": 2 }, - { "label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 3 }, - { "label": "K40", "matrix": [4, 0], "w": 1, "x": 1, "y": 3 }, - { "label": "K31", "matrix": [3, 1], "w": 1, "x": 2, "y": 3 }, - { "label": "K41", "matrix": [4, 1], "w": 1, "x": 3, "y": 3 }, - { "label": "K32", "matrix": [3, 2], "w": 1, "x": 4, "y": 3 }, - { "label": "K42", "matrix": [4, 2], "w": 1, "x": 5, "y": 3 }, - { "label": "K33", "matrix": [3, 3], "w": 1, "x": 6, "y": 3 }, - { "label": "K34", "matrix": [3, 4], "w": 1, "x": 7, "y": 3 }, - { "label": "K44", "matrix": [4, 4], "w": 1, "x": 8, "y": 3 }, - { "label": "K35", "matrix": [3, 5], "w": 1, "x": 9, "y": 3 }, - { "label": "K45", "matrix": [4, 5], "w": 1, "x": 10, "y": 3 }, - { "label": "K36", "matrix": [3, 6], "w": 1, "x": 11, "y": 3 }, - { "label": "K46", "matrix": [4, 6], "w": 1, "x": 12, "y": 3 } + { "label": "K70", "matrix": [7, 0], "x": 1, "y": 0 }, + { "label": "K01", "matrix": [0, 1], "x": 2, "y": 0 }, + { "label": "K71", "matrix": [7, 1], "x": 3, "y": 0 }, + { "label": "K02", "matrix": [0, 2], "x": 4, "y": 0 }, + { "label": "K72", "matrix": [7, 2], "x": 5, "y": 0 }, + { "label": "K04", "matrix": [0, 4], "x": 7, "y": 0 }, + { "label": "K74", "matrix": [7, 4], "x": 8, "y": 0 }, + { "label": "K05", "matrix": [0, 5], "x": 9, "y": 0 }, + { "label": "K75", "matrix": [7, 5], "x": 10, "y": 0 }, + { "label": "K06", "matrix": [0, 6], "x": 11, "y": 0 }, + { "label": "K76", "matrix": [7, 6], "x": 12, "y": 0 }, + { "label": "K10", "matrix": [1, 0], "x": 0, "y": 1 }, + { "label": "K60", "matrix": [6, 0], "x": 1, "y": 1 }, + { "label": "K11", "matrix": [1, 1], "x": 2, "y": 1 }, + { "label": "K61", "matrix": [6, 1], "x": 3, "y": 1 }, + { "label": "K12", "matrix": [1, 2], "x": 4, "y": 1 }, + { "label": "K62", "matrix": [6, 2], "x": 5, "y": 1 }, + { "label": "K13", "matrix": [1, 3], "x": 6, "y": 1 }, + { "label": "K14", "matrix": [1, 4], "x": 7, "y": 1 }, + { "label": "K64", "matrix": [6, 4], "x": 8, "y": 1 }, + { "label": "K15", "matrix": [1, 5], "x": 9, "y": 1 }, + { "label": "K65", "matrix": [6, 5], "x": 10, "y": 1 }, + { "label": "K16", "matrix": [1, 6], "x": 11, "y": 1 }, + { "label": "K66", "matrix": [6, 6], "x": 12, "y": 1 }, + { "label": "K20", "matrix": [2, 0], "x": 0, "y": 2 }, + { "label": "K50", "matrix": [5, 0], "x": 1, "y": 2 }, + { "label": "K21", "matrix": [2, 1], "x": 2, "y": 2 }, + { "label": "K51", "matrix": [5, 1], "x": 3, "y": 2 }, + { "label": "K22", "matrix": [2, 2], "x": 4, "y": 2 }, + { "label": "K52", "matrix": [5, 2], "x": 5, "y": 2 }, + { "label": "K23", "matrix": [2, 3], "x": 6, "y": 2 }, + { "label": "K24", "matrix": [2, 4], "x": 7, "y": 2 }, + { "label": "K54", "matrix": [5, 4], "x": 8, "y": 2 }, + { "label": "K25", "matrix": [2, 5], "x": 9, "y": 2 }, + { "label": "K55", "matrix": [5, 5], "x": 10, "y": 2 }, + { "label": "K26", "matrix": [2, 6], "x": 11, "y": 2 }, + { "label": "K56", "matrix": [5, 6], "x": 12, "y": 2 }, + { "label": "K30", "matrix": [3, 0], "x": 0, "y": 3 }, + { "label": "K40", "matrix": [4, 0], "x": 1, "y": 3 }, + { "label": "K31", "matrix": [3, 1], "x": 2, "y": 3 }, + { "label": "K41", "matrix": [4, 1], "x": 3, "y": 3 }, + { "label": "K32", "matrix": [3, 2], "x": 4, "y": 3 }, + { "label": "K42", "matrix": [4, 2], "x": 5, "y": 3 }, + { "label": "K33", "matrix": [3, 3], "x": 6, "y": 3 }, + { "label": "K34", "matrix": [3, 4], "x": 7, "y": 3 }, + { "label": "K44", "matrix": [4, 4], "x": 8, "y": 3 }, + { "label": "K35", "matrix": [3, 5], "x": 9, "y": 3 }, + { "label": "K45", "matrix": [4, 5], "x": 10, "y": 3 }, + { "label": "K36", "matrix": [3, 6], "x": 11, "y": 3 }, + { "label": "K46", "matrix": [4, 6], "x": 12, "y": 3 } ] }, "LAYOUT_ortho_4x12": { "c_macro": false, "filename": "keyboards/montsinger/rebound/rev4pi/rev4pi.h", "layout": [ - { "label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }, - { "label": "K70", "matrix": [7, 0], "w": 1, "x": 1, "y": 0 }, - { "label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0 }, - { "label": "K71", "matrix": [7, 1], "w": 1, "x": 3, "y": 0 }, - { "label": "K02", "matrix": [0, 2], "w": 1, "x": 4, "y": 0 }, - { "label": "K72", "matrix": [7, 2], "w": 1, "x": 5, "y": 0 }, - { "label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0 }, - { "label": "K74", "matrix": [7, 4], "w": 1, "x": 8, "y": 0 }, - { "label": "K05", "matrix": [0, 5], "w": 1, "x": 9, "y": 0 }, - { "label": "K75", "matrix": [7, 5], "w": 1, "x": 10, "y": 0 }, - { "label": "K06", "matrix": [0, 6], "w": 1, "x": 11, "y": 0 }, - { "label": "K76", "matrix": [7, 6], "w": 1, "x": 12, "y": 0 }, - { "label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 1 }, - { "label": "K60", "matrix": [6, 0], "w": 1, "x": 1, "y": 1 }, - { "label": "K11", "matrix": [1, 1], "w": 1, "x": 2, "y": 1 }, - { "label": "K61", "matrix": [6, 1], "w": 1, "x": 3, "y": 1 }, - { "label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 1 }, - { "label": "K62", "matrix": [6, 2], "w": 1, "x": 5, "y": 1 }, - { "label": "K14", "matrix": [1, 4], "w": 1, "x": 7, "y": 1 }, - { "label": "K64", "matrix": [6, 4], "w": 1, "x": 8, "y": 1 }, - { "label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 1 }, - { "label": "K65", "matrix": [6, 5], "w": 1, "x": 10, "y": 1 }, - { "label": "K16", "matrix": [1, 6], "w": 1, "x": 11, "y": 1 }, - { "label": "K66", "matrix": [6, 6], "w": 1, "x": 12, "y": 1 }, - { "label": "K20", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 }, - { "label": "K50", "matrix": [5, 0], "w": 1, "x": 1, "y": 2 }, - { "label": "K21", "matrix": [2, 1], "w": 1, "x": 2, "y": 2 }, - { "label": "K51", "matrix": [5, 1], "w": 1, "x": 3, "y": 2 }, - { "label": "K22", "matrix": [2, 2], "w": 1, "x": 4, "y": 2 }, - { "label": "K52", "matrix": [5, 2], "w": 1, "x": 5, "y": 2 }, - { "label": "K24", "matrix": [2, 4], "w": 1, "x": 7, "y": 2 }, - { "label": "K54", "matrix": [5, 4], "w": 1, "x": 8, "y": 2 }, - { "label": "K25", "matrix": [2, 5], "w": 1, "x": 9, "y": 2 }, - { "label": "K55", "matrix": [5, 5], "w": 1, "x": 10, "y": 2 }, - { "label": "K26", "matrix": [2, 6], "w": 1, "x": 11, "y": 2 }, - { "label": "K56", "matrix": [5, 6], "w": 1, "x": 12, "y": 2 }, - { "label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 3 }, - { "label": "K40", "matrix": [4, 0], "w": 1, "x": 1, "y": 3 }, - { "label": "K31", "matrix": [3, 1], "w": 1, "x": 2, "y": 3 }, - { "label": "K41", "matrix": [4, 1], "w": 1, "x": 3, "y": 3 }, - { "label": "K32", "matrix": [3, 2], "w": 1, "x": 4, "y": 3 }, - { "label": "K42", "matrix": [4, 2], "w": 1, "x": 5, "y": 3 }, - { "label": "K34", "matrix": [3, 4], "w": 1, "x": 7, "y": 3 }, - { "label": "K44", "matrix": [4, 4], "w": 1, "x": 8, "y": 3 }, - { "label": "K35", "matrix": [3, 5], "w": 1, "x": 9, "y": 3 }, - { "label": "K45", "matrix": [4, 5], "w": 1, "x": 10, "y": 3 }, - { "label": "K36", "matrix": [3, 6], "w": 1, "x": 11, "y": 3 }, - { "label": "K46", "matrix": [4, 6], "w": 1, "x": 12, "y": 3 } + { "label": "K00", "matrix": [0, 0], "x": 0, "y": 0 }, + { "label": "K70", "matrix": [7, 0], "x": 1, "y": 0 }, + { "label": "K01", "matrix": [0, 1], "x": 2, "y": 0 }, + { "label": "K71", "matrix": [7, 1], "x": 3, "y": 0 }, + { "label": "K02", "matrix": [0, 2], "x": 4, "y": 0 }, + { "label": "K72", "matrix": [7, 2], "x": 5, "y": 0 }, + { "label": "K04", "matrix": [0, 4], "x": 7, "y": 0 }, + { "label": "K74", "matrix": [7, 4], "x": 8, "y": 0 }, + { "label": "K05", "matrix": [0, 5], "x": 9, "y": 0 }, + { "label": "K75", "matrix": [7, 5], "x": 10, "y": 0 }, + { "label": "K06", "matrix": [0, 6], "x": 11, "y": 0 }, + { "label": "K76", "matrix": [7, 6], "x": 12, "y": 0 }, + { "label": "K10", "matrix": [1, 0], "x": 0, "y": 1 }, + { "label": "K60", "matrix": [6, 0], "x": 1, "y": 1 }, + { "label": "K11", "matrix": [1, 1], "x": 2, "y": 1 }, + { "label": "K61", "matrix": [6, 1], "x": 3, "y": 1 }, + { "label": "K12", "matrix": [1, 2], "x": 4, "y": 1 }, + { "label": "K62", "matrix": [6, 2], "x": 5, "y": 1 }, + { "label": "K14", "matrix": [1, 4], "x": 7, "y": 1 }, + { "label": "K64", "matrix": [6, 4], "x": 8, "y": 1 }, + { "label": "K15", "matrix": [1, 5], "x": 9, "y": 1 }, + { "label": "K65", "matrix": [6, 5], "x": 10, "y": 1 }, + { "label": "K16", "matrix": [1, 6], "x": 11, "y": 1 }, + { "label": "K66", "matrix": [6, 6], "x": 12, "y": 1 }, + { "label": "K20", "matrix": [2, 0], "x": 0, "y": 2 }, + { "label": "K50", "matrix": [5, 0], "x": 1, "y": 2 }, + { "label": "K21", "matrix": [2, 1], "x": 2, "y": 2 }, + { "label": "K51", "matrix": [5, 1], "x": 3, "y": 2 }, + { "label": "K22", "matrix": [2, 2], "x": 4, "y": 2 }, + { "label": "K52", "matrix": [5, 2], "x": 5, "y": 2 }, + { "label": "K24", "matrix": [2, 4], "x": 7, "y": 2 }, + { "label": "K54", "matrix": [5, 4], "x": 8, "y": 2 }, + { "label": "K25", "matrix": [2, 5], "x": 9, "y": 2 }, + { "label": "K55", "matrix": [5, 5], "x": 10, "y": 2 }, + { "label": "K26", "matrix": [2, 6], "x": 11, "y": 2 }, + { "label": "K56", "matrix": [5, 6], "x": 12, "y": 2 }, + { "label": "K30", "matrix": [3, 0], "x": 0, "y": 3 }, + { "label": "K40", "matrix": [4, 0], "x": 1, "y": 3 }, + { "label": "K31", "matrix": [3, 1], "x": 2, "y": 3 }, + { "label": "K41", "matrix": [4, 1], "x": 3, "y": 3 }, + { "label": "K32", "matrix": [3, 2], "x": 4, "y": 3 }, + { "label": "K42", "matrix": [4, 2], "x": 5, "y": 3 }, + { "label": "K34", "matrix": [3, 4], "x": 7, "y": 3 }, + { "label": "K44", "matrix": [4, 4], "x": 8, "y": 3 }, + { "label": "K35", "matrix": [3, 5], "x": 9, "y": 3 }, + { "label": "K45", "matrix": [4, 5], "x": 10, "y": 3 }, + { "label": "K36", "matrix": [3, 6], "x": 11, "y": 3 }, + { "label": "K46", "matrix": [4, 6], "x": 12, "y": 3 } ] } } From ef42e25a4545216fe58a48454e9cb5fcf759ec61 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 12:00:01 -0400 Subject: [PATCH 39/67] there you are again --- keyboards/montsinger/rebound/rev4pi/info.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev4pi/info.json index e739549aafcb..ef8e9398104e 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev4pi/info.json @@ -105,8 +105,6 @@ ] }, "LAYOUT_ortho_4x12": { - "c_macro": false, - "filename": "keyboards/montsinger/rebound/rev4pi/rev4pi.h", "layout": [ { "label": "K00", "matrix": [0, 0], "x": 0, "y": 0 }, { "label": "K70", "matrix": [7, 0], "x": 1, "y": 0 }, From 6abefc467d857a4ece0032d39221c744b7a70ef6 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 12:24:04 -0400 Subject: [PATCH 40/67] byebye roommate --- .../rev4pi/keymaps/ericgebhart/keymap.c | 101 ---------------- .../rev4pi/keymaps/ericgebhart/layouts.h | 113 ------------------ .../rev4pi/keymaps/ericgebhart/readme.md | 5 - .../rev4pi/keymaps/ericgebhart/rules.mk | 16 --- 4 files changed, 235 deletions(-) delete mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c delete mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/layouts.h delete mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/readme.md delete mode 100644 keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/rules.mk diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c deleted file mode 100644 index a307215bf665..000000000000 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/keymap.c +++ /dev/null @@ -1,101 +0,0 @@ -/* - Copyright 2018 Eric Gebhart - - 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 . -*/ -#include "ericgebhart.h" -#include "layouts.h" - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // Qwerty based Base layers - [_DVORAK] = Rebound_base(___DVORAK___), - [_BEAKL] = Rebound_base(___BEAKL15___), - [_COLEMAK] = Rebound_base(___COLEMAK_DH___), - [_QWERTY] = Rebound_base(___QWERTY___), - - // Bepo base layers - [_BEAKL_BP] = Rebound_base_bepo(___BEAKL15_FR___), - [_DVORAK_BP] = Rebound_base_bepo(___DVORAK_FR___), - [_BEPO] = Rebound_base_bepo6(___BEPO6___), - - // Transient layers. - [_SYMB] = Rebound_transient(___SYMB_BEAKLA_3x12___), - [_SYMB_BP] = Rebound_transient(___SYMB_BEAKLA_BP_3x12___), - - [_KEYPAD] = Rebound_transient(___KP_C_3x12___), - [_KEYPAD_BP] = Rebound_transient(___KP_C_BP_3x12___), - - [_TOPROWS] = Rebound_transient(___TOPROWS_3x12___), - [_TOPROWS_BP] = Rebound_transient(___TOPROWS_BP_3x12___), - [_NAV] = Rebound_transient(___NAV_3x12___), - [_LAYERS] = Rebound_transient(___LAYERS_3x12___), -}; - - -bool encoder_update_user(uint8_t index, bool clockwise) { - switch(get_highest_layer(layer_state)){ - case _DVORAK: - if (clockwise) { - tap_code16(KC_VOLD); - } else { - tap_code16(KC_VOLU); - } - break; - - case _NAV: - if (clockwise) { - tap_code16(S(KC_TAB)); - } else { - tap_code16(KC_TAB); - } - break; - } - return true; -} - -#ifdef OLED_ENABLE -bool oled_task_user(void) { - // Host Keyboard Layer Status - oled_write_P(PSTR(""), false); - - switch (get_highest_layer(layer_state)) { - case _BASE: - oled_write_P(PSTR("Rebound\n"), false); - oled_write_P(PSTR("Rev4\n"), false); - break; - case _NAV: - oled_write_P(PSTR("Nav\n"), false); - break; - case _SYMB_BEAKL: - case _SYMB: - oled_write_P(PSTR("Symbols\n"), false); - break; - case _KEYPAD: - oled_write_P(PSTR("Top Rows\n"), false); - break; - default: - // Or use the write_ln shortcut over adding '\n' to the end of your string - oled_write_ln_P(PSTR("Undefined"), false); - } - - // Host Keyboard LED Status - led_t led_state = host_keyboard_led_state(); - oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); - oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false); - oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); - return false; -} - -#endif diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/layouts.h b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/layouts.h deleted file mode 100644 index f6b7fc151319..000000000000 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/layouts.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - Copyright 2018 Eric Gebhart - - 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 . -*/ - -/********************************************************************/ -/* Rebound 4 rows, 1x12, 3x13 */ -/********************************************************************/ - -#define LVARG_rebound(...) LAYOUT_all(__VA_ARGS__) -#define LAYOUT_rebound_base( \ - K01, K02, K03, K04, K05, \ - K06, K07, K08, K09, K0A, \ - K11, K12, K13, K14, K15, \ - K16, K17, K18, K19, K1A, \ - K21, K22, K23, K24, K25, \ - K26, K27, K28, K29, K2A \ - ) \ - LVARG_rebound( \ - ROW1_LEFT(K01, K02, K03, K04, K05), \ - ROW1_RIGHT(K06, K07, K08, K09, K0A), \ - \ - ROW2_LEFT(K11, K12, K13, K14, K15), \ - KC_CCCV, \ - ROW2_RIGHT(K16, K17, K18, K19, K1A), \ - \ - ROW3_LEFT(K21, K22, K23, K24, K25), \ - MO(_ADJUST), \ - ROW3_RIGHT(K26, K27, K28, K29, K2A), \ - ___13_BOTTOM___ \ - ) - -#define LAYOUT_rebound_base_bepo( \ - K01, K02, K03, K04, K05, \ - K06, K07, K08, K09, K0A, \ - K11, K12, K13, K14, K15, \ - K16, K17, K18, K19, K1A, \ - K21, K22, K23, K24, K25, \ - K26, K27, K28, K29, K2A \ - ) \ - LVARG_rebound( \ - ROW1_LEFT_BP(K01, K02, K03, K04, K05), \ - ROW1_RIGHT_BP(K06, K07, K08, K09, K0A), \ - \ - ROW2_LEFT_BP(K11, K12, K13, K14, K15), \ - KC_CCCV, \ - ROW2_RIGHT_BP(K16, K17, K18, K19, K1A), \ - \ - ROW3_LEFT_BP(K21, K22, K23, K24, K25), \ - MO(_ADJUST), \ - ROW3_RIGHT_BP(K26, K27, K28, K29, K2A), \ - ___13_BOTTOM_BP___ \ - ) - -// Just for bepo because it's a 3x6 matrix on each side. -// So 3 pairs of 6 keys, left and right. -#define LAYOUT_rebound_base_bepo6( \ - K01, K02, K03, K04, K05, K06, \ - K07, K08, K09, K0A, K0B, K0C, \ - K11, K12, K13, K14, K15, K16, \ - K17, K18, K19, K1A, K1B, K1C, \ - K21, K22, K23, K24, K25, K26, \ - K27, K28, K29, K2A, K2B, K2C \ - ) \ - LVARG_rebound( \ - ROW1_LEFT_BP6(K01, K02, K03, K04, K05, K06), \ - ROW1_RIGHT_BP6(K07, K08, K09, K0A, K0B, K0C), \ - \ - ROW2_LEFT_BP6(K11, K12, K13, K14, K15, K16), \ - KC_CCCV, \ - ROW2_RIGHT_BP6(K17, K18, K19, K1A, K1B, K1C), \ - \ - ROW3_LEFT_BP6(K21, K22, K23, K24, K25, K26), \ - MO(_ADJUST), \ - ROW3_RIGHT_BP6(K27, K28, K29, K2A, K2B, K2C), \ - ___13_BOTTOM_BP___ \ - ) - -#define LAYOUT_rebound_transient( \ - K01, K02, K03, K04, K05, K06, \ - K07, K08, K09, K0A, K0B, K0C, \ - K11, K12, K13, K14, K15, K16, \ - K17, K18, K19, K1A, K1B, K1C, \ - K21, K22, K23, K24, K25, K26, \ - K27, K28, K29, K2A, K2B, K2C \ - ) \ - LVARG_rebound( \ - K01, K02, K03, K04, K05, K06, \ - K07, K08, K09, K0A, K0B, K0C, \ - K11, K12, K13, K14, K15, K16, \ - ___, \ - K17, K18, K19, K1A, K1B, K1C, \ - K21, K22, K23, K24, K25, K26, \ - ___, \ - K27, K28, K29, K2A, K2B, K2C, \ - ___, ___12___) - -#define Rebound_base(...) LAYOUT_rebound_base(__VA_ARGS__) -#define Rebound_base_bepo(...) LAYOUT_rebound_base_bepo(__VA_ARGS__) -#define Rebound_base_bepo6(...) LAYOUT_rebound_base_bepo6(__VA_ARGS__) -#define Rebound_transient(...) LAYOUT_rebound_transient(__VA_ARGS__) diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/readme.md b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/readme.md deleted file mode 100644 index 3a479685965e..000000000000 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -Overview -======== - -These are my keymaps. There isn't much here. Go take a look at my Userspace readme. -That's where all the code is. diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/rules.mk b/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/rules.mk deleted file mode 100644 index cf27df39b891..000000000000 --- a/keyboards/montsinger/rebound/rev4pi/keymaps/ericgebhart/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = no # Unicode -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -TAP_DANCE_ENABLE = yes # Enable the tap dance feature. From 11bf45939fe81953ade885ec56ee946b0c92b0e2 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 1 Jun 2023 12:25:37 -0400 Subject: [PATCH 41/67] date rollback --- keyboards/montsinger/rebound/rebound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rebound.h b/keyboards/montsinger/rebound/rebound.h index 94aa8ec0c699..6bddfb2c3abc 100644 --- a/keyboards/montsinger/rebound/rebound.h +++ b/keyboards/montsinger/rebound/rebound.h @@ -1,4 +1,4 @@ -/* Copyright 2023 Ross Montsinger +/* Copyright 2020 Ross Montsinger * * 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 From 078353b4a90762560f3bbe0743e30cead8ed8a61 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 26 Jun 2023 19:42:43 -0400 Subject: [PATCH 42/67] naming as rev5 instead --- keyboards/montsinger/rebound/{rev4pi => rev5}/config.h | 0 keyboards/montsinger/rebound/{rev4pi => rev5}/info.json | 2 +- .../rebound/{rev4pi => rev5}/keymaps/default/keymap.c | 0 .../rebound/{rev4pi => rev5}/keymaps/rossman360/keymap.c | 0 .../rebound/{rev4pi => rev5}/keymaps/rossman360/rules.mk | 0 .../montsinger/rebound/{rev4pi => rev5}/keymaps/via/keymap.c | 0 .../montsinger/rebound/{rev4pi => rev5}/keymaps/via/rules.mk | 0 keyboards/montsinger/rebound/{rev4pi/rev4pi.c => rev5/rev5.c} | 0 keyboards/montsinger/rebound/{rev4pi => rev5}/rules.mk | 0 9 files changed, 1 insertion(+), 1 deletion(-) rename keyboards/montsinger/rebound/{rev4pi => rev5}/config.h (100%) rename keyboards/montsinger/rebound/{rev4pi => rev5}/info.json (99%) rename keyboards/montsinger/rebound/{rev4pi => rev5}/keymaps/default/keymap.c (100%) rename keyboards/montsinger/rebound/{rev4pi => rev5}/keymaps/rossman360/keymap.c (100%) rename keyboards/montsinger/rebound/{rev4pi => rev5}/keymaps/rossman360/rules.mk (100%) rename keyboards/montsinger/rebound/{rev4pi => rev5}/keymaps/via/keymap.c (100%) rename keyboards/montsinger/rebound/{rev4pi => rev5}/keymaps/via/rules.mk (100%) rename keyboards/montsinger/rebound/{rev4pi/rev4pi.c => rev5/rev5.c} (100%) rename keyboards/montsinger/rebound/{rev4pi => rev5}/rules.mk (100%) diff --git a/keyboards/montsinger/rebound/rev4pi/config.h b/keyboards/montsinger/rebound/rev5/config.h similarity index 100% rename from keyboards/montsinger/rebound/rev4pi/config.h rename to keyboards/montsinger/rebound/rev5/config.h diff --git a/keyboards/montsinger/rebound/rev4pi/info.json b/keyboards/montsinger/rebound/rev5/info.json similarity index 99% rename from keyboards/montsinger/rebound/rev4pi/info.json rename to keyboards/montsinger/rebound/rev5/info.json index ef8e9398104e..96259eb81658 100644 --- a/keyboards/montsinger/rebound/rev4pi/info.json +++ b/keyboards/montsinger/rebound/rev5/info.json @@ -1,6 +1,6 @@ { "manufacturer": "Montsinger", - "keyboard_name": "montsinger/rebound/rev4pi", + "keyboard_name": "montsinger/rebound/rev5", "maintainer": "rossman360", "board": "GENERIC_RP_RP2040", "bootloader": "rp2040", diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c similarity index 100% rename from keyboards/montsinger/rebound/rev4pi/keymaps/default/keymap.c rename to keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c similarity index 100% rename from keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/keymap.c rename to keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/rules.mk b/keyboards/montsinger/rebound/rev5/keymaps/rossman360/rules.mk similarity index 100% rename from keyboards/montsinger/rebound/rev4pi/keymaps/rossman360/rules.mk rename to keyboards/montsinger/rebound/rev5/keymaps/rossman360/rules.mk diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c similarity index 100% rename from keyboards/montsinger/rebound/rev4pi/keymaps/via/keymap.c rename to keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c diff --git a/keyboards/montsinger/rebound/rev4pi/keymaps/via/rules.mk b/keyboards/montsinger/rebound/rev5/keymaps/via/rules.mk similarity index 100% rename from keyboards/montsinger/rebound/rev4pi/keymaps/via/rules.mk rename to keyboards/montsinger/rebound/rev5/keymaps/via/rules.mk diff --git a/keyboards/montsinger/rebound/rev4pi/rev4pi.c b/keyboards/montsinger/rebound/rev5/rev5.c similarity index 100% rename from keyboards/montsinger/rebound/rev4pi/rev4pi.c rename to keyboards/montsinger/rebound/rev5/rev5.c diff --git a/keyboards/montsinger/rebound/rev4pi/rules.mk b/keyboards/montsinger/rebound/rev5/rules.mk similarity index 100% rename from keyboards/montsinger/rebound/rev4pi/rules.mk rename to keyboards/montsinger/rebound/rev5/rules.mk From b8b138f1d53ba58536347e75e7939fa2492ecf97 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 6 Jul 2023 11:36:15 -0400 Subject: [PATCH 43/67] it aint true --- keyboards/montsinger/rebound/rev5/info.json | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev5/info.json b/keyboards/montsinger/rebound/rev5/info.json index 96259eb81658..b37cdd5a1457 100644 --- a/keyboards/montsinger/rebound/rev5/info.json +++ b/keyboards/montsinger/rebound/rev5/info.json @@ -6,7 +6,6 @@ "bootloader": "rp2040", "diode_direction": "ROW2COL", "encoder": { - "enabled": true, "rotary": [ {"pin_a": "GP0", "pin_b": "GP1"} ] From ac732abea1d3855bf951195806a167be1d3f5ffe Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 6 Jul 2023 11:37:23 -0400 Subject: [PATCH 44/67] rgb name --- keyboards/montsinger/rebound/rev5/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev5/info.json b/keyboards/montsinger/rebound/rev5/info.json index b37cdd5a1457..59ee7745d0e5 100644 --- a/keyboards/montsinger/rebound/rev5/info.json +++ b/keyboards/montsinger/rebound/rev5/info.json @@ -38,7 +38,7 @@ "rgb_matrix": { "driver": "WS2812" }, - "rgblight": { + "ws2812": { "pin": "GP21" }, "url": "https://montsinger.net", From 697a90c3e7bc4ff4185ede1451cb71510c14055f Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 6 Jul 2023 11:40:19 -0400 Subject: [PATCH 45/67] blank space --- keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c index 27d0ae1363d2..4a2eff6e3b2e 100644 --- a/keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c +++ b/keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c @@ -12,7 +12,9 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - */#include QMK_KEYBOARD_H + */ + +#include QMK_KEYBOARD_H #include "rossman360.h" #define PGMOD LT(_NUM, KC_PGDN) From 8d2ded8743354b98a7a30b41c08b6275c755fb6c Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 6 Jul 2023 11:40:39 -0400 Subject: [PATCH 46/67] include qmk keyboard h was missing --- .../montsinger/rebound/rev5/keymaps/default/keymap.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c index c827bc09ed54..4d08337ad4f6 100644 --- a/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c +++ b/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c @@ -14,6 +14,8 @@ * along with this program. If not, see . */ +#include QMK_KEYBOARD_H + // Each layer gets a name for readability, which is then used in the keymap matrix below. // The underscores don't mean anything - you can have a layer called STUFF or any other name. // Layer names don't all need to be of the same length, obviously, and you can also skip them @@ -25,13 +27,7 @@ enum layer_names { _DVORAK, _LOWER, _RAISE, - _ADJUST -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - COLEMAK, - DVORAK + _ADJUST, }; #define ADJUST MO(_ADJUST) From 3407e003174932bdf932ed8d5527dcfaec90376e Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 9 Jul 2023 11:31:03 -0400 Subject: [PATCH 47/67] no more .c --- keyboards/montsinger/rebound/rev5/rev5.c | 30 ------------------------ 1 file changed, 30 deletions(-) delete mode 100644 keyboards/montsinger/rebound/rev5/rev5.c diff --git a/keyboards/montsinger/rebound/rev5/rev5.c b/keyboards/montsinger/rebound/rev5/rev5.c deleted file mode 100644 index 7874e4a08afd..000000000000 --- a/keyboards/montsinger/rebound/rev5/rev5.c +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright 2023 Ross Montsinger (@Rossman360) - * - * 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 . - */ -#include "quantum.h" - -#ifdef ENCODER_ENABLE -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { - return false; - } - if (clockwise) { - tap_code_delay(KC_VOLU, 10); - } else { - tap_code_delay(KC_VOLD, 10); - } - return true; -} -#endif From ef8b19df79044171f91752e7b8e96cbc6ac46f6a Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 15 Jul 2023 12:23:26 -0400 Subject: [PATCH 48/67] that --- keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c index 4d08337ad4f6..356a385f7c76 100644 --- a/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c +++ b/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c @@ -30,6 +30,12 @@ enum layer_names { _ADJUST, }; +enum custom_keycodes { + QWERTY = QK_USER, + COLEMAK, + DVORAK, +}; + #define ADJUST MO(_ADJUST) const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { From ffe4b6da38dea5b06ae2e5be53869c99d996c1e5 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 15 Jul 2023 12:54:02 -0400 Subject: [PATCH 49/67] added rgbnum --- keyboards/montsinger/rebound/rev5/config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keyboards/montsinger/rebound/rev5/config.h b/keyboards/montsinger/rebound/rev5/config.h index 4d6c2b4196bf..7bc2f1c4205a 100644 --- a/keyboards/montsinger/rebound/rev5/config.h +++ b/keyboards/montsinger/rebound/rev5/config.h @@ -19,6 +19,8 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE +#define RGBLED_NUM 12 + #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U From 2f075bfc3d039a7acf81494d339b4d1a6337b811 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 27 Jul 2023 13:18:27 -0400 Subject: [PATCH 50/67] removed alt layouts --- .../montsinger/rebound/rev5/keymaps/via/keymap.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c index 48c3016c4831..bb733cb7dfc8 100644 --- a/keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c +++ b/keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c @@ -23,8 +23,6 @@ enum layer_names { _QWERTY, - _COLEMAK, - _DVORAK, _LOWER, _RAISE, _ADJUST @@ -47,20 +45,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_ENT, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT ), -[_COLEMAK] = LAYOUT_all( - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, - KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, _______, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, _______, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -[_DVORAK] = LAYOUT_all( - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, - KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, _______, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, - KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, _______, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, _______, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - [_LOWER] = LAYOUT_all( KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, From 3b68a6552186cad3253175636afb728570d7e7fa Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 12:15:02 -0400 Subject: [PATCH 51/67] changed dir name --- keyboards/montsinger/palmetto/config.h | 15 + keyboards/montsinger/palmetto/halconf.h | 7 + keyboards/montsinger/palmetto/info.json | 319 ++++++++++++++++++ .../palmetto/keymaps/default/keymap.c | 32 ++ keyboards/montsinger/palmetto/mcuconf.h | 10 + keyboards/montsinger/palmetto/readme.md | 26 ++ keyboards/montsinger/palmetto/rules.mk | 1 + 7 files changed, 410 insertions(+) create mode 100755 keyboards/montsinger/palmetto/config.h create mode 100755 keyboards/montsinger/palmetto/halconf.h create mode 100755 keyboards/montsinger/palmetto/info.json create mode 100644 keyboards/montsinger/palmetto/keymaps/default/keymap.c create mode 100755 keyboards/montsinger/palmetto/mcuconf.h create mode 100644 keyboards/montsinger/palmetto/readme.md create mode 100755 keyboards/montsinger/palmetto/rules.mk diff --git a/keyboards/montsinger/palmetto/config.h b/keyboards/montsinger/palmetto/config.h new file mode 100755 index 000000000000..aaabec21322e --- /dev/null +++ b/keyboards/montsinger/palmetto/config.h @@ -0,0 +1,15 @@ +// Copyright 2023 Ross Montsinger +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* Bootmagic Lite key configuration */ +#define BOOTMAGIC_LITE_ROW 0 +#define BOOTMAGIC_LITE_COLUMN 0 + +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U + +#define TAP_CODE_DELAY 10 +#define RP2040_FLASH_GENERIC_03H diff --git a/keyboards/montsinger/palmetto/halconf.h b/keyboards/montsinger/palmetto/halconf.h new file mode 100755 index 000000000000..07d0dc7a8a74 --- /dev/null +++ b/keyboards/montsinger/palmetto/halconf.h @@ -0,0 +1,7 @@ +// Copyright 2022 Rossman360 (@rossmontsinger) +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#define HAL_USE_I2C FALSE + +#include_next diff --git a/keyboards/montsinger/palmetto/info.json b/keyboards/montsinger/palmetto/info.json new file mode 100755 index 000000000000..0080fbc36e2d --- /dev/null +++ b/keyboards/montsinger/palmetto/info.json @@ -0,0 +1,319 @@ +{ + "manufacturer": "Montsinger", + "keyboard_name": "Palmetto", + "maintainer": "Rossman360", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "backlight": false, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": false + }, + "matrix_pins": { + "cols": ["GP28", "GP27", "GP29", "GP0", "GP1", "GP9", "GP26", "GP18", "GP10", "GP11", "GP25", "GP24", "GP12", "GP21", "GP13"], + "rows": ["GP5", "GP4", "GP3", "GP2", "GP15"] + }, + "processor": "RP2040", + + "url": "https://carolinamech.com", + "usb": { + "device_version": "2.0.1", + "pid": "0x0006", + "vid": "0x524D" + }, + "community_layouts": [ + "60_ansi", + "60_ansi_split_bs_rshift", + "60_iso", + "60_iso_split_bs_rshift" + ], + "layouts": { + "LAYOUT_60_ansi": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 2.75}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"matrix": [4, 13], "x": 12.5, "y": 4, "w": 1.25}, + {"matrix": [4, 14], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_ansi_split_bs_rshift": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"matrix": [4, 13], "x": 12.5, "y": 4, "w": 1.25}, + {"matrix": [4, 14], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_iso": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 1], "x": 1.25, "y": 3}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 2.75}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"matrix": [4, 13], "x": 12.5, "y": 4, "w": 1.25}, + {"matrix": [4, 14], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_iso_split_bs_rshift": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 1], "x": 1.25, "y": 3}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"matrix": [4, 13], "x": 12.5, "y": 4, "w": 1.25}, + {"matrix": [4, 14], "x": 13.75, "y": 4, "w": 1.25} + ] + } + } +} diff --git a/keyboards/montsinger/palmetto/keymaps/default/keymap.c b/keyboards/montsinger/palmetto/keymaps/default/keymap.c new file mode 100644 index 000000000000..5d7b042b27ae --- /dev/null +++ b/keyboards/montsinger/palmetto/keymaps/default/keymap.c @@ -0,0 +1,32 @@ +// Copyright 2023 Ross Montsinger +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. +enum layer_names { + _BASE, + _FN1 +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_BASE] = LAYOUT_60_ansi( + QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, + KC_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, + 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, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(_FN1), KC_RCTL + ), + + [_FN1] = LAYOUT_60_ansi( + QK_GESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, + RGB_TOG, RGB_MOD, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + BL_BRTG, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, + BL_UP, BL_DOWN, BL_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, + KC_GRV, _______, _______, _______, _______, _______, _______, QK_BOOT + ) +}; diff --git a/keyboards/montsinger/palmetto/mcuconf.h b/keyboards/montsinger/palmetto/mcuconf.h new file mode 100755 index 000000000000..a1b3f835ff6e --- /dev/null +++ b/keyboards/montsinger/palmetto/mcuconf.h @@ -0,0 +1,10 @@ +// Copyright 2022 Rossman360 (@rossmontsinger) +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#include_next + +#undef RP_I2C_USE_I2C0 +#undef RP_I2C_USE_I2C1 +#define RP_I2C_USE_I2C0 FALSE +#define RP_I2C_USE_I2C1 FALSE diff --git a/keyboards/montsinger/palmetto/readme.md b/keyboards/montsinger/palmetto/readme.md new file mode 100644 index 000000000000..21da8de00288 --- /dev/null +++ b/keyboards/montsinger/palmetto/readme.md @@ -0,0 +1,26 @@ +# Palmetto PCB + +Palmetto PCB from Montsinger + +* Keyboard Maintainer: [Ross Montsinger](https://github.com/rossman360) +* Hardware Supported: RP2040 +* Hardware Availability: [Carolina Mech](https://carolinamech.com) + + +Make example for this keyboard (after setting up your build environment): + + make montsinger/palmetto:default + +Flashing example for this keyboard: + + make montsinger/palmetto:default:flash + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Hold the "BOOTMODE" button on the back of the PCB and briefly press the "RESET" button on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/montsinger/palmetto/rules.mk b/keyboards/montsinger/palmetto/rules.mk new file mode 100755 index 000000000000..8b137891791f --- /dev/null +++ b/keyboards/montsinger/palmetto/rules.mk @@ -0,0 +1 @@ + From b87f9eaaed2c45809946ababf29902d8b6b59c05 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 12:19:04 -0400 Subject: [PATCH 52/67] removed rebound rev5 dir --- keyboards/montsinger/rebound/rev5/config.h | 29 ---- keyboards/montsinger/rebound/rev5/info.json | 159 ------------------ .../rebound/rev5/keymaps/default/keymap.c | 105 ------------ .../rebound/rev5/keymaps/rossman360/keymap.c | 110 ------------ .../rebound/rev5/keymaps/rossman360/rules.mk | 4 - .../rebound/rev5/keymaps/via/keymap.c | 89 ---------- .../rebound/rev5/keymaps/via/rules.mk | 3 - keyboards/montsinger/rebound/rev5/rules.mk | 0 8 files changed, 499 deletions(-) delete mode 100644 keyboards/montsinger/rebound/rev5/config.h delete mode 100644 keyboards/montsinger/rebound/rev5/info.json delete mode 100644 keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c delete mode 100644 keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c delete mode 100644 keyboards/montsinger/rebound/rev5/keymaps/rossman360/rules.mk delete mode 100644 keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c delete mode 100644 keyboards/montsinger/rebound/rev5/keymaps/via/rules.mk delete mode 100644 keyboards/montsinger/rebound/rev5/rules.mk diff --git a/keyboards/montsinger/rebound/rev5/config.h b/keyboards/montsinger/rebound/rev5/config.h deleted file mode 100644 index 7bc2f1c4205a..000000000000 --- a/keyboards/montsinger/rebound/rev5/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -Copyright 2023 Ross Montsinger (@rossman360) -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 . -*/ - -#pragma once - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -#define RGBLED_NUM 12 - -#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET -#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 -#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U - -#define RP2040_FLASH_GENERIC_03H - diff --git a/keyboards/montsinger/rebound/rev5/info.json b/keyboards/montsinger/rebound/rev5/info.json deleted file mode 100644 index 59ee7745d0e5..000000000000 --- a/keyboards/montsinger/rebound/rev5/info.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "manufacturer": "Montsinger", - "keyboard_name": "montsinger/rebound/rev5", - "maintainer": "rossman360", - "board": "GENERIC_RP_RP2040", - "bootloader": "rp2040", - "diode_direction": "ROW2COL", - "encoder": { - "rotary": [ - {"pin_a": "GP0", "pin_b": "GP1"} - ] - }, - "features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, - "console": false, - "encoder": true, - "extrakey": true, - "mousekey": false, - "nkro": false, - "oled": false, - "rgb_matrix": false, - "rgblight": false - }, - "matrix_pins": { - "cols": ["GP6", "GP7", "GP8", "GP9", "GP23", "GP20", "GP22"], - "rows": ["GP2", "GP3", "GP4", "GP5", "GP26", "GP27", "GP28", "GP29"] - }, - "mouse_key": { - "enabled": false - }, - "processor": "RP2040", - "qmk": { - "tap_keycode_delay": 10 - }, - "rgb_matrix": { - "driver": "WS2812" - }, - "ws2812": { - "pin": "GP21" - }, - "url": "https://montsinger.net", - "usb": { - "device_version": "0.0.2", - "pid": "0x0001", - "vid": "0x524D" - }, - "layouts": { - "LAYOUT_all": { - "layout": [ - { "label": "K00", "matrix": [0, 0], "x": 0, "y": 0 }, - { "label": "K70", "matrix": [7, 0], "x": 1, "y": 0 }, - { "label": "K01", "matrix": [0, 1], "x": 2, "y": 0 }, - { "label": "K71", "matrix": [7, 1], "x": 3, "y": 0 }, - { "label": "K02", "matrix": [0, 2], "x": 4, "y": 0 }, - { "label": "K72", "matrix": [7, 2], "x": 5, "y": 0 }, - { "label": "K04", "matrix": [0, 4], "x": 7, "y": 0 }, - { "label": "K74", "matrix": [7, 4], "x": 8, "y": 0 }, - { "label": "K05", "matrix": [0, 5], "x": 9, "y": 0 }, - { "label": "K75", "matrix": [7, 5], "x": 10, "y": 0 }, - { "label": "K06", "matrix": [0, 6], "x": 11, "y": 0 }, - { "label": "K76", "matrix": [7, 6], "x": 12, "y": 0 }, - { "label": "K10", "matrix": [1, 0], "x": 0, "y": 1 }, - { "label": "K60", "matrix": [6, 0], "x": 1, "y": 1 }, - { "label": "K11", "matrix": [1, 1], "x": 2, "y": 1 }, - { "label": "K61", "matrix": [6, 1], "x": 3, "y": 1 }, - { "label": "K12", "matrix": [1, 2], "x": 4, "y": 1 }, - { "label": "K62", "matrix": [6, 2], "x": 5, "y": 1 }, - { "label": "K13", "matrix": [1, 3], "x": 6, "y": 1 }, - { "label": "K14", "matrix": [1, 4], "x": 7, "y": 1 }, - { "label": "K64", "matrix": [6, 4], "x": 8, "y": 1 }, - { "label": "K15", "matrix": [1, 5], "x": 9, "y": 1 }, - { "label": "K65", "matrix": [6, 5], "x": 10, "y": 1 }, - { "label": "K16", "matrix": [1, 6], "x": 11, "y": 1 }, - { "label": "K66", "matrix": [6, 6], "x": 12, "y": 1 }, - { "label": "K20", "matrix": [2, 0], "x": 0, "y": 2 }, - { "label": "K50", "matrix": [5, 0], "x": 1, "y": 2 }, - { "label": "K21", "matrix": [2, 1], "x": 2, "y": 2 }, - { "label": "K51", "matrix": [5, 1], "x": 3, "y": 2 }, - { "label": "K22", "matrix": [2, 2], "x": 4, "y": 2 }, - { "label": "K52", "matrix": [5, 2], "x": 5, "y": 2 }, - { "label": "K23", "matrix": [2, 3], "x": 6, "y": 2 }, - { "label": "K24", "matrix": [2, 4], "x": 7, "y": 2 }, - { "label": "K54", "matrix": [5, 4], "x": 8, "y": 2 }, - { "label": "K25", "matrix": [2, 5], "x": 9, "y": 2 }, - { "label": "K55", "matrix": [5, 5], "x": 10, "y": 2 }, - { "label": "K26", "matrix": [2, 6], "x": 11, "y": 2 }, - { "label": "K56", "matrix": [5, 6], "x": 12, "y": 2 }, - { "label": "K30", "matrix": [3, 0], "x": 0, "y": 3 }, - { "label": "K40", "matrix": [4, 0], "x": 1, "y": 3 }, - { "label": "K31", "matrix": [3, 1], "x": 2, "y": 3 }, - { "label": "K41", "matrix": [4, 1], "x": 3, "y": 3 }, - { "label": "K32", "matrix": [3, 2], "x": 4, "y": 3 }, - { "label": "K42", "matrix": [4, 2], "x": 5, "y": 3 }, - { "label": "K33", "matrix": [3, 3], "x": 6, "y": 3 }, - { "label": "K34", "matrix": [3, 4], "x": 7, "y": 3 }, - { "label": "K44", "matrix": [4, 4], "x": 8, "y": 3 }, - { "label": "K35", "matrix": [3, 5], "x": 9, "y": 3 }, - { "label": "K45", "matrix": [4, 5], "x": 10, "y": 3 }, - { "label": "K36", "matrix": [3, 6], "x": 11, "y": 3 }, - { "label": "K46", "matrix": [4, 6], "x": 12, "y": 3 } - ] - }, - "LAYOUT_ortho_4x12": { - "layout": [ - { "label": "K00", "matrix": [0, 0], "x": 0, "y": 0 }, - { "label": "K70", "matrix": [7, 0], "x": 1, "y": 0 }, - { "label": "K01", "matrix": [0, 1], "x": 2, "y": 0 }, - { "label": "K71", "matrix": [7, 1], "x": 3, "y": 0 }, - { "label": "K02", "matrix": [0, 2], "x": 4, "y": 0 }, - { "label": "K72", "matrix": [7, 2], "x": 5, "y": 0 }, - { "label": "K04", "matrix": [0, 4], "x": 7, "y": 0 }, - { "label": "K74", "matrix": [7, 4], "x": 8, "y": 0 }, - { "label": "K05", "matrix": [0, 5], "x": 9, "y": 0 }, - { "label": "K75", "matrix": [7, 5], "x": 10, "y": 0 }, - { "label": "K06", "matrix": [0, 6], "x": 11, "y": 0 }, - { "label": "K76", "matrix": [7, 6], "x": 12, "y": 0 }, - { "label": "K10", "matrix": [1, 0], "x": 0, "y": 1 }, - { "label": "K60", "matrix": [6, 0], "x": 1, "y": 1 }, - { "label": "K11", "matrix": [1, 1], "x": 2, "y": 1 }, - { "label": "K61", "matrix": [6, 1], "x": 3, "y": 1 }, - { "label": "K12", "matrix": [1, 2], "x": 4, "y": 1 }, - { "label": "K62", "matrix": [6, 2], "x": 5, "y": 1 }, - { "label": "K14", "matrix": [1, 4], "x": 7, "y": 1 }, - { "label": "K64", "matrix": [6, 4], "x": 8, "y": 1 }, - { "label": "K15", "matrix": [1, 5], "x": 9, "y": 1 }, - { "label": "K65", "matrix": [6, 5], "x": 10, "y": 1 }, - { "label": "K16", "matrix": [1, 6], "x": 11, "y": 1 }, - { "label": "K66", "matrix": [6, 6], "x": 12, "y": 1 }, - { "label": "K20", "matrix": [2, 0], "x": 0, "y": 2 }, - { "label": "K50", "matrix": [5, 0], "x": 1, "y": 2 }, - { "label": "K21", "matrix": [2, 1], "x": 2, "y": 2 }, - { "label": "K51", "matrix": [5, 1], "x": 3, "y": 2 }, - { "label": "K22", "matrix": [2, 2], "x": 4, "y": 2 }, - { "label": "K52", "matrix": [5, 2], "x": 5, "y": 2 }, - { "label": "K24", "matrix": [2, 4], "x": 7, "y": 2 }, - { "label": "K54", "matrix": [5, 4], "x": 8, "y": 2 }, - { "label": "K25", "matrix": [2, 5], "x": 9, "y": 2 }, - { "label": "K55", "matrix": [5, 5], "x": 10, "y": 2 }, - { "label": "K26", "matrix": [2, 6], "x": 11, "y": 2 }, - { "label": "K56", "matrix": [5, 6], "x": 12, "y": 2 }, - { "label": "K30", "matrix": [3, 0], "x": 0, "y": 3 }, - { "label": "K40", "matrix": [4, 0], "x": 1, "y": 3 }, - { "label": "K31", "matrix": [3, 1], "x": 2, "y": 3 }, - { "label": "K41", "matrix": [4, 1], "x": 3, "y": 3 }, - { "label": "K32", "matrix": [3, 2], "x": 4, "y": 3 }, - { "label": "K42", "matrix": [4, 2], "x": 5, "y": 3 }, - { "label": "K34", "matrix": [3, 4], "x": 7, "y": 3 }, - { "label": "K44", "matrix": [4, 4], "x": 8, "y": 3 }, - { "label": "K35", "matrix": [3, 5], "x": 9, "y": 3 }, - { "label": "K45", "matrix": [4, 5], "x": 10, "y": 3 }, - { "label": "K36", "matrix": [3, 6], "x": 11, "y": 3 }, - { "label": "K46", "matrix": [4, 6], "x": 12, "y": 3 } - ] - } - } -} diff --git a/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c deleted file mode 100644 index 356a385f7c76..000000000000 --- a/keyboards/montsinger/rebound/rev5/keymaps/default/keymap.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Copyright 2023 Ross Montsinger (@Rossman360) - * - * 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 . - */ - -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -enum layer_names { - _QWERTY, - _COLEMAK, - _DVORAK, - _LOWER, - _RAISE, - _ADJUST, -}; - -enum custom_keycodes { - QWERTY = QK_USER, - COLEMAK, - DVORAK, -}; - -#define ADJUST MO(_ADJUST) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[_QWERTY] = LAYOUT_all( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_ENT, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -[_COLEMAK] = LAYOUT_all( - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, - KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, _______, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, _______, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -[_DVORAK] = LAYOUT_all( - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, - KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, _______, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, - KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, _______, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, _______, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -[_LOWER] = LAYOUT_all( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -[_RAISE] = LAYOUT_all( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -[_ADJUST] = LAYOUT_all( - _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, - _______, _______, _______, AU_ON, AU_OFF, AG_NORM, _______, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY); - } - break; - case COLEMAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAK); - } - break; - case DVORAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_DVORAK); - } - break; - } - return true; -} diff --git a/keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c deleted file mode 100644 index 4a2eff6e3b2e..000000000000 --- a/keyboards/montsinger/rebound/rev5/keymaps/rossman360/keymap.c +++ /dev/null @@ -1,110 +0,0 @@ -/* Copyright 2023 Ross Montsinger (@rossman360) - * - * 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 . - */ - -#include QMK_KEYBOARD_H -#include "rossman360.h" - -#define PGMOD LT(_NUM, KC_PGDN) -#define TABMOD LT(_FN1, KC_TAB) -#define SPCMOD LT(_FN1, KC_SPACE) -#define ENTMOD LT(_FN2, KC_ENTER) -#define ESCMOD LT(_NUM, KC_ESC) -#define RSMOD LT(_FN1, KC_RSFT) - - -enum layer_names { - _BASE, - _DEL, - _FN1, - _FN2, - _NUM, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[_BASE] = LAYOUT_all( - KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , NTAB , - JUMPBACK, KC_A , KC_S , KC_D , KC_F , KC_G ,MO(_DEL), KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT, - KC_LSFT , KC_Z , KC_X , KC_C , KC_V , KC_B , LM(_FN1, MOD_LALT), KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_MINS, - CMDBSP , ALTDEL , KC_NO , CTRLSP , TABMOD , PGMOD , QUIT , ENTMOD , SPCMOD , MO(_DEL),KC_NO , KC_BSPC, KC_DEL - ), - -[_FN1] = LAYOUT_all( - _______, TAB1 , TAB2 , TAB3 , TAB4 , _______, _______, UNDO , _______, _______, _______, CTAB , - KC_CAPS, _______, _______, _______, _______, _______, _______, KC_HOME, KC_LEFT, KC_UP , KC_RIGHT,KC_END , KC_NO , - _______, _______, XPANDR , _______, PMERGE , _______, _______, _______, PMERGE , KC_DOWN, _______, _______, EMDASH , - WREFRESH,_______, _______, _______, LWORD , RWORD , _______, KC_NO , _______, KC_NO , _______, _______, _______ - ), - -[_FN2] = LAYOUT_all( - _______, SPEAK1 , SPEAK2 , SPEAK3 , SPEAK4 , _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, PARADOWN, CSPEAK, _______, _______, KC_NO , KC_NO , _______, _______, _______ - ), - -[_DEL] = LAYOUT_all( - QK_BOOT, _______, _______, _______, _______, _______, _______, UNDO , _______, _______, _______, CTAB , - REMCAPS, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_UP ,KC_RIGHT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, _______, - _______, _______, _______, BLINE , KC_BSPC, BWORD , _______, KC_NO , KC_NO , _______, _______, _______, _______ - ), - -[_NUM] = LAYOUT_all( - KC_GRV , KC_1 , KC_7 , KC_8 , KC_9 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_MINS, KC_EQL, - KC_CAPS, _______, KC_4 , KC_5 , KC_6 , KC_BSPC, KC_LBRC, KC_MINS, KC_4 , KC_5 , KC_6 , KC_COLN, _______, - KC_COMM, KC_DOT , KC_1 , KC_2 , KC_3 ,KC_ENTER, KC_RBRC, KC_RBRC, KC_1 , KC_2 , KC_3 , KC_BSLS, _______, - _______, _______, _______, _______, KC_0 , _______, _______, KC_NO , KC_NO , KC_0 , _______, _______, _______ - ) -}; - -#ifdef OLED_ENABLE -bool oled_task_user(void) { - // Host Keyboard Layer Status - oled_write_P(PSTR(""), false); - - switch (get_highest_layer(layer_state)) { - case _BASE: - oled_write_P(PSTR("Rebound\n"), false); - oled_write_P(PSTR("Rev3.1\n"), false); - break; - case _FN1: - oled_write_P(PSTR("Fn\n"), false); - break; - case _FN2: - oled_write_P(PSTR("Para\n"), false); - break; - case _NUM: - oled_write_P(PSTR("Num\n"), false); - break; - case _DEL: - oled_write_P(PSTR("Del\n"), false); - break; - default: - // Or use the write_ln shortcut over adding '\n' to the end of your string - oled_write_ln_P(PSTR("Undefined"), false); -} - - // Host Keyboard LED Status - led_t led_state = host_keyboard_led_state(); - oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); - oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false); - oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); - - return false; -} - -#endif diff --git a/keyboards/montsinger/rebound/rev5/keymaps/rossman360/rules.mk b/keyboards/montsinger/rebound/rev5/keymaps/rossman360/rules.mk deleted file mode 100644 index f1fb91cc36f4..000000000000 --- a/keyboards/montsinger/rebound/rev5/keymaps/rossman360/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -MOUSEKEY_ENABLE = no -CONSOLE_ENABLE = no -COMMAND_ENABLE = no -OLED_ENABLE = no diff --git a/keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c b/keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c deleted file mode 100644 index bb733cb7dfc8..000000000000 --- a/keyboards/montsinger/rebound/rev5/keymaps/via/keymap.c +++ /dev/null @@ -1,89 +0,0 @@ -/* Copyright 2021 Ross Montsinger - * - * 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 . - */ - -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -enum layer_names { - _QWERTY, - _LOWER, - _RAISE, - _ADJUST -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - COLEMAK, - DVORAK -}; - -#define ADJUST MO(_ADJUST) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[_QWERTY] = LAYOUT_all( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_ENT, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -[_LOWER] = LAYOUT_all( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -[_RAISE] = LAYOUT_all( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -[_ADJUST] = LAYOUT_all( - _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, - _______, _______, _______, AU_ON, AU_OFF, AG_NORM, _______, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY); - } - break; - case COLEMAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAK); - } - break; - case DVORAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_DVORAK); - } - break; - } - return true; -} diff --git a/keyboards/montsinger/rebound/rev5/keymaps/via/rules.mk b/keyboards/montsinger/rebound/rev5/keymaps/via/rules.mk deleted file mode 100644 index 37484844f5be..000000000000 --- a/keyboards/montsinger/rebound/rev5/keymaps/via/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/montsinger/rebound/rev5/rules.mk b/keyboards/montsinger/rebound/rev5/rules.mk deleted file mode 100644 index e69de29bb2d1..000000000000 From 31968330743bdfb1f8ef55514d72b3644f0b8179 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 12:32:23 -0400 Subject: [PATCH 53/67] removed bootmagic code --- keyboards/montsinger/palmetto/config.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/keyboards/montsinger/palmetto/config.h b/keyboards/montsinger/palmetto/config.h index aaabec21322e..fa8030bfcda7 100755 --- a/keyboards/montsinger/palmetto/config.h +++ b/keyboards/montsinger/palmetto/config.h @@ -3,10 +3,6 @@ #pragma once -/* Bootmagic Lite key configuration */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 0 - #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U From 8ec8c6a029f69a7c00297ada67f0dff16d079dbb Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 12:33:12 -0400 Subject: [PATCH 54/67] whitespace --- keyboards/montsinger/palmetto/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/palmetto/info.json b/keyboards/montsinger/palmetto/info.json index 0080fbc36e2d..b111ec6bb770 100755 --- a/keyboards/montsinger/palmetto/info.json +++ b/keyboards/montsinger/palmetto/info.json @@ -26,7 +26,7 @@ "pid": "0x0006", "vid": "0x524D" }, - "community_layouts": [ + "community_layouts": [ "60_ansi", "60_ansi_split_bs_rshift", "60_iso", From 8fa04c79462a0903096186a067b3d5fe051f41b1 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 12:33:57 -0400 Subject: [PATCH 55/67] whitespace --- keyboards/montsinger/palmetto/info.json | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/montsinger/palmetto/info.json b/keyboards/montsinger/palmetto/info.json index b111ec6bb770..690db40bf8a9 100755 --- a/keyboards/montsinger/palmetto/info.json +++ b/keyboards/montsinger/palmetto/info.json @@ -19,7 +19,6 @@ "rows": ["GP5", "GP4", "GP3", "GP2", "GP15"] }, "processor": "RP2040", - "url": "https://carolinamech.com", "usb": { "device_version": "2.0.1", From 411940513cdb422d14de086530dfe0fce9f11ad0 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 12:34:28 -0400 Subject: [PATCH 56/67] removed mcuconf --- keyboards/montsinger/palmetto/mcuconf.h | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 keyboards/montsinger/palmetto/mcuconf.h diff --git a/keyboards/montsinger/palmetto/mcuconf.h b/keyboards/montsinger/palmetto/mcuconf.h deleted file mode 100755 index a1b3f835ff6e..000000000000 --- a/keyboards/montsinger/palmetto/mcuconf.h +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2022 Rossman360 (@rossmontsinger) -// SPDX-License-Identifier: GPL-2.0-or-later -#pragma once - -#include_next - -#undef RP_I2C_USE_I2C0 -#undef RP_I2C_USE_I2C1 -#define RP_I2C_USE_I2C0 FALSE -#define RP_I2C_USE_I2C1 FALSE From 1b19acc476c6d2242302aecec69fbcfed9176649 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 12:37:00 -0400 Subject: [PATCH 57/67] removed tap code delay --- keyboards/montsinger/palmetto/config.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/montsinger/palmetto/config.h b/keyboards/montsinger/palmetto/config.h index fa8030bfcda7..423a60477f4c 100755 --- a/keyboards/montsinger/palmetto/config.h +++ b/keyboards/montsinger/palmetto/config.h @@ -6,6 +6,4 @@ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U - -#define TAP_CODE_DELAY 10 #define RP2040_FLASH_GENERIC_03H From 73087bc19906c0d91885b1786905ee3599623a01 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 12:44:25 -0400 Subject: [PATCH 58/67] added ansi tsangan --- keyboards/montsinger/palmetto/info.json | 71 +++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/keyboards/montsinger/palmetto/info.json b/keyboards/montsinger/palmetto/info.json index 690db40bf8a9..09bc69629d66 100755 --- a/keyboards/montsinger/palmetto/info.json +++ b/keyboards/montsinger/palmetto/info.json @@ -28,6 +28,7 @@ "community_layouts": [ "60_ansi", "60_ansi_split_bs_rshift", + "60_ansi_tsangan", "60_iso", "60_iso_split_bs_rshift" ], @@ -172,6 +173,76 @@ {"matrix": [4, 14], "x": 13.75, "y": 4, "w": 1.25} ] }, + "LAYOUT_60_ansi_tsangan": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "x": 1.5, "y": 4}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [4, 12], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [4, 13], "x": 12.5, "y": 4}, + {"matrix": [4, 14], "x": 13.5, "y": 4, "w": 1.5} + ] + }, "LAYOUT_60_iso": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, From 83c87d423d9b71af583d6108a1b28f349d75c650 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 12:46:57 -0400 Subject: [PATCH 59/67] added via rule --- keyboards/montsinger/palmetto/keymaps/via/rules.mk | 1 + 1 file changed, 1 insertion(+) create mode 100644 keyboards/montsinger/palmetto/keymaps/via/rules.mk diff --git a/keyboards/montsinger/palmetto/keymaps/via/rules.mk b/keyboards/montsinger/palmetto/keymaps/via/rules.mk new file mode 100644 index 000000000000..1e5b99807cb7 --- /dev/null +++ b/keyboards/montsinger/palmetto/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes From 8d6918ee88d0e5c9bc11d3b54ba1640a1acbe45d Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 13:52:23 -0400 Subject: [PATCH 60/67] added more community layouts --- keyboards/montsinger/palmetto/info.json | 273 +++++++++++++++++++++++- 1 file changed, 268 insertions(+), 5 deletions(-) diff --git a/keyboards/montsinger/palmetto/info.json b/keyboards/montsinger/palmetto/info.json index 09bc69629d66..a39380e9ed1a 100755 --- a/keyboards/montsinger/palmetto/info.json +++ b/keyboards/montsinger/palmetto/info.json @@ -30,7 +30,10 @@ "60_ansi_split_bs_rshift", "60_ansi_tsangan", "60_iso", - "60_iso_split_bs_rshift" + "60_iso_split_bs_rshift", + "60_iso_tsangan", + "60_tsangan_hhkb", + "60_hhkb" ], "layouts": { "LAYOUT_60_ansi": { @@ -188,8 +191,7 @@ {"matrix": [0, 10], "x": 10, "y": 0}, {"matrix": [0, 11], "x": 11, "y": 0}, {"matrix": [0, 12], "x": 12, "y": 0}, - {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, {"matrix": [1, 1], "x": 1.5, "y": 1}, @@ -231,8 +233,7 @@ {"matrix": [3, 9], "x": 9.25, "y": 3}, {"matrix": [3, 10], "x": 10.25, "y": 3}, {"matrix": [3, 11], "x": 11.25, "y": 3}, - {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75}, - {"matrix": [3, 14], "x": 14, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 2.75}, {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, {"matrix": [4, 1], "x": 1.5, "y": 4}, @@ -384,6 +385,268 @@ {"matrix": [4, 13], "x": 12.5, "y": 4, "w": 1.25}, {"matrix": [4, 14], "x": 13.75, "y": 4, "w": 1.25} ] + }, + "LAYOUT_60_iso_tsangan": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 1], "x": 1.25, "y": 3}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 2.75}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "x": 1.5, "y": 4}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [4, 12], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [4, 13], "x": 12.5, "y": 4}, + {"matrix": [4, 14], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_tsangan_hhkb": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "x": 1.5, "y": 4}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [4, 12], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [4, 13], "x": 12.5, "y": 4}, + {"matrix": [4, 14], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_hhkb": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14, "y": 3}, + {"matrix": [4, 1], "x": 1.5, "y": 4}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [4, 12], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [4, 13], "x": 12.5, "y": 4} + ] + }, + "LAYOUT_60_iso_tsangan_split_bs_rshift": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 1], "x": 1.25, "y": 3}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "x": 1.5, "y": 4}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [4, 12], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [4, 13], "x": 12.5, "y": 4}, + {"matrix": [4, 14], "x": 13.5, "y": 4, "w": 1.5} + ] } } } From 7cebf27edfa8119bdc3419803b31c012133df263 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 8 Sep 2023 14:07:07 -0400 Subject: [PATCH 61/67] added image --- keyboards/montsinger/palmetto/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/palmetto/readme.md b/keyboards/montsinger/palmetto/readme.md index 21da8de00288..68ff0abefbfb 100644 --- a/keyboards/montsinger/palmetto/readme.md +++ b/keyboards/montsinger/palmetto/readme.md @@ -1,6 +1,6 @@ # Palmetto PCB -Palmetto PCB from Montsinger +Palmetto PCB from Montsinger (https://carolinamech.com/cdn/shop/products/IMG_20210327_164948_040_1024x1024@2x.jpg?v=1620393767) * Keyboard Maintainer: [Ross Montsinger](https://github.com/rossman360) * Hardware Supported: RP2040 From 52c0167c74c2ada78f5ed2c9271ebfda3a7c4bc3 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 19 Sep 2023 13:00:58 -0400 Subject: [PATCH 62/67] moved to imgur --- keyboards/montsinger/palmetto/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/palmetto/readme.md b/keyboards/montsinger/palmetto/readme.md index 68ff0abefbfb..3abcbfce5964 100644 --- a/keyboards/montsinger/palmetto/readme.md +++ b/keyboards/montsinger/palmetto/readme.md @@ -1,6 +1,6 @@ # Palmetto PCB -Palmetto PCB from Montsinger (https://carolinamech.com/cdn/shop/products/IMG_20210327_164948_040_1024x1024@2x.jpg?v=1620393767) +Palmetto PCB from Montsinger (https://imgur.com/VmmAW97) * Keyboard Maintainer: [Ross Montsinger](https://github.com/rossman360) * Hardware Supported: RP2040 From 38a9df0a90082fe1ef69600cd2173f7cb5cd7d94 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 19 Sep 2023 13:01:53 -0400 Subject: [PATCH 63/67] changed link to image, not page --- keyboards/montsinger/palmetto/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/palmetto/readme.md b/keyboards/montsinger/palmetto/readme.md index 3abcbfce5964..a28c75e06521 100644 --- a/keyboards/montsinger/palmetto/readme.md +++ b/keyboards/montsinger/palmetto/readme.md @@ -1,6 +1,6 @@ # Palmetto PCB -Palmetto PCB from Montsinger (https://imgur.com/VmmAW97) +Palmetto PCB from Montsinger (https://i.imgur.com/VmmAW97) * Keyboard Maintainer: [Ross Montsinger](https://github.com/rossman360) * Hardware Supported: RP2040 From 33256b3db79306f27dc567d2fccbd7c595c45942 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 19 Sep 2023 13:03:05 -0400 Subject: [PATCH 64/67] removed halconf --- keyboards/montsinger/palmetto/halconf.h | 7 ------- 1 file changed, 7 deletions(-) delete mode 100755 keyboards/montsinger/palmetto/halconf.h diff --git a/keyboards/montsinger/palmetto/halconf.h b/keyboards/montsinger/palmetto/halconf.h deleted file mode 100755 index 07d0dc7a8a74..000000000000 --- a/keyboards/montsinger/palmetto/halconf.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2022 Rossman360 (@rossmontsinger) -// SPDX-License-Identifier: GPL-2.0-or-later -#pragma once - -#define HAL_USE_I2C FALSE - -#include_next From 9277f5e6b5b6bcef724b9823dec28c378f13fe34 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 19 Sep 2023 13:03:52 -0400 Subject: [PATCH 65/67] added via keymap --- .../montsinger/palmetto/keymaps/via/keymap.c | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 keyboards/montsinger/palmetto/keymaps/via/keymap.c diff --git a/keyboards/montsinger/palmetto/keymaps/via/keymap.c b/keyboards/montsinger/palmetto/keymaps/via/keymap.c new file mode 100644 index 000000000000..5d7b042b27ae --- /dev/null +++ b/keyboards/montsinger/palmetto/keymaps/via/keymap.c @@ -0,0 +1,32 @@ +// Copyright 2023 Ross Montsinger +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. +enum layer_names { + _BASE, + _FN1 +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_BASE] = LAYOUT_60_ansi( + QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, + KC_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, + 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, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(_FN1), KC_RCTL + ), + + [_FN1] = LAYOUT_60_ansi( + QK_GESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, + RGB_TOG, RGB_MOD, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + BL_BRTG, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, + BL_UP, BL_DOWN, BL_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, + KC_GRV, _______, _______, _______, _______, _______, _______, QK_BOOT + ) +}; From 492671bc5841125bdbbfca98937b6b5a9ad1c30f Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 19 Sep 2023 13:05:54 -0400 Subject: [PATCH 66/67] deleted some falsities --- keyboards/montsinger/palmetto/info.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/keyboards/montsinger/palmetto/info.json b/keyboards/montsinger/palmetto/info.json index a39380e9ed1a..efe81dd9c301 100755 --- a/keyboards/montsinger/palmetto/info.json +++ b/keyboards/montsinger/palmetto/info.json @@ -5,10 +5,7 @@ "bootloader": "rp2040", "diode_direction": "COL2ROW", "features": { - "backlight": false, "bootmagic": true, - "command": false, - "console": false, "extrakey": true, "mousekey": true, "nkro": true, From f4e7df8619e2d0f7dbcb3efd785d79e937c247ea Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 23 Sep 2023 01:44:57 -0400 Subject: [PATCH 67/67] add jpeg extension --- keyboards/montsinger/palmetto/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/montsinger/palmetto/readme.md b/keyboards/montsinger/palmetto/readme.md index a28c75e06521..d237f9c91cbe 100644 --- a/keyboards/montsinger/palmetto/readme.md +++ b/keyboards/montsinger/palmetto/readme.md @@ -1,6 +1,6 @@ # Palmetto PCB -Palmetto PCB from Montsinger (https://i.imgur.com/VmmAW97) +Palmetto PCB from Montsinger (https://i.imgur.com/VmmAW97.jpeg) * Keyboard Maintainer: [Ross Montsinger](https://github.com/rossman360) * Hardware Supported: RP2040