forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,154 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright 2023 omikronik (@omikronik) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
/* | ||
* Feature disable options | ||
* These options are also useful to firmware size reduction. | ||
*/ | ||
|
||
/* disable debug print */ | ||
//#define NO_DEBUG | ||
|
||
/* disable print */ | ||
//#define NO_PRINT | ||
|
||
/* disable action features */ | ||
//#define NO_ACTION_LAYER | ||
//#define NO_ACTION_TAPPING | ||
//#define NO_ACTION_ONESHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"manufacturer": "omikronik", | ||
"keyboard_name": "bozkurt", | ||
"maintainer": "omikronik", | ||
"bootloader": "rp2040", | ||
"diode_direction": "COL2ROW", | ||
"features": { | ||
"bootmagic": true, | ||
"command": false, | ||
"console": false, | ||
"extrakey": true, | ||
"mousekey": true, | ||
"nkro": true | ||
}, | ||
"matrix_pins": { | ||
"cols": ["C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2"], | ||
"rows": ["D1", "D1", "D1", "D1"] | ||
}, | ||
"processor": "RP2040", | ||
"url": "", | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"pid": "0x0000", | ||
"vid": "0xFEED" | ||
}, | ||
"layouts": { | ||
"LAYOUT_split_3x5_3": { | ||
"layout": [ | ||
{ "matrix": [0, 0], "x": 0, "y": 0.25 }, | ||
{ "matrix": [0, 1], "x": 1, "y": 0.125 }, | ||
{ "matrix": [0, 2], "x": 2, "y": 0 }, | ||
{ "matrix": [0, 3], "x": 3, "y": 0.125 }, | ||
{ "matrix": [0, 4], "x": 4, "y": 0.25 }, | ||
{ "matrix": [0, 7], "x": 7, "y": 0.25 }, | ||
{ "matrix": [0, 8], "x": 8, "y": 0.125 }, | ||
{ "matrix": [0, 9], "x": 9, "y": 0 }, | ||
{ "matrix": [0, 10], "x": 10, "y": 0.125 }, | ||
{ "matrix": [0, 11], "x": 11, "y": 0.25 }, | ||
{ "matrix": [1, 0], "x": 0, "y": 1.25 }, | ||
{ "matrix": [1, 1], "x": 1, "y": 1.125 }, | ||
{ "matrix": [1, 2], "x": 2, "y": 1 }, | ||
{ "matrix": [1, 3], "x": 3, "y": 1.125 }, | ||
{ "matrix": [1, 4], "x": 4, "y": 1.25 }, | ||
{ "matrix": [1, 7], "x": 7, "y": 1.25 }, | ||
{ "matrix": [1, 8], "x": 8, "y": 1.125 }, | ||
{ "matrix": [1, 9], "x": 9, "y": 1 }, | ||
{ "matrix": [1, 10], "x": 10, "y": 1.125 }, | ||
{ "matrix": [1, 11], "x": 11, "y": 1.25 }, | ||
{ "matrix": [2, 0], "x": 0, "y": 2.25 }, | ||
{ "matrix": [2, 1], "x": 1, "y": 2.125 }, | ||
{ "matrix": [2, 2], "x": 2, "y": 2 }, | ||
{ "matrix": [2, 3], "x": 3, "y": 2.125 }, | ||
{ "matrix": [2, 4], "x": 4, "y": 2.25 }, | ||
{ "matrix": [2, 7], "x": 7, "y": 2.25 }, | ||
{ "matrix": [2, 8], "x": 8, "y": 2.125 }, | ||
{ "matrix": [2, 9], "x": 9, "y": 2 }, | ||
{ "matrix": [2, 10], "x": 10, "y": 2.125 }, | ||
{ "matrix": [2, 11], "x": 11, "y": 2.25 }, | ||
{ "matrix": [3, 2], "x": 2.5, "y": 3.25 }, | ||
{ "matrix": [3, 3], "x": 3.5, "y": 3.5 }, | ||
{ "matrix": [3, 4], "x": 4.5, "y": 3.75 }, | ||
{ "matrix": [3, 6], "x": 6.5, "y": 3.75 }, | ||
{ "matrix": [3, 7], "x": 7.5, "y": 3.5 }, | ||
{ "matrix": [3, 8], "x": 8.5, "y": 3.25 } | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#include QMK_KEYBOARD_H | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
/* | ||
* ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐ | ||
* │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │ | ||
* ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤ | ||
* │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │ | ||
* ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤ | ||
* │ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │ | ||
* └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘ | ||
* ┌───┐ ┌───┐ | ||
* │GUI├───┐ ┌───┤Alt│ | ||
* └───┤Bsp├───┐ ┌───┤Ent├───┘ | ||
* └───┤ │ │ ├───┘ | ||
* └───┘ └───┘ | ||
*/ | ||
[0] = LAYOUT_split_3x5_3( | ||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, 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, | ||
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
KC_LGUI, KC_BSPC, KC_SPC, KC_SPC, KC_ENT, KC_RALT | ||
) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# bozkurt | ||
|
||
![bozkurt](imgur.com image replace me!) | ||
|
||
*A short description of the keyboard/project* | ||
|
||
* Keyboard Maintainer: [omikronik](https://github.com/omikronik) | ||
* Hardware Supported: *The PCBs, controllers supported* | ||
* Hardware Availability: *Links to where you can find this hardware* | ||
|
||
Make example for this keyboard (after setting up your build environment): | ||
|
||
make bozkurt:default | ||
|
||
Flashing example for this keyboard: | ||
|
||
make bozkurt:default:flash | ||
|
||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
|
||
## Bootloader | ||
|
||
Enter the bootloader in 3 ways: | ||
|
||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This file intentionally left blank |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
Copyright 2022 GEIST <@geigeigeist> | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include "config_common.h" | ||
|
||
/* USB Device descriptor parameter */ | ||
/*#define VENDOR_ID 0x3A3C | ||
#define PRODUCT_ID 0x0002 | ||
#define DEVICE_VER 0x0001 | ||
#define MANUFACTURER GEIST | ||
#define PRODUCT TOTEM | ||
*/ | ||
|
||
/* key matrix size */ | ||
// Rows are doubled-up | ||
#define MATRIX_ROWS 8 | ||
#define MATRIX_COLS 5 | ||
|
||
|
||
// wiring of each half | ||
#define MATRIX_ROW_PINS { GP26, GP27, GP28, GP29 } | ||
#define MATRIX_COL_PINS { GP6, GP7, GP3, GP4, GP2 } | ||
#define DIODE_DIRECTION COL2ROW | ||
|
||
|
||
//#define NO_ACTION_MACRO | ||
//#define NO_ACTION_FUNCTION | ||
|
||
#define DEBOUNCE 5 | ||
|
||
|
||
/* Serial settings */ | ||
#define USE_SERIAL | ||
/* serial.c configuration for split keyboard */ | ||
#define SOFT_SERIAL_PIN GP0 | ||
//#define SPLIT_LAYER_STATE_ENABLE | ||
//#define SPLIT_USB_DETECT | ||
#define SERIAL_USE_MULTI_TRANSACTION | ||
/* communication between sides */ | ||
#define SERIAL_PIO_USE_PIO1 | ||
|
||
|
||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET | ||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#pragma once | ||
|
||
#define HAL_USE_I2C TRUE | ||
#define HAL_USE_PWM TRUE | ||
#define HAL_USE_PAL TRUE | ||
|
||
#include_next <halconf.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"keyboard_name": "TOTEM", | ||
"url": "https://github.com/GEIGEIGEIST/TOTEM", | ||
"manufacturer": "GEIST", | ||
"usb": { | ||
"vid": "0x3A3C", | ||
"pid": "0x0002", | ||
"device_version": "0.3.0" | ||
}, | ||
"layouts": { | ||
"LAYOUT_totem": { | ||
"layout": [ | ||
{"x":3, "y":0.25}, {"x":13, "y":0.25}, {"x":4, "y":0.75}, {"x":12, "y":0.75}, {"x":5, "y":1}, {"x":11, "y":1}, {"x":3, "y":1.25}, {"x":13, "y":1.25}, {"x":4, "y":1.75}, {"x":12, "y":1.75}, {"x":5, "y":2}, {"x":11, "y":2}, {"x":3, "y":2.25}, {"x":13, "y":2.25}, {"x":4, "y":2.75}, {"x":12, "y":2.75}, {"x":5, "y":3}, {"x":11, "y":3}, {"x":-0.4, "y":-0.5999999999999996}, {"x":-0.6, "y":-4.199999999999999}, {"x":-0.5, "y":-6.199999999999999}, {"x":-0.5, "y":-5.199999999999999}, {"x":-0.5, "y":-4.199999999999999}, {"x":-0.25, "y":-5.55}, {"x":-0.25, "y":-4.55}, {"x":0.75, "y":-3.9499999999999993}, {"x":-0.25, "y":-3.5499999999999994}, {"x":-0.4, "y":-7.1499999999999995}, {"x":-0.4, "y":-7.1499999999999995}, {"x":-0.6, "y":-10.749999999999998}, {"x":-0.6, "y":-10.749999999999998}, {"x":-1.0, "y":-12.1}, {"x":-1.0, "y":-11.1}, {"x":-2, "y":-10.499999999999998}, {"x":-1.0, "y":-10.1}, {"x":-0.75, "y":-12.1}, {"x":-0.75, "y":-11.1}, {"x":-0.75, "y":-10.1} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
|
||
/* The way how "handedness" is decided (which half is which), | ||
see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness | ||
for more options. | ||
*/ | ||
|
||
#define MASTER_LEFT | ||
// #define MASTER_RIGHT | ||
|
||
|
||
//#define TAPPING_TERM 170 | ||
#define TAPPING_TERM 170 | ||
|
||
// Prevent normal rollover on alphas from accidentally triggering mods. | ||
#define IGNORE_MOD_TAP_INTERRUPT | ||
|
||
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat. | ||
#define TAPPING_FORCE_HOLD | ||
|
||
// Auto Shift | ||
#define NO_AUTO_SHIFT_ALPHA | ||
#define AUTO_SHIFT_TIMEOUT TAPPING_TERM | ||
#define AUTO_SHIFT_NO_SETUP | ||
|
||
#undef LOCKING_SUPPORT_ENABLE | ||
#undef LOCKING_RESYNC_ENABLE | ||
#define NO_ACTION_ONESHOT | ||
|
Oops, something went wrong.