summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-07-16 14:06:35 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-07-16 14:06:35 -0400
commit7e43df8edf8fe7cd4f4236a56597c32030bd8e55 (patch)
treef277ba4044e1d3512f56aa62de87f12eac4358f9
parentfa0b4511dddffa56812a86ab93f90d5221f43585 (diff)
add orbekk_dactyl example
-rw-r--r--keyboards/orbekk_dactyl/config.h20
-rw-r--r--keyboards/orbekk_dactyl/info.json50
-rw-r--r--keyboards/orbekk_dactyl/keymaps/default/keymap.c13
-rw-r--r--keyboards/orbekk_dactyl/readme.md29
-rw-r--r--keyboards/orbekk_dactyl/rules.mk1
-rw-r--r--shell.nix4
6 files changed, 115 insertions, 2 deletions
diff --git a/keyboards/orbekk_dactyl/config.h b/keyboards/orbekk_dactyl/config.h
new file mode 100644
index 0000000000..2875b78c42
--- /dev/null
+++ b/keyboards/orbekk_dactyl/config.h
@@ -0,0 +1,20 @@
+// Copyright 2023 KJ Orbekk (@orbekk)
+// 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
diff --git a/keyboards/orbekk_dactyl/info.json b/keyboards/orbekk_dactyl/info.json
new file mode 100644
index 0000000000..4102984aaf
--- /dev/null
+++ b/keyboards/orbekk_dactyl/info.json
@@ -0,0 +1,50 @@
+{
+ "manufacturer": "KJ Orbekk",
+ "keyboard_name": "orbekk_dactyl",
+ "maintainer": "orbekk",
+ "bootloader": "rp2040",
+ "diode_direction": "COL2ROW",
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
+ "matrix_pins": {
+ "cols": ["GP5" "GP6" "GP7" "GP8" "GP9"],
+ "rows": ["GP21" "GP23" "GP20" "GP22"]
+ },
+ "processor": "RP2040",
+ "url": "",
+ "usb": {
+ "device_version": "1.0.0",
+ "pid": "0x0000",
+ "vid": "0xFEED"
+ },
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [3, 1], "x": 0, "y": 3},
+ {"matrix": [3, 3], "x": 1, "y": 3},
+ {"matrix": [3, 4], "x": 2, "y": 3}
+ ]
+ }
+ }
+}
diff --git a/keyboards/orbekk_dactyl/keymaps/default/keymap.c b/keyboards/orbekk_dactyl/keymaps/default/keymap.c
new file mode 100644
index 0000000000..435cbcc9ef
--- /dev/null
+++ b/keyboards/orbekk_dactyl/keymaps/default/keymap.c
@@ -0,0 +1,13 @@
+// Copyright 2023 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_Q, KC_W, KC_E, KC_R, KC_T,
+ KC_A, KC_S, KC_D, KC_F, KC_G,
+ KC_Z, KC_X, KC_C, KC_V, KC_B,
+ KC_SPC, KC_LSFT, KC_ENT
+ )
+};
diff --git a/keyboards/orbekk_dactyl/readme.md b/keyboards/orbekk_dactyl/readme.md
new file mode 100644
index 0000000000..9a72c9bc5b
--- /dev/null
+++ b/keyboards/orbekk_dactyl/readme.md
@@ -0,0 +1,29 @@
+# orbekk_dactyl
+
+https://docs.qmk.fm/#/porting_your_keyboard_to_qmk
+
+![orbekk_dactyl](imgur.com image replace me!)
+
+*A short description of the keyboard/project*
+
+* Keyboard Maintainer: [KJ Orbekk](https://github.com/orbekk)
+* 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 orbekk_dactyl:default
+
+Flashing example for this keyboard:
+
+ make orbekk_dactyl: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
diff --git a/keyboards/orbekk_dactyl/rules.mk b/keyboards/orbekk_dactyl/rules.mk
new file mode 100644
index 0000000000..6e7633bfe0
--- /dev/null
+++ b/keyboards/orbekk_dactyl/rules.mk
@@ -0,0 +1 @@
+# This file intentionally left blank
diff --git a/shell.nix b/shell.nix
index 63e5af0525..29854304d1 100644
--- a/shell.nix
+++ b/shell.nix
@@ -25,9 +25,9 @@ in
# However, if you want to override Niv's inputs, this will let you do that.
{ pkgs ? import sources.nixpkgs { overlays = [ pythonOverlay ]; }
, poetry2nix ? pkgs.callPackage (import sources.poetry2nix) { }
-, avr ? true
+, avr ? false
, arm ? true
-, teensy ? true }:
+, teensy ? false}:
with pkgs;
let
avrlibc = pkgsCross.avr.libcCross;