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.
[Keyboard] handwired dactyl with 2 pro micros added (qmk#5113)
* handwired dactyl with 2 pro micros added * dactyl_promicro README updated * dactyl_promicro default layout fixed * requested changes * dactyl_promicro README updated * qmk toolbox link fixed * layout reflects phys. keys positions
- Loading branch information
Showing
10 changed files
with
441 additions
and
12 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
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,83 @@ | ||
/* | ||
Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
Copyright 2015 Jack Humbert | ||
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" | ||
#define PRODUCT Dactyl Ergo(6x6) | ||
|
||
/* key matrix size */ | ||
// Rows are doubled-up | ||
#define MATRIX_ROWS 12 | ||
#define MATRIX_COLS 6 | ||
|
||
// wiring of each half | ||
#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 } | ||
#define MATRIX_ROW_PINS { F6, F7, B1, B3, B2, B6 } | ||
|
||
/* USB Device descriptor parameter */ | ||
#define VENDOR_ID 0xFEED | ||
#define PRODUCT_ID 0x3060 | ||
#define DEVICE_VER 0x0001 | ||
//#define MANUFACTURER tshort | ||
// defined in subfolder | ||
#define DESCRIPTION A split keyboard | ||
|
||
/* mouse config */ | ||
#define MOUSEKEY_INTERVAL 20 | ||
#define MOUSEKEY_DELAY 0 | ||
#define MOUSEKEY_TIME_TO_MAX 60 | ||
#define MOUSEKEY_MAX_SPEED 7 | ||
#define MOUSEKEY_WHEEL_DELAY 0 | ||
|
||
/* Set 0 if debouncing isn't needed */ | ||
#define DEBOUNCING_DELAY 5 | ||
|
||
/* serial.c configuration for split keyboard */ | ||
#define SOFT_SERIAL_PIN D0 | ||
|
||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
#define LOCKING_SUPPORT_ENABLE | ||
/* Locking resynchronize hack */ | ||
#define LOCKING_RESYNC_ENABLE | ||
|
||
/* Enables This makes it easier for fast typists to use dual-function keys */ | ||
#define PERMISSIVE_HOLD | ||
|
||
/* ws2812 RGB LED */ | ||
#define RGB_DI_PIN D3 | ||
|
||
#define RGBLED_NUM 12 // Number of LEDs | ||
|
||
/* | ||
* 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 | ||
//#define NO_ACTION_MACRO | ||
//#define NO_ACTION_FUNCTION |
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,12 @@ | ||
#include "dactyl_promicro.h" | ||
|
||
#ifdef SSD1306OLED | ||
void led_set_kb(uint8_t usb_led) { | ||
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
led_set_user(usb_led); | ||
} | ||
#endif | ||
|
||
void matrix_init_kb(void) { | ||
matrix_init_user(); | ||
}; |
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,39 @@ | ||
#pragma once | ||
|
||
#include "quantum.h" | ||
|
||
|
||
#ifdef USE_I2C | ||
#include <stddef.h> | ||
#ifdef __AVR__ | ||
#include <avr/io.h> | ||
#include <avr/interrupt.h> | ||
#endif | ||
#endif | ||
|
||
|
||
#define LAYOUT_6x6(\ | ||
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | ||
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | ||
L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | ||
L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \ | ||
L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45, \ | ||
L55, L51, L52, R53, R54, R50, \ | ||
L53, R52, \ | ||
L54, R51 \ | ||
)\ | ||
{ \ | ||
{ L00, L01, L02, L03, L04, L05 }, \ | ||
{ L10, L11, L12, L13, L14, L15 }, \ | ||
{ L20, L21, L22, L23, L24, L25 }, \ | ||
{ L30, L31, L32, L33, L34, L35 }, \ | ||
{ L40, L41, L42, L43, L44, L45 }, \ | ||
{ KC_NO, L51, L52, L53, L54, L55 }, \ | ||
\ | ||
{ R00, R01, R02, R03, R04, R05 }, \ | ||
{ R10, R11, R12, R13, R14, R15 }, \ | ||
{ R20, R21, R22, R23, R24, R25 }, \ | ||
{ R30, R31, R32, R33, R34, R35 }, \ | ||
{ R40, R41, R42, R43, R44, R45 }, \ | ||
{ R50, R51, R52, R53, R54, KC_NO }, \ | ||
} |
25 changes: 25 additions & 0 deletions
25
keyboards/handwired/dactyl_promicro/keymaps/default/config.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,25 @@ | ||
/* | ||
Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
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 | ||
|
||
#define USE_SERIAL | ||
|
||
#define MASTER_RIGHT | ||
// #define MASTER_RIGHT | ||
//#define EE_HANDS | ||
// Rows are doubled-up |
47 changes: 47 additions & 0 deletions
47
keyboards/handwired/dactyl_promicro/keymaps/default/keymap.c
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,47 @@ | ||
|
||
/* A QWERTY 3 Layer layout for the Dactyl Manuform 6x6 Keyboard */ | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
extern keymap_config_t keymap_config; | ||
|
||
#define _QWERTY 0 | ||
#define _LOWER 1 | ||
#define _RAISE 2 | ||
|
||
#define RAISE MO(_RAISE) | ||
#define LOWER MO(_LOWER) | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
|
||
|
||
[_QWERTY] = LAYOUT_6x6( | ||
KC_ESC , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 ,KC_BSPC, | ||
KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P ,KC_MINS, | ||
KC_LSFT , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L ,KC_SCLN,KC_QUOT, | ||
KC_LCTL , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M ,KC_COMM , KC_DOT ,KC_SLSH,KC_BSLASH, | ||
KC_PLUS , KC_LEFT,KC_UP ,KC_DOWN, KC_RGHT, RAISE , LOWER , KC_HOME, KC_PGUP, KC_PGDN,KC_END ,KC_EQL, | ||
_______,KC_LALT,KC_PSCR, KC_LGUI, KC_SPC, KC_ENT,KC_GRAVE, KC_AT ,KC_PSCR ,_______ | ||
|
||
), | ||
|
||
|
||
[_LOWER] = LAYOUT_6x6( | ||
KC_TILD,KC_EXLM, KC_AT ,KC_HASH,KC_DLR ,KC_PERC, KC_CIRC,KC_AMPR,KC_ASTR,KC_LPRN,KC_RPRN,KC_DEL, | ||
_______,_______,_______,_______,_______,KC_LBRC, KC_RBRC, KC_P7 , KC_P8 , KC_P9 ,_______,KC_PLUS, | ||
_______,KC_HOME,KC_PGUP,KC_PGDN,KC_END ,KC_LPRN, KC_RPRN, KC_P4 , KC_P5 , KC_P6 ,KC_MINS,KC_PIPE, | ||
_______,_______,_______,_______,_______,KC_PSCR, KC_P0 , KC_P1 , KC_P2 , KC_P3 ,KC_EQL ,KC_UNDS, | ||
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______, _______,_______,_______,_______,_______ | ||
), | ||
|
||
[_RAISE] = LAYOUT_6x6( | ||
KC_F12 , KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 ,KC_F10 ,KC_F11 , | ||
_______,_______,_______,_______,_______,KC_LBRC, KC_RBRC,_______,KC_NLCK,KC_INS ,KC_SLCK,KC_MUTE, | ||
_______,KC_LEFT,KC_UP ,KC_DOWN,KC_RGHT,KC_LPRN, KC_RPRN,KC_MPRV,KC_MPLY,KC_MNXT,_______,KC_VOLU, | ||
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,KC_VOLD, | ||
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______, _______,_______,_______,_______,_______ | ||
), | ||
|
||
}; |
25 changes: 25 additions & 0 deletions
25
keyboards/handwired/dactyl_promicro/keymaps/impstyle/config.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,25 @@ | ||
/* | ||
Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
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 | ||
|
||
#define USE_SERIAL | ||
|
||
#define MASTER_RIGHT | ||
// #define MASTER_RIGHT | ||
//#define EE_HANDS | ||
// Rows are doubled-up |
47 changes: 47 additions & 0 deletions
47
keyboards/handwired/dactyl_promicro/keymaps/impstyle/keymap.c
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,47 @@ | ||
|
||
/* A QWERTY 3 Layer layout for the Dactyl Manuform 6x6 Keyboard */ | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
extern keymap_config_t keymap_config; | ||
|
||
#define _QWERTY 0 | ||
#define _LOWER 1 | ||
#define _RAISE 2 | ||
|
||
#define RAISE MO(_RAISE) | ||
#define LOWER MO(_LOWER) | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
|
||
|
||
[_QWERTY] = LAYOUT_6x6( | ||
KC_ESC , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 ,KC_BSPC, | ||
KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P ,KC_MINS, | ||
KC_LSFT , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L ,KC_SCLN,KC_QUOT, | ||
KC_LCTL , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M ,KC_COMM , KC_DOT ,KC_SLSH,KC_BSLASH, | ||
KC_PLUS , KC_LEFT,KC_UP ,KC_DOWN, KC_RGHT, RAISE , LOWER , KC_HOME, KC_PGUP, KC_PGDN,KC_END ,KC_EQL, | ||
_______,KC_LALT,KC_PSCR, KC_LGUI, KC_SPC, KC_ENT,KC_GRAVE, KC_AT ,KC_PSCR ,_______ | ||
|
||
), | ||
|
||
|
||
[_LOWER] = LAYOUT_6x6( | ||
KC_TILD,KC_EXLM, KC_AT ,KC_HASH,KC_DLR ,KC_PERC, KC_CIRC,KC_AMPR,KC_ASTR,KC_LPRN,KC_RPRN,KC_DEL, | ||
_______,_______,_______,_______,_______,KC_LBRC, KC_RBRC, KC_P7 , KC_P8 , KC_P9 ,_______,KC_PLUS, | ||
_______,KC_HOME,KC_PGUP,KC_PGDN,KC_END ,KC_LPRN, KC_RPRN, KC_P4 , KC_P5 , KC_P6 ,KC_MINS,KC_PIPE, | ||
_______,_______,_______,_______,_______,KC_PSCR, KC_P0 , KC_P1 , KC_P2 , KC_P3 ,KC_EQL ,KC_UNDS, | ||
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______, _______,_______,_______,_______,_______ | ||
), | ||
|
||
[_RAISE] = LAYOUT_6x6( | ||
KC_F12 , KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 ,KC_F10 ,KC_F11 , | ||
_______,_______,_______,_______,_______,KC_LBRC, KC_RBRC,_______,KC_NLCK,KC_INS ,KC_SLCK,KC_MUTE, | ||
_______,KC_LEFT,KC_UP ,KC_DOWN,KC_RGHT,KC_LPRN, KC_RPRN,KC_MPRV,KC_MPLY,KC_MNXT,_______,KC_VOLU, | ||
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,KC_VOLD, | ||
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______, _______,_______,_______,_______,_______ | ||
), | ||
|
||
}; |
Oops, something went wrong.