diff options
| author | frobiac <frobiac@gmail.com> | 2023-03-10 08:05:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-09 23:05:20 -0800 |
| commit | 313fc4cb8f4e41c921112d0b105b82ad5d8a653e (patch) | |
| tree | 9d13787460b6fc9391517f4ccd35be8e873fc28a | |
| parent | 62a8f412093c582a51a27e0fa1d7ad8596433cb9 (diff) | |
[Keyboard] frobiac custom boards and layout (#19883)
23 files changed, 1077 insertions, 0 deletions
diff --git a/keyboards/frobiac/blackbowl/blackbowl.h b/keyboards/frobiac/blackbowl/blackbowl.h new file mode 100644 index 0000000000..21ebee897e --- /dev/null +++ b/keyboards/frobiac/blackbowl/blackbowl.h | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | // Copyright 2023 @frobiac | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #include "quantum.h" | ||
| 7 | #include <stdint.h> | ||
| 8 | #include <stdbool.h> | ||
| 9 | #include "i2c_master.h" | ||
| 10 | #include "wait.h" | ||
| 11 | |||
| 12 | extern uint8_t expander_status; | ||
| 13 | extern uint8_t expander_input_pin_mask; | ||
| 14 | extern bool i2c_initialized; | ||
| 15 | |||
| 16 | void init_blackbowl(void); | ||
| 17 | void init_expander(void); | ||
| 18 | |||
| 19 | // clang-format off | ||
| 20 | #define I2C_TIMEOUT 100 | ||
| 21 | #define IODIRA 0x00 // i/o direction register | ||
| 22 | #define IODIRB 0x01 | ||
| 23 | #define GPPUA 0x0C // GPIO pull-up resistor register | ||
| 24 | #define GPPUB 0x0D | ||
| 25 | #define GPIOA 0x12 // general purpose i/o port register (write modifies OLAT) | ||
| 26 | #define GPIOB 0x13 | ||
| 27 | #define OLATA 0x14 // output latch register | ||
| 28 | #define OLATB 0x15 | ||
| 29 | |||
| 30 | #define xxx KC_NO | ||
| 31 | |||
| 32 | // clang-format on | ||
diff --git a/keyboards/frobiac/blackbowl/config.h b/keyboards/frobiac/blackbowl/config.h new file mode 100644 index 0000000000..cb13e69423 --- /dev/null +++ b/keyboards/frobiac/blackbowl/config.h | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | // Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 2 | // Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com> | ||
| 3 | // Copyright 2017 Erin Call <hello@erincall.com> | ||
| 4 | // Copyright 2023 @frobiac | ||
| 5 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 6 | |||
| 7 | #pragma once | ||
| 8 | |||
| 9 | #define MATRIX_ROWS 10 | ||
| 10 | #define MATRIX_COLS 4 | ||
| 11 | #define EXPANDER_COL_REGISTER GPIOA | ||
| 12 | #define EXPANDER_ROW_REGISTER GPIOB | ||
| 13 | |||
| 14 | #ifdef PS2_MOUSE_ENABLE | ||
| 15 | # define PS2_MOUSE_USE_REMOTE_MODE | ||
| 16 | # define PS2_MOUSE_INIT_DELAY 1000 | ||
| 17 | #endif | ||
| 18 | |||
| 19 | // clang-format off | ||
| 20 | #ifdef PS2_DRIVER_USART | ||
| 21 | |||
| 22 | # define PS2_CLOCK_PIN D5 | ||
| 23 | # define PS2_DATA_PIN D2 | ||
| 24 | |||
| 25 | /* synchronous, odd parity, 1-bit stop, 8-bit data, sample at falling edge */ | ||
| 26 | /* set DDR of CLOCK as input to be slave */ | ||
| 27 | #define PS2_USART_INIT() do { \ | ||
| 28 | PS2_CLOCK_DDR &= ~(1<<PS2_CLOCK_BIT); \ | ||
| 29 | PS2_DATA_DDR &= ~(1<<PS2_DATA_BIT); \ | ||
| 30 | UCSR1C = ((1 << UMSEL10) | \ | ||
| 31 | (3 << UPM10) | \ | ||
| 32 | (0 << USBS1) | \ | ||
| 33 | (3 << UCSZ10) | \ | ||
| 34 | (0 << UCPOL1)); \ | ||
| 35 | UCSR1A = 0; \ | ||
| 36 | UBRR1H = 0; \ | ||
| 37 | UBRR1L = 0; \ | ||
| 38 | } while (0) | ||
| 39 | #define PS2_USART_RX_INT_ON() do { \ | ||
| 40 | UCSR1B = ((1 << RXCIE1) | \ | ||
| 41 | (1 << RXEN1)); \ | ||
| 42 | } while (0) | ||
| 43 | #define PS2_USART_RX_POLL_ON() do { \ | ||
| 44 | UCSR1B = (1 << RXEN1); \ | ||
| 45 | } while (0) | ||
| 46 | #define PS2_USART_OFF() do { \ | ||
| 47 | UCSR1C = 0; \ | ||
| 48 | UCSR1B &= ~((1 << RXEN1) | \ | ||
| 49 | (1 << TXEN1)); \ | ||
| 50 | } while (0) | ||
| 51 | #define PS2_USART_RX_READY (UCSR1A & (1<<RXC1)) | ||
| 52 | #define PS2_USART_RX_DATA UDR1 | ||
| 53 | #define PS2_USART_ERROR (UCSR1A & ((1<<FE1) | (1<<DOR1) | (1<<UPE1))) | ||
| 54 | #define PS2_USART_RX_VECT USART1_RX_vect | ||
| 55 | #endif | ||
| 56 | |||
diff --git a/keyboards/frobiac/blackbowl/info.json b/keyboards/frobiac/blackbowl/info.json new file mode 100644 index 0000000000..9c66e8655d --- /dev/null +++ b/keyboards/frobiac/blackbowl/info.json | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | { | ||
| 2 | "manufacturer": "frobiac", | ||
| 3 | "keyboard_name": "blackbowl", | ||
| 4 | "url": "https://www.github.com/frobiac/adnw", | ||
| 5 | "maintainer": "frobiac", | ||
| 6 | "bootloader": "halfkay", | ||
| 7 | "processor": "atmega32u4", | ||
| 8 | "diode_direction": "ROW2COL", | ||
| 9 | "features": { | ||
| 10 | "audio": false, | ||
| 11 | "backlight": false, | ||
| 12 | "bootmagic": false, | ||
| 13 | "command": false, | ||
| 14 | "console": false, | ||
| 15 | "dynamic_macro": true, | ||
| 16 | "extrakey": true, | ||
| 17 | "mousekey": true, | ||
| 18 | "nkro": false, | ||
| 19 | "unicode": false, | ||
| 20 | "rgblight": false | ||
| 21 | }, | ||
| 22 | "build": { | ||
| 23 | "lto": true | ||
| 24 | }, | ||
| 25 | "usb": { | ||
| 26 | "device_version": "1.0.0", | ||
| 27 | "pid": "0x1D50", | ||
| 28 | "vid": "0x6033" | ||
| 29 | }, | ||
| 30 | "matrix_pins": { | ||
| 31 | "cols": [ null, null, null, null ], | ||
| 32 | "rows": [ null, null, null, null, null, null, null, null, null, null ] | ||
| 33 | }, | ||
| 34 | "layouts": { | ||
| 35 | "LAYOUT": { | ||
| 36 | "layout": [ | ||
| 37 | {"matrix": [5, 3], "label":"K", "x":0, "y":1.00}, | ||
| 38 | {"matrix": [6, 3], "label":"U", "x":1, "y":0.50}, | ||
| 39 | {"matrix": [7, 3], "label":"Q", "x":2, "y":0.00}, | ||
| 40 | {"matrix": [8, 3], "label":".", "x":3, "y":0.00}, | ||
| 41 | {"matrix": [9, 3], "label":"J", "x":4, "y":0.00}, | ||
| 42 | |||
| 43 | {"matrix": [0, 3], "label":"P", "x":6, "y":0.00}, | ||
| 44 | {"matrix": [1, 3], "label":"C", "x":7, "y":0.00}, | ||
| 45 | {"matrix": [2, 3], "label":"L", "x":8, "y":0.00}, | ||
| 46 | {"matrix": [3, 3], "label":"M", "x":9, "y":0.50}, | ||
| 47 | {"matrix": [4, 3], "label":"F", "x":10, "y":1.00}, | ||
| 48 | |||
| 49 | {"matrix": [5, 2], "label":"H", "x":0, "y":2.00}, | ||
| 50 | {"matrix": [6, 2], "label":"I", "x":1, "y":1.50}, | ||
| 51 | {"matrix": [7, 2], "label":"E", "x":2, "y":1.00}, | ||
| 52 | {"matrix": [8, 2], "label":"A", "x":3, "y":1.00}, | ||
| 53 | {"matrix": [9, 2], "label":"O", "x":4, "y":1.00}, | ||
| 54 | |||
| 55 | {"matrix": [0, 2], "label":"D", "x":6, "y":1.00}, | ||
| 56 | {"matrix": [1, 2], "label":"T", "x":7, "y":1.00}, | ||
| 57 | {"matrix": [2, 2], "label":"R", "x":8, "y":1.00}, | ||
| 58 | {"matrix": [3, 2], "label":"N", "x":9, "y":1.50}, | ||
| 59 | {"matrix": [4, 2], "label":"S", "x":10, "y":2.00}, | ||
| 60 | |||
| 61 | {"matrix": [5, 1], "label":"X", "x":0, "y":3.00}, | ||
| 62 | {"matrix": [6, 1], "label":"Y", "x":1, "y":2.50}, | ||
| 63 | {"matrix": [7, 1], "label":"-", "x":2, "y":2.00}, | ||
| 64 | {"matrix": [8, 1], "label":",", "x":3, "y":2.00}, | ||
| 65 | {"matrix": [9, 1], "label":"/", "x":4, "y":2.00}, | ||
| 66 | |||
| 67 | {"matrix": [0, 1], "label":"B", "x":6, "y":2.00}, | ||
| 68 | {"matrix": [1, 1], "label":"G", "x":7, "y":2.00}, | ||
| 69 | {"matrix": [2, 1], "label":"W", "x":8, "y":2.00}, | ||
| 70 | {"matrix": [3, 1], "label":"V", "x":9, "y":2.50}, | ||
| 71 | {"matrix": [4, 1], "label":"Z", "x":10, "y":3.00}, | ||
| 72 | |||
| 73 | {"matrix": [5, 0], "label":" ", "x":0, "y":0.00}, | ||
| 74 | {"matrix": [7, 0], "label":"Gui", "x":2, "y":3.00}, | ||
| 75 | {"matrix": [8, 0], "label":"tab", "x":3, "y":3.00}, | ||
| 76 | {"matrix": [9, 0], "label":"spc", "x":4, "y":3.00}, | ||
| 77 | |||
| 78 | {"matrix": [0, 0], "label":"L2", "x":6, "y":3.00}, | ||
| 79 | {"matrix": [1, 0], "label":"Sh", "x":7, "y":3.00}, | ||
| 80 | {"matrix": [2, 0], "label":"L3", "x":8, "y":3.00}, | ||
| 81 | {"matrix": [4, 0], "label":"Fx", "x":10, "y":0.00} | ||
| 82 | ] | ||
| 83 | } | ||
| 84 | } | ||
| 85 | } | ||
diff --git a/keyboards/frobiac/blackbowl/keymaps/default/keymap.c b/keyboards/frobiac/blackbowl/keymaps/default/keymap.c new file mode 100644 index 0000000000..d85215ea04 --- /dev/null +++ b/keyboards/frobiac/blackbowl/keymaps/default/keymap.c | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | // Copyright 2023 @frobiac | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | #include "keymap_german.h" | ||
| 7 | |||
| 8 | enum layer_number { | ||
| 9 | _ADNW = 0, | ||
| 10 | _QWERTZ, | ||
| 11 | _NAVNUM, | ||
| 12 | _SYMBOL, | ||
| 13 | _FUNC, | ||
| 14 | _MOUSE, | ||
| 15 | }; | ||
| 16 | |||
| 17 | #define CTL_TAB LCTL_T(KC_TAB) | ||
| 18 | #define ALT_SPC LALT_T(KC_SPC) | ||
| 19 | #define NAV_ESC LT(_NAVNUM, KC_ESC) | ||
| 20 | #define SFT_BSP LSFT_T(KC_BSPC) | ||
| 21 | #define SYM_ENT LT(_SYMBOL, KC_ENT) | ||
| 22 | #define MOUSE_X LT(_MOUSE, KC_X) | ||
| 23 | #define MOUSE_Y LT(_MOUSE, KC_Y) | ||
| 24 | |||
| 25 | /* | ||
| 26 | * ┌───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┐ | ||
| 27 | * │MOU├───┤ Q │ . │ J │ │ P │ C │ L ├───┤Fx │ | ||
| 28 | * ├───┤ U ├───┼───┼───┤ ├─[TP]──┼───┤ M ├───┤ | ||
| 29 | * │ K ├───┤ E │ A │ O │ │ D │ T │ R ├───R F │ | ||
| 30 | * ├───┤ I ├───┼───┼───┤ ├───┼───┼───┤ N ├───┤ | ||
| 31 | * │ H ├───┤ - │ ; │ / │ │ D │ G │ W ├───┤ S │ | ||
| 32 | * ├───┤ Y ├───┼───┼───┤ ├───┼───┼───┤ V ├───┤ | ||
| 33 | * │ X ├───┤ │Tab│Spc│ │Esc│Bsp│Ret├───┤ Z │ | ||
| 34 | * └───┘ └───┴───┴───┘ └───┴───┴───┘ └───┘ | ||
| 35 | * | ||
| 36 | */ | ||
| 37 | |||
| 38 | // clang-format off | ||
| 39 | |||
| 40 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 41 | [_ADNW] = LAYOUT( | ||
| 42 | KC_K, KC_U, KC_Q, KC_DOT, KC_J, KC_P, KC_C, KC_L, KC_M, KC_F, | ||
| 43 | KC_H, KC_I, KC_E, KC_A, KC_O, KC_D, KC_T, KC_R, KC_N, KC_S, | ||
| 44 | MOUSE_X, DE_Y, DE_MINS, KC_COMM, DE_SLSH, KC_B, KC_G, KC_W, KC_V, RSFT_T(DE_Z), | ||
| 45 | XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, NAV_ESC, SFT_BSP, SYM_ENT, MO(_FUNC) | ||
| 46 | ), | ||
| 47 | |||
| 48 | [_QWERTZ] = LAYOUT( | ||
| 49 | KC_Q, KC_W, KC_E, KC_R, KC_T, DE_Z, KC_U, KC_I, KC_O, KC_P, | ||
| 50 | KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
| 51 | MOUSE_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), | ||
| 52 | XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, NAV_ESC, SFT_BSP, SYM_ENT, MO(_FUNC) | ||
| 53 | ), | ||
| 54 | |||
| 55 | [_SYMBOL] = LAYOUT( | ||
| 56 | DE_AT, DE_DEG, DE_LBRC, DE_RBRC, DE_HASH, DE_EXLM, DE_LABK, DE_RABK, DE_EQL, DE_AMPR, | ||
| 57 | DE_BSLS, DE_EURO, DE_LCBR, DE_RCBR, DE_ASTR, DE_QUES, DE_LPRN, DE_RPRN, DE_PLUS, KC_ENT, | ||
| 58 | XXXXXXX, DE_DLR, DE_PIPE, DE_TILD, DE_GRV, DE_CIRC, DE_PERC, DE_DQUO, DE_QUOT, XXXXXXX, | ||
| 59 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 60 | ), | ||
| 61 | |||
| 62 | [_NAVNUM] = LAYOUT( | ||
| 63 | KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, DE_SS, KC_7, KC_8, KC_9, DE_ADIA, | ||
| 64 | KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, KC_DOT, KC_4, KC_5, KC_6, DE_ODIA, | ||
| 65 | XXXXXXX, XXXXXXX, KC_INS, XXXXXXX, XXXXXXX, KC_0, KC_1, KC_2, KC_3, DE_UDIA, | ||
| 66 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 67 | ), | ||
| 68 | |||
| 69 | [_FUNC] = LAYOUT( | ||
| 70 | XXXXXXX, XXXXXXX, XXXXXXX, DF(_QWERTZ),DF(_ADNW), XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F10, | ||
| 71 | DM_REC1, DM_RSTP, DM_PLY1, XXXXXXX, QK_RBT, XXXXXXX, KC_F4, KC_F5, KC_F6, KC_F11, | ||
| 72 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F12, | ||
| 73 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 74 | ), | ||
| 75 | |||
| 76 | [_MOUSE] = LAYOUT( | ||
| 77 | KC_WH_L, XXXXXXX, KC_MS_U, XXXXXXX, XXXXXXX, KC_ACL0, XXXXXXX, KC_BTN3, XXXXXXX, KC_BTN5, | ||
| 78 | KC_WH_R, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_U, KC_ACL1, XXXXXXX, KC_BTN1, KC_BTN2, KC_BTN4, | ||
| 79 | MOUSE_X, KC_BTN1, KC_BTN3, KC_BTN2, KC_WH_D, KC_ACL2, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 80 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 81 | ), | ||
| 82 | |||
| 83 | }; | ||
| 84 | |||
| 85 | // clang-format on | ||
diff --git a/keyboards/frobiac/blackbowl/matrix.c b/keyboards/frobiac/blackbowl/matrix.c new file mode 100644 index 0000000000..727e26ddc1 --- /dev/null +++ b/keyboards/frobiac/blackbowl/matrix.c | |||
| @@ -0,0 +1,115 @@ | |||
| 1 | // Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com> | ||
| 2 | // Copyright 2017 Erin Call <hello@erincall.com> | ||
| 3 | // Copyright 2023 @frobiac | ||
| 4 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 6 | // This implements a matrix scan (lite) for the BlackBowl keyboard. | ||
| 7 | // Each side has a dedicated MCP23018 I2C expander. | ||
| 8 | |||
| 9 | #include <stdint.h> | ||
| 10 | #include <stdbool.h> | ||
| 11 | #include <avr/io.h> | ||
| 12 | #include "wait.h" | ||
| 13 | #include "action_layer.h" | ||
| 14 | #include "print.h" | ||
| 15 | #include "debug.h" | ||
| 16 | #include "util.h" | ||
| 17 | #include "matrix.h" | ||
| 18 | #include "blackbowl.h" | ||
| 19 | #include "i2c_master.h" | ||
| 20 | #include "timer.h" | ||
| 21 | |||
| 22 | #define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2) | ||
| 23 | #define ROW_SHIFTER ((matrix_row_t)1) | ||
| 24 | |||
| 25 | static bool read_rows_on_col(matrix_row_t current_matrix[], uint8_t current_col); | ||
| 26 | |||
| 27 | static uint8_t expander_reset_loop; | ||
| 28 | uint8_t expander_status; | ||
| 29 | const uint8_t expander_input_mask = ((1 << MATRIX_ROWS_PER_SIDE) - 1); // No special mapping, 5 bits [0..4] per side | ||
| 30 | bool i2c_initialized = false; | ||
| 31 | |||
| 32 | static const uint8_t I2C_ADDR_RIGHT = 0x4E; | ||
| 33 | static const uint8_t I2C_ADDR_LEFT = 0x46; | ||
| 34 | static const uint8_t i2c_addr[] = {I2C_ADDR_RIGHT, I2C_ADDR_LEFT}; | ||
| 35 | |||
| 36 | void matrix_init_custom(void) { | ||
| 37 | if (!i2c_initialized) { | ||
| 38 | i2c_init(); | ||
| 39 | wait_ms(1000); | ||
| 40 | } | ||
| 41 | |||
| 42 | // Pin direction and pull-up depends on diode direction and column register: | ||
| 43 | // ROW2COL, GPIOA => input, output | ||
| 44 | uint8_t direction[2] = {0, expander_input_mask}; | ||
| 45 | uint8_t pullup[2] = {0, expander_input_mask}; | ||
| 46 | |||
| 47 | for (uint8_t i = 0; i < 2; ++i) { | ||
| 48 | expander_status = i2c_writeReg(i2c_addr[i], IODIRA, direction, 2, I2C_TIMEOUT); | ||
| 49 | if (expander_status) return; | ||
| 50 | |||
| 51 | expander_status = i2c_writeReg(i2c_addr[i], GPPUA, pullup, 2, I2C_TIMEOUT); | ||
| 52 | } | ||
| 53 | } | ||
| 54 | |||
| 55 | bool matrix_scan_custom(matrix_row_t current_matrix[]) { | ||
| 56 | bool matrix_has_changed = false; | ||
| 57 | |||
| 58 | if (expander_status) { // if there was an error | ||
| 59 | ++expander_reset_loop; | ||
| 60 | if (++expander_reset_loop == 0) { | ||
| 61 | // since expander_reset_loop is 8 bit - we'll try to reset once in 255 matrix scans | ||
| 62 | // this will be approx bit more frequent than once per second | ||
| 63 | matrix_init_custom(); | ||
| 64 | } | ||
| 65 | } | ||
| 66 | |||
| 67 | for (uint8_t current_col = 0; current_col < MATRIX_COLS; current_col++) { | ||
| 68 | matrix_has_changed |= read_rows_on_col(current_matrix, current_col); | ||
| 69 | } | ||
| 70 | |||
| 71 | return matrix_has_changed; | ||
| 72 | } | ||
| 73 | |||
| 74 | static bool read_rows_on_col(matrix_row_t current_matrix[], uint8_t current_col) { | ||
| 75 | bool matrix_changed = false; | ||
| 76 | uint8_t port = 0xFF & ~(1 << current_col); | ||
| 77 | uint8_t column_state[] = {0, 0}; | ||
| 78 | |||
| 79 | // On both expanders: select col and read rows | ||
| 80 | for (size_t i = 0; i < 2; ++i) { | ||
| 81 | if (!expander_status) { | ||
| 82 | expander_status = i2c_writeReg(i2c_addr[i], EXPANDER_COL_REGISTER, &port, 1, I2C_TIMEOUT); | ||
| 83 | } | ||
| 84 | wait_us(30); | ||
| 85 | |||
| 86 | if (expander_status) { | ||
| 87 | return false; | ||
| 88 | } | ||
| 89 | |||
| 90 | expander_status = i2c_readReg(i2c_addr[i], EXPANDER_ROW_REGISTER, &column_state[i], 1, I2C_TIMEOUT); | ||
| 91 | column_state[i] = (~column_state[i]) & ((1 << MATRIX_ROWS_PER_SIDE) - 1); | ||
| 92 | } | ||
| 93 | |||
| 94 | // now map rows 0..4 on each side to cumulative to 0..9 | ||
| 95 | uint16_t col_state = column_state[0] | ((column_state[1] << MATRIX_ROWS_PER_SIDE) /*& 0x3e0*/); | ||
| 96 | |||
| 97 | for (uint8_t current_row = 0; current_row < MATRIX_ROWS; current_row++) { | ||
| 98 | // Store last value of row prior to reading | ||
| 99 | matrix_row_t last_row_value = current_matrix[current_row]; | ||
| 100 | |||
| 101 | if (col_state & (1 << current_row)) { | ||
| 102 | // key closed; set state bit in matrix | ||
| 103 | current_matrix[current_row] |= (ROW_SHIFTER << current_col); | ||
| 104 | } else { | ||
| 105 | // key open; clear state bit in matrix | ||
| 106 | current_matrix[current_row] &= ~(ROW_SHIFTER << current_col); | ||
| 107 | } | ||
| 108 | |||
| 109 | // Determine whether the matrix changed state | ||
| 110 | if ((last_row_value != current_matrix[current_row]) && !(matrix_changed)) { | ||
| 111 | matrix_changed = true; | ||
| 112 | } | ||
| 113 | } | ||
| 114 | return matrix_changed; | ||
| 115 | } | ||
diff --git a/keyboards/frobiac/blackbowl/readme.md b/keyboards/frobiac/blackbowl/readme.md new file mode 100644 index 0000000000..3150ca2046 --- /dev/null +++ b/keyboards/frobiac/blackbowl/readme.md | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | # frobiac/blackbowl | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Custom 3D-printed and handwired 36-key split-keyboard with trackpoint developed in 2016. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [frobiac](https://github.com/frobiac) | ||
| 8 | * Hardware Supported: Teensy-2.0, IBM Trackpoint, one MCP23018 per side, one RGB-LED | ||
| 9 | * Development History: [deskthority.net](https://deskthority.net/viewtopic.php?p=344785#p344785) | ||
| 10 | * Layout [Alpha KLE](http://www.keyboard-layout-editor.com/#/gists/6a6ec84d59fc346effbe894af159eabd) (same as BlackBowl) | ||
| 11 | * [Original Firmware](https://github.com/frobiac/adnw) | ||
| 12 | |||
| 13 | Make example for this keyboard (after setting up your build environment): | ||
| 14 | |||
| 15 | make frobiac/blackbowl | ||
| 16 | |||
| 17 | Flashing example for this keyboard: | ||
| 18 | |||
| 19 | make frobiac/blackbowl:flash | ||
| 20 | |||
| 21 | 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). | ||
| 22 | |||
| 23 | |||
| 24 | The I2C code is based on the code from 'handwired/dactyl', | ||
| 25 | but reduced to ROW2COL and EXPANDER_COL_REGISTER=GPIOA define choices. | ||
| 26 | Adjustments were made for the two I2C addresses, one per side. | ||
| 27 | |||
| 28 | |||
| 29 | ## Bootloader | ||
| 30 | |||
| 31 | Enter the bootloader in 2 ways: | ||
| 32 | |||
| 33 | * **Physical reset button**: Briefly press the button on the Teensy by inserting a small pin in the small hole in the switch plate | ||
| 34 | * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available | ||
| 35 | |||
| 36 | |||
diff --git a/keyboards/frobiac/blackbowl/rules.mk b/keyboards/frobiac/blackbowl/rules.mk new file mode 100644 index 0000000000..6004c37f9e --- /dev/null +++ b/keyboards/frobiac/blackbowl/rules.mk | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | CUSTOM_MATRIX = lite | ||
| 2 | |||
| 3 | # project specific files | ||
| 4 | QUANTUM_LIB_SRC += i2c_master.c | ||
| 5 | SRC += matrix.c | ||
| 6 | |||
| 7 | PS2_MOUSE_ENABLE = yes | ||
| 8 | PS2_ENABLE = yes | ||
| 9 | PS2_DRIVER = usart | ||
diff --git a/keyboards/frobiac/blackflat/config.h b/keyboards/frobiac/blackflat/config.h new file mode 100644 index 0000000000..20801757dc --- /dev/null +++ b/keyboards/frobiac/blackflat/config.h | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | // Copyright 2023 @frobiac | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #ifdef PS2_MOUSE_ENABLE | ||
| 7 | # define PS2_DATA_PIN D4 | ||
| 8 | # define PS2_CLOCK_PIN B3 | ||
| 9 | |||
| 10 | # define PS2_MOUSE_USE_REMOTE_MODE | ||
| 11 | # define PS2_MOUSE_INIT_DELAY 1000 | ||
| 12 | #endif | ||
diff --git a/keyboards/frobiac/blackflat/info.json b/keyboards/frobiac/blackflat/info.json new file mode 100644 index 0000000000..0d99816582 --- /dev/null +++ b/keyboards/frobiac/blackflat/info.json | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | { | ||
| 2 | "manufacturer": "frobiac", | ||
| 3 | "keyboard_name": "blackflat", | ||
| 4 | "url": "https://www.github.com/frobiac/adnw", | ||
| 5 | "maintainer": "frobiac", | ||
| 6 | "bootloader": "halfkay", | ||
| 7 | "processor": "atmega32u4", | ||
| 8 | "diode_direction": "COL2ROW", | ||
| 9 | "features": { | ||
| 10 | "audio": false, | ||
| 11 | "backlight": false, | ||
| 12 | "bootmagic": false, | ||
| 13 | "command": false, | ||
| 14 | "console": false, | ||
| 15 | "dynamic_macro": true, | ||
| 16 | "extrakey": true, | ||
| 17 | "mousekey": true, | ||
| 18 | "nkro": false, | ||
| 19 | "unicode": false, | ||
| 20 | "rgblight": false | ||
| 21 | }, | ||
| 22 | "build": { | ||
| 23 | "lto": true | ||
| 24 | }, | ||
| 25 | "matrix_pins": { | ||
| 26 | "cols": ["F0", "F1", "F4", "F5", "F6"], | ||
| 27 | "rows": ["B6", "B5", "B4", "F7", "D2", "C6", "C7", "D5"] | ||
| 28 | }, | ||
| 29 | "usb": { | ||
| 30 | "device_version": "1.0.0", | ||
| 31 | "pid": "0x1D50", | ||
| 32 | "vid": "0x6033" | ||
| 33 | }, | ||
| 34 | "layouts": { | ||
| 35 | "LAYOUT": { | ||
| 36 | "layout": [ | ||
| 37 | {"matrix": [0, 0], "label":"K", "x":0, "y":1.00}, | ||
| 38 | {"matrix": [0, 1], "label":"U", "x":1, "y":0.50}, | ||
| 39 | {"matrix": [0, 2], "label":"Q", "x":2, "y":0.00}, | ||
| 40 | {"matrix": [0, 3], "label":".", "x":3, "y":0.00}, | ||
| 41 | {"matrix": [0, 4], "label":"J", "x":4, "y":0.00}, | ||
| 42 | |||
| 43 | {"matrix": [4, 0], "label":"P", "x":6, "y":0.00}, | ||
| 44 | {"matrix": [4, 1], "label":"C", "x":7, "y":0.00}, | ||
| 45 | {"matrix": [4, 2], "label":"L", "x":8, "y":0.00}, | ||
| 46 | {"matrix": [4, 3], "label":"M", "x":9, "y":0.50}, | ||
| 47 | {"matrix": [4, 4], "label":"F", "x":10, "y":1.00}, | ||
| 48 | |||
| 49 | {"matrix": [1, 0], "label":"H", "x":0, "y":2.00}, | ||
| 50 | {"matrix": [1, 1], "label":"I", "x":1, "y":1.50}, | ||
| 51 | {"matrix": [1, 2], "label":"E", "x":2, "y":1.00}, | ||
| 52 | {"matrix": [1, 3], "label":"A", "x":3, "y":1.00}, | ||
| 53 | {"matrix": [1, 4], "label":"O", "x":4, "y":1.00}, | ||
| 54 | |||
| 55 | {"matrix": [5, 0], "label":"D", "x":6, "y":1.00}, | ||
| 56 | {"matrix": [5, 1], "label":"T", "x":7, "y":1.00}, | ||
| 57 | {"matrix": [5, 2], "label":"R", "x":8, "y":1.00}, | ||
| 58 | {"matrix": [5, 3], "label":"N", "x":9, "y":1.50}, | ||
| 59 | {"matrix": [5, 4], "label":"S", "x":10, "y":2.00}, | ||
| 60 | |||
| 61 | {"matrix": [2, 0], "label":"X", "x":0, "y":3.00}, | ||
| 62 | {"matrix": [2, 1], "label":"Y", "x":1, "y":2.50}, | ||
| 63 | {"matrix": [2, 2], "label":"-", "x":2, "y":2.00}, | ||
| 64 | {"matrix": [2, 3], "label":",", "x":3, "y":2.00}, | ||
| 65 | {"matrix": [2, 4], "label":"/", "x":4, "y":2.00}, | ||
| 66 | |||
| 67 | {"matrix": [6, 0], "label":"B", "x":6, "y":2.00}, | ||
| 68 | {"matrix": [6, 1], "label":"G", "x":7, "y":2.00}, | ||
| 69 | {"matrix": [6, 2], "label":"W", "x":8, "y":2.00}, | ||
| 70 | {"matrix": [6, 3], "label":"V", "x":9, "y":2.50}, | ||
| 71 | {"matrix": [6, 4], "label":"Z", "x":10, "y":3.00}, | ||
| 72 | |||
| 73 | {"matrix": [3, 0], "label":"", "x":0, "y":0.00}, | ||
| 74 | {"matrix": [3, 2], "label":"Gui", "x":2, "y":3.00}, | ||
| 75 | {"matrix": [3, 3], "label":"Tab", "x":3, "y":3.00}, | ||
| 76 | {"matrix": [3, 4], "label":"Spc", "x":4, "y":3.00}, | ||
| 77 | |||
| 78 | {"matrix": [7, 0], "label":"L2", "x":6, "y":3.00}, | ||
| 79 | {"matrix": [7, 1], "label":"Sh", "x":7, "y":3.00}, | ||
| 80 | {"matrix": [7, 2], "label":"L3", "x":8, "y":3.00}, | ||
| 81 | {"matrix": [7, 4], "label":"Fx", "x":10, "y":0.00} | ||
| 82 | ] | ||
| 83 | } | ||
| 84 | } | ||
| 85 | } | ||
diff --git a/keyboards/frobiac/blackflat/keymaps/default/keymap.c b/keyboards/frobiac/blackflat/keymaps/default/keymap.c new file mode 100644 index 0000000000..8cf73b9316 --- /dev/null +++ b/keyboards/frobiac/blackflat/keymaps/default/keymap.c | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | // Copyright 2023 @frobiac | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | #include "keymap_german.h" | ||
| 7 | |||
| 8 | enum layer_number { | ||
| 9 | _ADNW = 0, | ||
| 10 | _QWERTZ, | ||
| 11 | _NAVNUM, | ||
| 12 | _SYMBOL, | ||
| 13 | _FUNC, | ||
| 14 | _MOUSE, | ||
| 15 | }; | ||
| 16 | |||
| 17 | #define CTL_TAB LCTL_T(KC_TAB) | ||
| 18 | #define ALT_SPC LALT_T(KC_SPC) | ||
| 19 | #define NAV_ESC LT(_NAVNUM, KC_ESC) | ||
| 20 | #define SFT_BSP LSFT_T(KC_BSPC) | ||
| 21 | #define SYM_ENT LT(_SYMBOL, KC_ENT) | ||
| 22 | #define MOUSE_X LT(_MOUSE, KC_X) | ||
| 23 | #define MOUSE_Y LT(_MOUSE, KC_Y) | ||
| 24 | |||
| 25 | /* | ||
| 26 | * ┌───┐ ┌───┬───┬───┐ ┌───┬───┬───┐RST┌───┐ | ||
| 27 | * │MOU├───┤ Q │ . │ J │ │ P │ C │ L ├───┤Fx │ | ||
| 28 | * ├───┤ U ├───┼───┼───┤ ├─[TP]──┼───┤ M ├───┤ | ||
| 29 | * │ K ├───┤ E │ A │ O │ │ D │ T │ R ├───┤ F │ | ||
| 30 | * ├───┤ I ├───┼───┼───┤ ├───┼───┼───┤ N ├───┤ | ||
| 31 | * │ H ├───┤ - │ ; │ / │ │ D │ G │ W ├───┤ S │ | ||
| 32 | * ├───┤ Y ├───┼───┼───┤ ├───┼───┼───┤ V ├───┤ | ||
| 33 | * │ X ├───┤ │Tab│Spc│ │Esc│Bsp│Ret├───┤ Z │ | ||
| 34 | * └───┘ └───┴───┴───┘ └───┴───┴───┘ └───┘ | ||
| 35 | * | ||
| 36 | */ | ||
| 37 | |||
| 38 | // clang-format off | ||
| 39 | |||
| 40 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 41 | [_ADNW] = LAYOUT( | ||
| 42 | KC_K, KC_U, KC_Q, KC_DOT, KC_J, KC_P, KC_C, KC_L, KC_M, KC_F, | ||
| 43 | KC_H, KC_I, KC_E, KC_A, KC_O, KC_D, KC_T, KC_R, KC_N, KC_S, | ||
| 44 | MOUSE_X, DE_Y, DE_MINS, KC_COMM, DE_SLSH, KC_B, KC_G, KC_W, KC_V, RSFT_T(DE_Z), | ||
| 45 | XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, NAV_ESC, SFT_BSP, SYM_ENT, MO(_FUNC) | ||
| 46 | ), | ||
| 47 | |||
| 48 | [_QWERTZ] = LAYOUT( | ||
| 49 | KC_Q, KC_W, KC_E, KC_R, KC_T, DE_Z, KC_U, KC_I, KC_O, KC_P, | ||
| 50 | KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
| 51 | MOUSE_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), | ||
| 52 | XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, NAV_ESC, SFT_BSP, SYM_ENT, MO(_FUNC) | ||
| 53 | ), | ||
| 54 | |||
| 55 | [_SYMBOL] = LAYOUT( | ||
| 56 | DE_AT, DE_DEG, DE_LBRC, DE_RBRC, DE_HASH, DE_EXLM, DE_LABK, DE_RABK, DE_EQL, DE_AMPR, | ||
| 57 | DE_BSLS, DE_EURO, DE_LCBR, DE_RCBR, DE_ASTR, DE_QUES, DE_LPRN, DE_RPRN, DE_PLUS, KC_ENT, | ||
| 58 | XXXXXXX, DE_DLR, DE_PIPE, DE_TILD, DE_GRV, DE_CIRC, DE_PERC, DE_DQUO, DE_QUOT, XXXXXXX, | ||
| 59 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 60 | ), | ||
| 61 | |||
| 62 | [_NAVNUM] = LAYOUT( | ||
| 63 | KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, DE_SS, KC_7, KC_8, KC_9, DE_ADIA, | ||
| 64 | KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, KC_DOT, KC_4, KC_5, KC_6, DE_ODIA, | ||
| 65 | XXXXXXX, XXXXXXX, KC_INS, XXXXXXX, XXXXXXX, KC_0, KC_1, KC_2, KC_3, DE_UDIA, | ||
| 66 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 67 | ), | ||
| 68 | |||
| 69 | [_FUNC] = LAYOUT( | ||
| 70 | XXXXXXX, XXXXXXX, XXXXXXX, DF(_QWERTZ),DF(_ADNW), XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F10, | ||
| 71 | DM_REC1, DM_RSTP, DM_PLY1, XXXXXXX, QK_RBT, XXXXXXX, KC_F4, KC_F5, KC_F6, KC_F11, | ||
| 72 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F12, | ||
| 73 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 74 | ), | ||
| 75 | |||
| 76 | [_MOUSE] = LAYOUT( | ||
| 77 | KC_WH_L, XXXXXXX, KC_MS_U, XXXXXXX, XXXXXXX, KC_ACL0, XXXXXXX, KC_BTN3, XXXXXXX, KC_BTN5, | ||
| 78 | KC_WH_R, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_U, KC_ACL1, XXXXXXX, KC_BTN1, KC_BTN2, KC_BTN4, | ||
| 79 | MOUSE_X, KC_BTN1, KC_BTN3, KC_BTN2, KC_WH_D, KC_ACL2, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 80 | _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 81 | ), | ||
| 82 | |||
| 83 | }; | ||
| 84 | |||
| 85 | // clang-format on | ||
diff --git a/keyboards/frobiac/blackflat/readme.md b/keyboards/frobiac/blackflat/readme.md new file mode 100644 index 0000000000..1bfba962f1 --- /dev/null +++ b/keyboards/frobiac/blackflat/readme.md | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | # frobiac/blackflat | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Custom 3D-printed and handwired 36-key split-keyboard with trackpoint developed in 2016. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [frobiac](https://github.com/frobiac) | ||
| 8 | * Hardware Supported: Teensy-2.0, IBM Trackpoint | ||
| 9 | * Development History: [deskthority.net](https://deskthority.net/viewtopic.php?p=339638#p339638) | ||
| 10 | * Layout [Alpha KLE](http://www.keyboard-layout-editor.com/#/gists/6a6ec84d59fc346effbe894af159eabd) (same as BlackBowl) | ||
| 11 | * [Original Firmware](https://github.com/frobiac/adnw) | ||
| 12 | |||
| 13 | Make example for this keyboard (after setting up your build environment): | ||
| 14 | |||
| 15 | make frobiac/blackflat | ||
| 16 | |||
| 17 | Flashing example for this keyboard: | ||
| 18 | |||
| 19 | make frobiac/blackflat:flash | ||
| 20 | |||
| 21 | 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). | ||
| 22 | |||
| 23 | ## Bootloader | ||
| 24 | |||
| 25 | Enter the bootloader in 2 ways: | ||
| 26 | |||
| 27 | * **Physical reset button**: Briefly press the button between left-hand topmost ringfinger key and USB socket | ||
| 28 | * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available | ||
| 29 | |||
| 30 | |||
| 31 | |||
diff --git a/keyboards/frobiac/blackflat/rules.mk b/keyboards/frobiac/blackflat/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/frobiac/blackflat/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| # This file intentionally left blank | |||
diff --git a/keyboards/frobiac/hypernano/config.h b/keyboards/frobiac/hypernano/config.h new file mode 100644 index 0000000000..843ad6f55b --- /dev/null +++ b/keyboards/frobiac/hypernano/config.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | // Copyright 2023 @frobiac | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #ifdef PS2_MOUSE_ENABLE | ||
| 7 | # define PS2_RESET_PIN B0 | ||
| 8 | # define PS2_DATA_PIN B1 | ||
| 9 | # define PS2_CLOCK_PIN B2 | ||
| 10 | |||
| 11 | # define PS2_MOUSE_INVERT_X | ||
| 12 | # define PS2_MOUSE_INVERT_Y | ||
| 13 | |||
| 14 | # define PS2_MOUSE_USE_REMOTE_MODE | ||
| 15 | # define PS2_MOUSE_INIT_DELAY 1000 | ||
| 16 | #endif | ||
| 17 | |||
diff --git a/keyboards/frobiac/hypernano/info.json b/keyboards/frobiac/hypernano/info.json new file mode 100644 index 0000000000..30113e182e --- /dev/null +++ b/keyboards/frobiac/hypernano/info.json | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | { | ||
| 2 | "manufacturer": "frobiac", | ||
| 3 | "keyboard_name": "hypernano", | ||
| 4 | "url": "https://www.github.com/frobiac/adnw", | ||
| 5 | "maintainer": "frobiac", | ||
| 6 | "bootloader": "halfkay", | ||
| 7 | "processor": "atmega32u4", | ||
| 8 | "diode_direction": "COL2ROW", | ||
| 9 | "features": { | ||
| 10 | "audio": false, | ||
| 11 | "backlight": false, | ||
| 12 | "bootmagic": false, | ||
| 13 | "command": false, | ||
| 14 | "console": false, | ||
| 15 | "dynamic_macro": true, | ||
| 16 | "extrakey": true, | ||
| 17 | "mousekey": true, | ||
| 18 | "nkro": false, | ||
| 19 | "unicode": false, | ||
| 20 | "rgblight": false | ||
| 21 | }, | ||
| 22 | "build": { | ||
| 23 | "lto": true | ||
| 24 | }, | ||
| 25 | "matrix_pins": { | ||
| 26 | "cols": ["F6", "F5", "F4", "F1", "F0", "F7"], | ||
| 27 | "rows": ["D7", "D6", "D5", "D4", "D3", "D2", "D1", "D0"] | ||
| 28 | }, | ||
| 29 | "usb": { | ||
| 30 | "device_version": "1.0.0", | ||
| 31 | "pid": "0x1D50", | ||
| 32 | "vid": "0x6033" | ||
| 33 | }, | ||
| 34 | "layouts": { | ||
| 35 | "LAYOUT": { | ||
| 36 | "layout": [ | ||
| 37 | { "matrix": [0, 0], "label":"K", "x":0, "y":0, "w":1.5}, | ||
| 38 | { "matrix": [0, 1], "label":"U", "x":1.5, "y":0}, | ||
| 39 | { "matrix": [0, 2], "label":"Q", "x":2.5, "y":0}, | ||
| 40 | { "matrix": [0, 3], "label":".", "x":3.5, "y":0}, | ||
| 41 | { "matrix": [0, 4], "label":"J", "x":4.5, "y":0}, | ||
| 42 | { "matrix": [1, 1], "label":"P", "x":7.5, "y":0}, | ||
| 43 | { "matrix": [1, 2], "label":"C", "x":8.5, "y":0}, | ||
| 44 | { "matrix": [1, 3], "label":"L", "x":9.5, "y":0}, | ||
| 45 | { "matrix": [1, 4], "label":"M", "x":10.5, "y":0}, | ||
| 46 | { "matrix": [1, 5], "label":"F", "x":11.5, "y":0, "w":1.5}, | ||
| 47 | { "matrix": [2, 0], "label":"H", "x":0, "y":1, "w":1.25}, | ||
| 48 | { "matrix": [2, 1], "label":"I", "x":1.25, "y":1}, | ||
| 49 | { "matrix": [2, 2], "label":"E", "x":2.25, "y":1}, | ||
| 50 | { "matrix": [2, 3], "label":"A", "x":3.25, "y":1}, | ||
| 51 | { "matrix": [2, 4], "label":"O", "x":4.25, "y":1}, | ||
| 52 | { "matrix": [3, 1], "label":"D", "x":7.75, "y":1}, | ||
| 53 | { "matrix": [3, 2], "label":"T", "x":8.75, "y":1}, | ||
| 54 | { "matrix": [3, 3], "label":"R", "x":9.75, "y":1}, | ||
| 55 | { "matrix": [3, 4], "label":"N", "x":10.75, "y":1}, | ||
| 56 | { "matrix": [3, 5], "label":"S", "x":11.75, "y":1, "w":1.25}, | ||
| 57 | { "matrix": [4, 0], "label":"X", "x":0, "y":2}, | ||
| 58 | { "matrix": [4, 1], "label":"Y", "x":1, "y":2}, | ||
| 59 | { "matrix": [4, 2], "label":"-", "x":2, "y":2}, | ||
| 60 | { "matrix": [4, 3], "label":",", "x":3, "y":2}, | ||
| 61 | { "matrix": [4, 4], "label":"/", "x":4, "y":2}, | ||
| 62 | { "matrix": [4, 5], "label":"", "x":5, "y":2}, | ||
| 63 | { "matrix": [5, 0], "label":"", "x":7, "y":2}, | ||
| 64 | { "matrix": [5, 1], "label":"B", "x":8, "y":2}, | ||
| 65 | { "matrix": [5, 2], "label":"G", "x":9, "y":2}, | ||
| 66 | { "matrix": [5, 3], "label":"W", "x":10, "y":2}, | ||
| 67 | { "matrix": [5, 4], "label":"V", "x":11, "y":2}, | ||
| 68 | { "matrix": [5, 5], "label":"Z", "x":12, "y":2}, | ||
| 69 | { "matrix": [6, 0], "label":"", "x":0, "y":3, "w":1.25}, | ||
| 70 | { "matrix": [6, 1], "label":"", "x":1.25, "y":3}, | ||
| 71 | { "matrix": [6, 2], "label":"Gui", "x":2.25, "y":3}, | ||
| 72 | { "matrix": [6, 3], "label":"Tab", "x":3.25, "y":3}, | ||
| 73 | { "matrix": [6, 4], "label":"Spc", "x":4.25, "y":3}, | ||
| 74 | { "matrix": [6, 5], "label":"", "x":5.25, "y":3}, | ||
| 75 | { "matrix": [7, 0], "label":"", "x":6.75, "y":3}, | ||
| 76 | { "matrix": [7, 1], "label":"L2", "x":7.75, "y":3}, | ||
| 77 | { "matrix": [7, 2], "label":"Sh", "x":8.75, "y":3}, | ||
| 78 | { "matrix": [7, 3], "label":"L3", "x":9.75, "y":3}, | ||
| 79 | { "matrix": [7, 4], "label":"", "x":10.75, "y":3}, | ||
| 80 | { "matrix": [7, 5], "label":"", "x":11.75, "y":3, "w":1.25} | ||
| 81 | ] | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } | ||
diff --git a/keyboards/frobiac/hypernano/keymaps/default/keymap.c b/keyboards/frobiac/hypernano/keymaps/default/keymap.c new file mode 100644 index 0000000000..5e5277805f --- /dev/null +++ b/keyboards/frobiac/hypernano/keymaps/default/keymap.c | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | // Copyright 2023 @frobiac | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | #include "keymap_german.h" | ||
| 7 | |||
| 8 | enum layer_number { | ||
| 9 | _ADNW = 0, | ||
| 10 | _QWERTZ, | ||
| 11 | _NAVNUM, | ||
| 12 | _SYMBOL, | ||
| 13 | _FUNC, | ||
| 14 | _MOUSE, | ||
| 15 | }; | ||
| 16 | |||
| 17 | #define CTL_TAB LCTL_T(KC_TAB) | ||
| 18 | #define ALT_SPC LALT_T(KC_SPC) | ||
| 19 | #define NAV_ESC LT(_NAVNUM, KC_ESC) | ||
| 20 | #define SFT_BSP LSFT_T(KC_BSPC) | ||
| 21 | #define SYM_ENT LT(_SYMBOL, KC_ENT) | ||
| 22 | #define MOUSE_X LT(_MOUSE, KC_X) | ||
| 23 | #define MOUSE_Y LT(_MOUSE, KC_Y) | ||
| 24 | |||
| 25 | /* | ||
| 26 | * ┌─────┬───┬───┬───┬───┐───────┌───┬───┬───┬───┬─────┐ | ||
| 27 | * │ K │ U │ Q │ . │ J │ │ P │ C │ L │ M │ F │ | ||
| 28 | * ├────┬┴──┬┴──┬┴──┬┴──┬┘ _ └┬──┴┬──┴┬──┴┬──┴┬────┤ | ||
| 29 | * │ H │ I │ E │ A │ O │ (_) │ D │ T │ R │ N │ S │ | ||
| 30 | * ├───┬┴──┬┴──┬┴──┬┴──┬┴──┐ ┌──┴┬──┴┬──┴┬──┴┬──┴┬───┤ | ||
| 31 | * │ X │ Y │ - │ , │ / │ │ │ │ B │ G │ W │ V │ Z │ | ||
| 32 | * ├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ┌┴──┬┴──┬┴──┬┴──┬┴──┬┴───┤ | ||
| 33 | * │ │ │ │Tab│Spc│ │o│ │Esc│Bsp│Ret│ │ │ | ||
| 34 | * └────┴───┴───┴───┴───┴───┘─└───┴───┴───┴───┴───┴────┘ | ||
| 35 | * | ||
| 36 | */ | ||
| 37 | |||
| 38 | // clang-format off | ||
| 39 | |||
| 40 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 41 | [_ADNW] = LAYOUT( | ||
| 42 | KC_K, KC_U, KC_Q, KC_DOT, KC_J, KC_P, KC_C, KC_L, KC_M, KC_F, | ||
| 43 | KC_H, KC_I, KC_E, KC_A, KC_O, KC_D, KC_T, KC_R, KC_N, KC_S, | ||
| 44 | MOUSE_X, DE_Y, DE_MINS, KC_COMM, DE_SLSH, XXXXXXX, XXXXXXX, KC_B, KC_G, KC_W, KC_V, RSFT_T(DE_Z), | ||
| 45 | XXXXXXX, XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, XXXXXXX, XXXXXXX, NAV_ESC, SFT_BSP, SYM_ENT, XXXXXXX, MO(_FUNC) | ||
| 46 | ), | ||
| 47 | |||
| 48 | [_QWERTZ] = LAYOUT( | ||
| 49 | KC_Q, KC_W, KC_E, KC_R, KC_T, DE_Z, KC_U, KC_I, KC_O, KC_P, | ||
| 50 | KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
| 51 | MOUSE_Y, KC_X, KC_C, KC_V, KC_B, XXXXXXX, XXXXXXX, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), | ||
| 52 | XXXXXXX, XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, XXXXXXX, XXXXXXX, NAV_ESC, SFT_BSP, SYM_ENT, XXXXXXX, MO(_FUNC) | ||
| 53 | ), | ||
| 54 | |||
| 55 | [_SYMBOL] = LAYOUT( | ||
| 56 | DE_AT, DE_DEG, DE_LBRC, DE_RBRC, DE_HASH, DE_EXLM, DE_LABK, DE_RABK, DE_EQL, DE_AMPR, | ||
| 57 | DE_BSLS, DE_EURO, DE_LCBR, DE_RCBR, DE_ASTR, DE_QUES, DE_LPRN, DE_RPRN, DE_PLUS, KC_ENT, | ||
| 58 | XXXXXXX, DE_DLR, DE_PIPE, DE_TILD, DE_GRV, XXXXXXX, XXXXXXX, DE_CIRC, DE_PERC, DE_DQUO, DE_QUOT, XXXXXXX, | ||
| 59 | _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______ | ||
| 60 | ), | ||
| 61 | |||
| 62 | [_NAVNUM] = LAYOUT( | ||
| 63 | KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, DE_SS, KC_7, KC_8, KC_9, DE_ADIA, | ||
| 64 | KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, KC_DOT, KC_4, KC_5, KC_6, DE_ODIA, | ||
| 65 | XXXXXXX, XXXXXXX, KC_INS, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_0, KC_1, KC_2, KC_3, DE_UDIA, | ||
| 66 | _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______ | ||
| 67 | ), | ||
| 68 | |||
| 69 | [_FUNC] = LAYOUT( | ||
| 70 | XXXXXXX, XXXXXXX, XXXXXXX, DF(_QWERTZ),DF(_ADNW), XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F10, | ||
| 71 | DM_REC1, DM_RSTP, DM_PLY1, XXXXXXX, QK_RBT, XXXXXXX, KC_F4, KC_F5, KC_F6, KC_F11, | ||
| 72 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F12, | ||
| 73 | _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______ | ||
| 74 | ), | ||
| 75 | |||
| 76 | [_MOUSE] = LAYOUT( | ||
| 77 | KC_WH_L, XXXXXXX, KC_MS_U, XXXXXXX, XXXXXXX, KC_ACL0, XXXXXXX, KC_BTN3, XXXXXXX, KC_BTN5, | ||
| 78 | KC_WH_R, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_U, KC_ACL1, XXXXXXX, KC_BTN1, KC_BTN2, KC_BTN4, | ||
| 79 | MOUSE_X, KC_BTN1, KC_BTN3, KC_BTN2, KC_WH_D, XXXXXXX, XXXXXXX, KC_ACL2, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 80 | _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______ | ||
| 81 | ), | ||
| 82 | |||
| 83 | }; | ||
| 84 | |||
| 85 | // clang-format on | ||
diff --git a/keyboards/frobiac/hypernano/readme.md b/keyboards/frobiac/hypernano/readme.md new file mode 100644 index 0000000000..849ea81987 --- /dev/null +++ b/keyboards/frobiac/hypernano/readme.md | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | # frobiac/hypernano | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Custom 3D-printed and handwired 44-key keyboard with trackpoint developed in 2013. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [frobiac](https://github.com/frobiac) | ||
| 8 | * Hardware Supported: Teensy-2.0, IBM Trackpoint | ||
| 9 | * Development History: [deskthority.net](https://deskthority.net/viewtopic.php?p=98734#p98734) | ||
| 10 | * Layout [Alpha KLE](http://www.keyboard-layout-editor.com/#/gists/e4f60451766bbe7002c0b9a9ddfb3e34) | ||
| 11 | * [Original Firmware](https://github.com/frobiac/adnw) | ||
| 12 | |||
| 13 | Make example for this keyboard (after setting up your build environment): | ||
| 14 | |||
| 15 | make frobiac/hypernano | ||
| 16 | |||
| 17 | Flashing example for this keyboard: | ||
| 18 | |||
| 19 | make frobiac/hypernano:flash | ||
| 20 | |||
| 21 | 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). | ||
| 22 | |||
| 23 | ## Bootloader | ||
| 24 | |||
| 25 | Enter the bootloader in 3 ways: | ||
| 26 | |||
| 27 | * **Physical reset button**: Briefly press the button in the middle of the bottom row | ||
| 28 | * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available | ||
| 29 | |||
| 30 | |||
diff --git a/keyboards/frobiac/hypernano/rules.mk b/keyboards/frobiac/hypernano/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/frobiac/hypernano/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| # This file intentionally left blank | |||
diff --git a/keyboards/frobiac/readme.md b/keyboards/frobiac/readme.md new file mode 100644 index 0000000000..600cf34cfe --- /dev/null +++ b/keyboards/frobiac/readme.md | |||
| @@ -0,0 +1 @@ | |||
| Collection of keyboards previously supported by custom firmware and now ported to QMK. | |||
diff --git a/keyboards/frobiac/redtilt/config.h b/keyboards/frobiac/redtilt/config.h new file mode 100644 index 0000000000..5eb0f8bc3d --- /dev/null +++ b/keyboards/frobiac/redtilt/config.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | // Copyright 2023 @frobiac | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #ifdef PS2_MOUSE_ENABLE | ||
| 7 | # define PS2_RESET_PIN B0 | ||
| 8 | # define PS2_DATA_PIN B1 | ||
| 9 | # define PS2_CLOCK_PIN B2 | ||
| 10 | |||
| 11 | # define PS2_MOUSE_USE_REMOTE_MODE | ||
| 12 | # define PS2_MOUSE_INIT_DELAY 1000 | ||
| 13 | # define PS2_MOUSE_ROTATE 90 | ||
| 14 | #endif | ||
diff --git a/keyboards/frobiac/redtilt/info.json b/keyboards/frobiac/redtilt/info.json new file mode 100644 index 0000000000..f2f5d27f35 --- /dev/null +++ b/keyboards/frobiac/redtilt/info.json | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | { | ||
| 2 | "manufacturer": "frobiac", | ||
| 3 | "keyboard_name": "redtilt", | ||
| 4 | "url": "https://www.github.com/frobiac/adnw", | ||
| 5 | "maintainer": "frobiac", | ||
| 6 | "bootloader": "halfkay", | ||
| 7 | "processor": "atmega32u4", | ||
| 8 | "diode_direction": "COL2ROW", | ||
| 9 | "features": { | ||
| 10 | "audio": false, | ||
| 11 | "backlight": false, | ||
| 12 | "bootmagic": false, | ||
| 13 | "command": false, | ||
| 14 | "console": false, | ||
| 15 | "dynamic_macro": true, | ||
| 16 | "extrakey": true, | ||
| 17 | "mousekey": true, | ||
| 18 | "nkro": false, | ||
| 19 | "unicode": false, | ||
| 20 | "rgblight": false | ||
| 21 | }, | ||
| 22 | "build": { | ||
| 23 | "lto": true | ||
| 24 | }, | ||
| 25 | "matrix_pins": { | ||
| 26 | "cols": ["F0", "F1", "F4", "F5", "F6", "F7"], | ||
| 27 | "rows": ["D3", "D2", "D1", "D0", "B5", "B4", "D7", "B6"] | ||
| 28 | }, | ||
| 29 | "usb": { | ||
| 30 | "device_version": "1.0.0", | ||
| 31 | "pid": "0x1D50", | ||
| 32 | "vid": "0x6033" | ||
| 33 | }, | ||
| 34 | "layouts": { | ||
| 35 | "LAYOUT": { | ||
| 36 | "layout": [ | ||
| 37 | {"matrix": [0, 0], "label":"", "x":0, "y":2.00}, | ||
| 38 | {"matrix": [0, 1], "label":"K", "x":1, "y":2.00}, | ||
| 39 | {"matrix": [0, 2], "label":"U", "x":2, "y":1.50}, | ||
| 40 | {"matrix": [0, 3], "label":"Q", "x":3, "y":1.00}, | ||
| 41 | {"matrix": [0, 4], "label":".", "x":4, "y":1.00}, | ||
| 42 | {"matrix": [0, 5], "label":"J", "x":5, "y":1.00}, | ||
| 43 | |||
| 44 | {"matrix": [4, 0], "label":"P", "x":8, "y":1.00}, | ||
| 45 | {"matrix": [4, 1], "label":"C", "x":9, "y":1.00}, | ||
| 46 | {"matrix": [4, 2], "label":"L", "x":10, "y":1.00}, | ||
| 47 | {"matrix": [4, 3], "label":"M", "x":11, "y":1.50}, | ||
| 48 | {"matrix": [4, 4], "label":"F", "x":12, "y":2.00}, | ||
| 49 | {"matrix": [4, 5], "label":"", "x":13, "y":2.00}, | ||
| 50 | |||
| 51 | {"matrix": [1, 0], "label":" ", "x":0, "y":3.00}, | ||
| 52 | {"matrix": [1, 1], "label":"H", "x":1, "y":3.00}, | ||
| 53 | {"matrix": [1, 2], "label":"I", "x":2, "y":2.50}, | ||
| 54 | {"matrix": [1, 3], "label":"E", "x":3, "y":2.00}, | ||
| 55 | {"matrix": [1, 4], "label":"A", "x":4, "y":2.00}, | ||
| 56 | {"matrix": [1, 5], "label":"O", "x":5, "y":2.00}, | ||
| 57 | |||
| 58 | {"matrix": [5, 0], "label":"D", "x":8, "y":2.00}, | ||
| 59 | {"matrix": [5, 1], "label":"T", "x":9, "y":2.00}, | ||
| 60 | {"matrix": [5, 2], "label":"R", "x":10, "y":2.00}, | ||
| 61 | {"matrix": [5, 3], "label":"N", "x":11, "y":2.50}, | ||
| 62 | {"matrix": [5, 4], "label":"S", "x":12, "y":3.00}, | ||
| 63 | {"matrix": [5, 5], "label":"", "x":13, "y":3.00}, | ||
| 64 | |||
| 65 | {"matrix": [2, 0], "label":"", "x":0, "y":4.00}, | ||
| 66 | {"matrix": [2, 1], "label":"X", "x":1, "y":4.00}, | ||
| 67 | {"matrix": [2, 2], "label":"Y", "x":2, "y":3.50}, | ||
| 68 | {"matrix": [2, 3], "label":"-", "x":3, "y":3.00}, | ||
| 69 | {"matrix": [2, 4], "label":",", "x":4, "y":3.00}, | ||
| 70 | {"matrix": [2, 5], "label":"/", "x":5, "y":3.00}, | ||
| 71 | |||
| 72 | {"matrix": [6, 0], "label":"B", "x":8, "y":3.00}, | ||
| 73 | {"matrix": [6, 1], "label":"G", "x":9, "y":3.00}, | ||
| 74 | {"matrix": [6, 2], "label":"W", "x":10, "y":3.00}, | ||
| 75 | {"matrix": [6, 3], "label":"V", "x":11, "y":3.50}, | ||
| 76 | {"matrix": [6, 4], "label":"Z", "x":12, "y":4.00}, | ||
| 77 | {"matrix": [6, 5], "label":"", "x":13, "y":4.00}, | ||
| 78 | |||
| 79 | {"matrix": [3, 0], "label":"", "x":0, "y":1.00}, | ||
| 80 | {"matrix": [3, 1], "label":"", "x":1, "y":1.00}, | ||
| 81 | {"matrix": [3, 3], "label":"Gui", "x":3, "y":4.00}, | ||
| 82 | {"matrix": [3, 4], "label":"Tab", "x":4, "y":4.00}, | ||
| 83 | {"matrix": [3, 5], "label":"Spc", "x":5, "y":4.00}, | ||
| 84 | |||
| 85 | {"matrix": [7, 0], "label":"L2", "x":8, "y":4.00}, | ||
| 86 | {"matrix": [7, 1], "label":"Sh", "x":9, "y":4.00}, | ||
| 87 | {"matrix": [7, 2], "label":"L3", "x":10, "y":4.00}, | ||
| 88 | {"matrix": [7, 4], "label":"Fx", "x":12, "y":1.00}, | ||
| 89 | {"matrix": [7, 5], "label":"", "x":13, "y":1.00} | ||
| 90 | ] | ||
| 91 | } | ||
| 92 | } | ||
| 93 | } | ||
| 94 | |||
diff --git a/keyboards/frobiac/redtilt/keymaps/default/keymap.c b/keyboards/frobiac/redtilt/keymaps/default/keymap.c new file mode 100644 index 0000000000..d6df7a9db3 --- /dev/null +++ b/keyboards/frobiac/redtilt/keymaps/default/keymap.c | |||
| @@ -0,0 +1,87 @@ | |||
| 1 | // Copyright 2023 @frobiac | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | #include "keymap_german.h" | ||
| 7 | |||
| 8 | enum layer_number { | ||
| 9 | _ADNW = 0, | ||
| 10 | _QWERTZ, | ||
| 11 | _NAVNUM, | ||
| 12 | _SYMBOL, | ||
| 13 | _FUNC, | ||
| 14 | _MOUSE, | ||
| 15 | }; | ||
| 16 | |||
| 17 | #define CTL_TAB LCTL_T(KC_TAB) | ||
| 18 | #define ALT_SPC LALT_T(KC_SPC) | ||
| 19 | #define NAV_ESC LT(_NAVNUM, KC_ESC) | ||
| 20 | #define SFT_BSP LSFT_T(KC_BSPC) | ||
| 21 | #define SYM_ENT LT(_SYMBOL, KC_ENT) | ||
| 22 | #define MOUSE_X LT(_MOUSE, KC_X) | ||
| 23 | #define MOUSE_Y LT(_MOUSE, KC_Y) | ||
| 24 | #define RSFT__Z RSFT_T(DE_Z) | ||
| 25 | #define RSFT_SL RSFT_T(KC_SLSH) | ||
| 26 | |||
| 27 | /* | ||
| 28 | * ┌───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┐ | ||
| 29 | * │ │MOU├───┤ Q │ . │ J │ │ P │ C │ L ├───┤Fx │ │ | ||
| 30 | * ├───┼───┤ U ├───┼───┼───┤ ├─[TP]──┼───┤ M ├───┼───┤ | ||
| 31 | * │ │ K ├───┤ E │ A │ O │ │ D │ T │ R ├───┤ F │ │ | ||
| 32 | * ├───┼───┤ I ├───┼───┼───┤ ├───┼───┼───┤ N ├───┼───┤ | ||
| 33 | * │ │ H ├───┤ - │ ; │ / │ │ D │ G │ W ├───┤ S │ │ | ||
| 34 | * ├───┼───┤ Y ├───┼───┼───┤ ├───┼───┼───┤ V ├───┼───┤ | ||
| 35 | * │ │ X ├───┤ │Tab│Spc│ │Esc│Bsp│Ret├───┤ Z │Tab│ | ||
| 36 | * └───┴───┘ └───┴───┴───┘ └───┴───┴───┘ └───┴───┘ | ||
| 37 | * | ||
| 38 | */ | ||
| 39 | |||
| 40 | // clang-format off | ||
| 41 | |||
| 42 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 43 | [_ADNW] = LAYOUT( | ||
| 44 | XXXXXXX, KC_K, KC_U, KC_Q, KC_DOT, KC_J, KC_P, KC_C, KC_L, KC_M, KC_F, XXXXXXX, | ||
| 45 | XXXXXXX, KC_H, KC_I, KC_E, KC_A, KC_O, KC_D, KC_T, KC_R, KC_N, KC_S, XXXXXXX, | ||
| 46 | XXXXXXX, MOUSE_X, DE_Y, DE_MINS, KC_COMM, DE_SLSH, KC_B, KC_G, KC_W, KC_V, RSFT__Z, XXXXXXX, | ||
| 47 | XXXXXXX, XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, NAV_ESC, SFT_BSP, SYM_ENT, MO(_FUNC), XXXXXXX | ||
| 48 | ), | ||
| 49 | |||
| 50 | [_QWERTZ] = LAYOUT( | ||
| 51 | XXXXXXX, KC_Q, KC_W, KC_E, KC_R, KC_T, DE_Z, KC_U, KC_I, KC_O, KC_P, XXXXXXX, | ||
| 52 | XXXXXXX, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, XXXXXXX, | ||
| 53 | XXXXXXX, MOUSE_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_SL, XXXXXXX, | ||
| 54 | XXXXXXX, XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, NAV_ESC, SFT_BSP, SYM_ENT, MO(_FUNC),XXXXXXX | ||
| 55 | ), | ||
| 56 | |||
| 57 | [_SYMBOL] = LAYOUT( | ||
| 58 | XXXXXXX, DE_AT, DE_DEG, DE_LBRC, DE_RBRC, DE_HASH, DE_EXLM, DE_LABK, DE_RABK, DE_EQL, DE_AMPR, XXXXXXX, | ||
| 59 | XXXXXXX, DE_BSLS, DE_EURO, DE_LCBR, DE_RCBR, DE_ASTR, DE_QUES, DE_LPRN, DE_RPRN, DE_PLUS, KC_ENT, XXXXXXX, | ||
| 60 | XXXXXXX, XXXXXXX, DE_DLR, DE_PIPE, DE_TILD, DE_GRV, DE_CIRC, DE_PERC, DE_DQUO, DE_QUOT, XXXXXXX, XXXXXXX, | ||
| 61 | XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX | ||
| 62 | ), | ||
| 63 | |||
| 64 | [_NAVNUM] = LAYOUT( | ||
| 65 | XXXXXXX, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, DE_SS, KC_7, KC_8, KC_9, DE_ADIA, XXXXXXX, | ||
| 66 | XXXXXXX, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, KC_DOT, KC_4, KC_5, KC_6, DE_ODIA, XXXXXXX, | ||
| 67 | XXXXXXX, XXXXXXX, XXXXXXX, KC_INS, XXXXXXX, XXXXXXX, KC_0, KC_1, KC_2, KC_3, DE_UDIA, XXXXXXX, | ||
| 68 | XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX | ||
| 69 | ), | ||
| 70 | |||
| 71 | [_FUNC] = LAYOUT( | ||
| 72 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DF(_QWERTZ),DF(_ADNW), XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, | ||
| 73 | XXXXXXX, DM_REC1, DM_RSTP, DM_PLY1, XXXXXXX, QK_RBT, XXXXXXX, KC_F4, KC_F5, KC_F6, KC_F11, XXXXXXX, | ||
| 74 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F12, XXXXXXX, | ||
| 75 | XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX | ||
| 76 | ), | ||
| 77 | |||
| 78 | [_MOUSE] = LAYOUT( | ||
| 79 | XXXXXXX, KC_WH_L, XXXXXXX, KC_MS_U, XXXXXXX, XXXXXXX, KC_ACL0, XXXXXXX, KC_BTN3, XXXXXXX, KC_BTN5, XXXXXXX, | ||
| 80 | XXXXXXX, KC_WH_R, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_U, KC_ACL1, XXXXXXX, KC_BTN1, KC_BTN2, KC_BTN4, XXXXXXX, | ||
| 81 | XXXXXXX, MOUSE_X, KC_BTN1, KC_BTN3, KC_BTN2, KC_WH_D, KC_ACL2, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 82 | XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX | ||
| 83 | ), | ||
| 84 | |||
| 85 | }; | ||
| 86 | |||
| 87 | // clang-format on | ||
diff --git a/keyboards/frobiac/redtilt/readme.md b/keyboards/frobiac/redtilt/readme.md new file mode 100644 index 0000000000..3b87b1a01e --- /dev/null +++ b/keyboards/frobiac/redtilt/readme.md | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | # frobiac/redtilt | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Custom 3D-printed and handwired 46-key split-keyboard with trackpoint developed in 2013. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [frobiac](https://github.com/frobiac) | ||
| 8 | * Hardware Supported: Teensy-2.0, IBM Trackpoint | ||
| 9 | * Development History: [deskthority.net](https://deskthority.net/viewtopic.php?p=116641#p116641) | ||
| 10 | * Layout [Full KLE](http://www.keyboard-layout-editor.com/#/gists/8f30f08f84f61749c0e549f7eca97262) | ||
| 11 | * [Original Firmware](https://github.com/frobiac/adnw) | ||
| 12 | |||
| 13 | Make example for this keyboard (after setting up your build environment): | ||
| 14 | |||
| 15 | make frobiac/redtilt | ||
| 16 | |||
| 17 | Flashing example for this keyboard: | ||
| 18 | |||
| 19 | make frobiac/redtilt:flash | ||
| 20 | |||
| 21 | 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). | ||
| 22 | |||
| 23 | ## Bootloader | ||
| 24 | |||
| 25 | Enter the bootloader in 2 ways: | ||
| 26 | |||
| 27 | * **Physical reset button**: Briefly press the button on the Teensy by inserting a small pin in the small hole in the switch plate | ||
| 28 | * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available | ||
| 29 | |||
| 30 | |||
| 31 | |||
diff --git a/keyboards/frobiac/redtilt/rules.mk b/keyboards/frobiac/redtilt/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/frobiac/redtilt/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| # This file intentionally left blank | |||
