aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/handwired/chiron/chiron.c16
-rw-r--r--keyboards/handwired/chiron/chiron.h42
-rw-r--r--keyboards/handwired/chiron/config.h57
-rw-r--r--keyboards/handwired/chiron/info.json0
-rw-r--r--keyboards/handwired/chiron/keymaps/default/config.h52
-rw-r--r--keyboards/handwired/chiron/keymaps/default/keymap.c64
-rw-r--r--keyboards/handwired/chiron/keymaps/default/readme.md1
-rw-r--r--keyboards/handwired/chiron/keymaps/default/rules.mk0
-rw-r--r--keyboards/handwired/chiron/readme.md16
-rw-r--r--keyboards/handwired/chiron/rules.mk38
10 files changed, 286 insertions, 0 deletions
diff --git a/keyboards/handwired/chiron/chiron.c b/keyboards/handwired/chiron/chiron.c
new file mode 100644
index 000000000..997cda6a4
--- /dev/null
+++ b/keyboards/handwired/chiron/chiron.c
@@ -0,0 +1,16 @@
1/* Copyright 2019 Mike Hix
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "chiron.h"
diff --git a/keyboards/handwired/chiron/chiron.h b/keyboards/handwired/chiron/chiron.h
new file mode 100644
index 000000000..9d1ab385a
--- /dev/null
+++ b/keyboards/handwired/chiron/chiron.h
@@ -0,0 +1,42 @@
1/* Copyright 2019 Mike Hix
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT( \
21 L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \
22 L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \
23 L20, L21, L22, L23, L24, L25, L26, R20, R21, R22, R23, R24, R25, R26, \
24 L30, L31, L32, L33, L34, L35, L36, R30, R31, R32, R33, R34, R35, R36, \
25 L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45 \
26 ) \
27 { \
28 /* Left Half */ \
29 { L06, L05, L04, L03, L02, L01, L00 }, \
30 { L16, L15, L14, L13, L12, L11, L10 }, \
31 { L26, L25, L24, L23, L22, L21, L20 }, \
32 { L36, L35, L34, L33, L32, L31, L30 }, \
33 { L45, L44, L43, KC_NO, L42, L41, L40 }, \
34 /* Right Half */ \
35 { R06, R05, R04, R03, R02, R01, R00 }, \
36 { R16, R15, R14, R13, R12, R11, R10 }, \
37 { R26, R25, R24, R23, R22, R21, R20 }, \
38 { R36, R35, R34, R33, R32, R31, R30 }, \
39 { R45, R44, R43, KC_NO, R42, R41, R40 } \
40 }
41
42#define LAYOUT_chiron LAYOUT
diff --git a/keyboards/handwired/chiron/config.h b/keyboards/handwired/chiron/config.h
new file mode 100644
index 000000000..fcc5ae49a
--- /dev/null
+++ b/keyboards/handwired/chiron/config.h
@@ -0,0 +1,57 @@
1/*
2Copyright 2019 Mike Hix
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22#define VENDOR_ID 0xFEED
23#define PRODUCT_ID 0x0000
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Mike Hix
26#define PRODUCT chiron
27#define DESCRIPTION A custom keyboard
28
29#define MATRIX_ROWS 10
30#define MATRIX_COLS 7
31
32// Pro Micro Pins 4, 6, 7, 8, 9
33#define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 }
34// Pro Micro Pins A3, A2, A1, A0, 15, 14, 16
35#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 }
36
37#define UNUSED_PINS
38
39// Pro Micro Pins RX1
40#define SPLIT_HAND_PIN D2
41
42// Pro Micro Pins RX1
43#define SOFT_SERIAL_PIN D0
44
45#define DIODE_DIRECTION COL2ROW
46
47#define DEBOUNCE 5
48
49#define LOCKING_SUPPORT_ENABLE
50#define LOCKING_RESYNC_ENABLE
51
52#define RGB_DI_PIN D3
53#define RGBLED_NUM 4
54
55#define BACKLIGHT_PIN B6
56#define BACKLIGHT_LEVELS 7
57
diff --git a/keyboards/handwired/chiron/info.json b/keyboards/handwired/chiron/info.json
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/handwired/chiron/info.json
diff --git a/keyboards/handwired/chiron/keymaps/default/config.h b/keyboards/handwired/chiron/keymaps/default/config.h
new file mode 100644
index 000000000..08134a720
--- /dev/null
+++ b/keyboards/handwired/chiron/keymaps/default/config.h
@@ -0,0 +1,52 @@
1/* Copyright 2019 Mike Hix
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#define USE_SERIAL
20#define MASTER_RIGHT
21//#define MASTER_LEFT
22
23#define IGNORE_MOD_TAP_INTERRUPT
24#define PERMISSIVE_HOLD
25
26#define TAPPING_TERM 200
27
28#define MOUSEKEY_DELAY 20
29#define MOUSEKEY_INTERVAL 20
30#define MOUSEKEY_MAX_SPEED 10
31#define MOUSEKEY_TIME_TO_MAX 30
32#define MOUSEKEY_WHEEL_MAX_SPEED 8
33#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
34
35#undef RGBLED_NUM
36#define RGBLED_NUM 2
37#define RGBLED_SPLIT {1, 1}
38
39// Don't turn off lights when the host goes to sleep.
40#undef RGBLIGHT_SLEEP
41
42#define RGBLIGHT_HUE_STEP 8
43#define RGBLIGHT_SAT_STEP 8
44#define RGBLIGHT_VAL_STEP 8
45
46// Selectively enable animations to save on code size.
47#undef RGBLIGHT_ANIMATIONS
48#define RGBLIGHT_EFFECT_BREATHING
49#define RGBLIGHT_EFFECT_BREATHING
50#define RGBLIGHT_EFFECT_RAINBOW_MOOD
51#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
52
diff --git a/keyboards/handwired/chiron/keymaps/default/keymap.c b/keyboards/handwired/chiron/keymaps/default/keymap.c
new file mode 100644
index 000000000..53c8edeb0
--- /dev/null
+++ b/keyboards/handwired/chiron/keymaps/default/keymap.c
@@ -0,0 +1,64 @@
1/* Copyright 2019 Mike Hix
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 [0] = LAYOUT(
20 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_HOME, KC_END, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL,
21 KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_BSPC, KC_DEL, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSLS,
22 KC_ESC, KC_A, KC_O, LT(1,KC_E), LT(2,KC_U), KC_I, LCTL_T(KC_ENT), RCTL_T(KC_ENT), KC_D, LT(3,KC_H), LT(4,KC_T), KC_N, KC_S, KC_MINS,
23 KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_PGUP, KC_PGDN, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT,
24 KC_CAPS, KC_INS, KC_LCTL, /*, */KC_LALT, LGUI_T(KC_SPC), KC_HYPR, KC_HYPR, RGUI_T(KC_SPC), KC_RALT, /*, */KC_LBRC, KC_RBRC, KC_SLSH
25 ),
26 [1] = LAYOUT(
27 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_WH_U, XXXXXXX, XXXXXXX, RESET,
28 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_VOLU, KC_WH_L, KC_MS_U, KC_WH_R, XXXXXXX, EEP_RST,
29 XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, _______, _______, KC_MUTE, KC_MS_L, KC_MS_D, KC_MS_R, KC_BTN1, KC_BTN2,
30 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, KC_VOLD, XXXXXXX, KC_WH_D, XXXXXXX, KC_BTN3, KC_BTN4,
31 XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX
32 ),
33 [2] = LAYOUT(
34 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGUP, XXXXXXX, XXXXXXX, XXXXXXX,
35 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_INS, KC_PSCR, KC_UP, KC_PAUS, XXXXXXX, XXXXXXX,
36 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, _______, _______, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, XXXXXXX,
37 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, KC_PGDN, XXXXXXX, XXXXXXX, _______,
38 XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX
39 ),
40 [3] = LAYOUT(
41 XXXXXXX, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
42 XXXXXXX, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
43 XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
44 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
45 XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX
46 ),
47 [4] = LAYOUT(
48 RESET, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
49 EEP_RST, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
50 XXXXXXX, RGB_HUI, RGB_SAI, RGB_VAI, RGB_MOD, RGB_TOG, _______, _______, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX,
51 _______, RGB_HUD, RGB_SAD, RGB_VAD, RGB_RMOD, XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
52 XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX
53 )
54 /*
55 [] = LAYOUT(
56 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
57 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
58 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
59 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
60 XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX
61 )
62 */
63};
64
diff --git a/keyboards/handwired/chiron/keymaps/default/readme.md b/keyboards/handwired/chiron/keymaps/default/readme.md
new file mode 100644
index 000000000..c95a502f2
--- /dev/null
+++ b/keyboards/handwired/chiron/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for chiron
diff --git a/keyboards/handwired/chiron/keymaps/default/rules.mk b/keyboards/handwired/chiron/keymaps/default/rules.mk
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/handwired/chiron/keymaps/default/rules.mk
diff --git a/keyboards/handwired/chiron/readme.md b/keyboards/handwired/chiron/readme.md
new file mode 100644
index 000000000..1e4bcf8b6
--- /dev/null
+++ b/keyboards/handwired/chiron/readme.md
@@ -0,0 +1,16 @@
1# Chiron Keyboard
2
3![chiron](https://i.imgur.com/3XZACfs.jpg)
4
5This is a custom keyboard meant to be easily and quickly 3D printable on
6most FFF/FDM printers. It's inspired by the [Viterbi](https://keeb.io/products/viterbi-keyboard-pcbs-5x7-70-split-ortholinear), [Iris](https://keeb.io/products/iris-keyboard-split-ergonomic-keyboard), and
7[Dactyl Manuform](https://github.com/adereth/dactyl-keyboard) keyboards.
8
9Keyboard Maintainer: [Mike Hix](https://github.com/musl/)
10Case: [https://github.com/musl/chiron-keyboard](https://github.com/musl/chiron-keyboard)
11
12Make example for this keyboard (after setting up your build environment):
13
14 make handwired/chiron:default
15
16See 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).
diff --git a/keyboards/handwired/chiron/rules.mk b/keyboards/handwired/chiron/rules.mk
new file mode 100644
index 000000000..a5bbb30e1
--- /dev/null
+++ b/keyboards/handwired/chiron/rules.mk
@@ -0,0 +1,38 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu
13SPLIT_KEYBOARD = yes
14
15# Build Options
16# change yes to no to disable
17#
18AUDIO_ENABLE = no
19AUTOLOG_ENABLE = no
20BACKLIGHT_ENABLE = no
21BLUETOOTH_ENABLE = no
22BOOTMAGIC_ENABLE = no
23COMMAND_ENABLE = no
24CONSOLE_ENABLE = no
25DEBUG_ENABLE = no
26EXTRAKEY_ENABLE = no
27FAUXCLICKY_ENABLE = no
28HD44780_ENABLE = no
29LEADER_ENABLE = no
30MIDI_ENABLE = no
31MOUSEKEY_ENABLE = yes
32NKRO_ENABLE = no
33RGBLIGHT_ENABLE = yes
34SLEEP_LED_ENABLE = yes
35TAP_DANCE_ENABLE = no
36UCIS_ENABLE = no
37UNICODEMAP_ENABLE = no
38UNICODE_ENABLE = no