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