Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
fa1ec32e39
95
keyboards/handwired/dtisaac01/config.h
Normal file
95
keyboards/handwired/dtisaac01/config.h
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2021 DTIsaac
|
||||||
|
|
||||||
|
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 0x4454
|
||||||
|
#define PRODUCT_ID 0x4973
|
||||||
|
#define DEVICE_VER 0x0001
|
||||||
|
#define MANUFACTURER DTIsaac
|
||||||
|
#define PRODUCT dtisaac01
|
||||||
|
|
||||||
|
/* key matrix size */
|
||||||
|
#define MATRIX_ROWS 12
|
||||||
|
#define MATRIX_COLS 9
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Keyboard Matrix Assignments
|
||||||
|
*
|
||||||
|
* Change this to how you wired your keyboard
|
||||||
|
* COLS: AVR pins used for columns, left to right
|
||||||
|
* ROWS: AVR pins used for rows, top to bottom
|
||||||
|
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||||
|
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, B4, D2, B2, B1, B3, D4, D6 }
|
||||||
|
#define MATRIX_COL_PINS { C7, C6, D0, B5, F0, D7, B0, B7, D1 }
|
||||||
|
#define UNUSED_PINS
|
||||||
|
|
||||||
|
/* COL2ROW, ROW2COL */
|
||||||
|
#define DIODE_DIRECTION ROW2COL
|
||||||
|
|
||||||
|
#define LED_CAPS_LOCK_PIN D3
|
||||||
|
#define LED_SCROLL_LOCK_PIN D5
|
||||||
|
#define LED_PIN_ON_STATE 0
|
||||||
|
|
||||||
|
|
||||||
|
#define BACKLIGHT_PIN B6
|
||||||
|
#define BACKLIGHT_LEVELS 3
|
||||||
|
#define BACKLIGHT_BREATHING
|
||||||
|
|
||||||
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
|
#define DEBOUNCE 5
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Force NKRO
|
||||||
|
*
|
||||||
|
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
|
||||||
|
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
|
||||||
|
* makefile for this to work.)
|
||||||
|
*
|
||||||
|
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
|
||||||
|
* until the next keyboard reset.
|
||||||
|
*
|
||||||
|
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
|
||||||
|
* fully operational during normal computer usage.
|
||||||
|
*
|
||||||
|
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
|
||||||
|
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
|
||||||
|
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
|
||||||
|
* power-up.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
//#define FORCE_NKRO
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Feature disable options
|
||||||
|
* These options are also useful to firmware size reduction.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* disable these deprecated features by default */
|
||||||
|
//#define NO_ACTION_MACRO
|
||||||
|
//#define NO_ACTION_FUNCTION
|
||||||
|
|
||||||
|
/* Bootmagic Lite key configuration */
|
||||||
|
//#define BOOTMAGIC_LITE_ROW 0
|
||||||
|
//#define BOOTMAGIC_LITE_COLUMN 0
|
17
keyboards/handwired/dtisaac01/dtisaac01.c
Normal file
17
keyboards/handwired/dtisaac01/dtisaac01.c
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
/* Copyright 2021 DTIsaac
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "dtisaac01.h"
|
49
keyboards/handwired/dtisaac01/dtisaac01.h
Normal file
49
keyboards/handwired/dtisaac01/dtisaac01.h
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
/* Copyright 2021 DTIsaac
|
||||||
|
*
|
||||||
|
* 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 "quantum.h"
|
||||||
|
|
||||||
|
/* This is a shortcut to help you visually see your layout.
|
||||||
|
*
|
||||||
|
* The first section contains all of the arguments representing the physical
|
||||||
|
* layout of the board and position of the keys.
|
||||||
|
*
|
||||||
|
* The second converts the arguments into a two-dimensional array which
|
||||||
|
* represents the switch matrix.
|
||||||
|
*/
|
||||||
|
#define LAYOUT( \
|
||||||
|
K000, K001, K002, K003, K004, K005, K006, K007, K008, K058, K061, K062, K063, K064, K065, K066, \
|
||||||
|
K010, K011, K012, K013, K014, K015, K016, K017, K018, K068, K060, K071, K072, K073, K074, K075, K076, \
|
||||||
|
K020, K021, K022, K023, K024, K025, K026, K027, K028, K078, K070, K081, K082, K083, K084, K085, K086, \
|
||||||
|
K030, K031, K032, K033, K034, K035, K036, K037, K038, K088, K080, K091, K093, \
|
||||||
|
K040, K042, K043, K044, K045, K046, K047, K048, K098, K090, K101, K103, K105, \
|
||||||
|
K050, K051, K052, K056, K100, K111, K112, K113, K114, K115, K116 \
|
||||||
|
) { \
|
||||||
|
{ K000, K001, K002, K003, K004, K005, K006, K007, K008 }, \
|
||||||
|
{ K010, K011, K012, K013, K014, K015, K016, K017, K018 }, \
|
||||||
|
{ K020, K021, K022, K023, K024, K025, K026, K027, K028 }, \
|
||||||
|
{ K030, K031, K032, K033, K034, K035, K036, K037, K038 }, \
|
||||||
|
{ K040, KC_NO, K042, K043, K044, K045, K046, K047, K048 }, \
|
||||||
|
{ K050, K051, K052, KC_NO, KC_NO, KC_NO, K056, KC_NO, K058 }, \
|
||||||
|
{ K060, K061, K062, K063, K064, K065, K066, KC_NO, K068 }, \
|
||||||
|
{ K070, K071, K072, K073, K074, K075, K076, KC_NO, K078 }, \
|
||||||
|
{ K080, K081, K082, K083, K084, K085, K086, KC_NO, K088 }, \
|
||||||
|
{ K090, K091, KC_NO, K093, KC_NO, KC_NO, KC_NO, KC_NO, K098 }, \
|
||||||
|
{ K100, K101, KC_NO, K103, KC_NO, K105, KC_NO, KC_NO, KC_NO }, \
|
||||||
|
{ KC_NO, K111, K112, K113, K114, K115, K116, KC_NO, KC_NO } \
|
||||||
|
}
|
100
keyboards/handwired/dtisaac01/info.json
Normal file
100
keyboards/handwired/dtisaac01/info.json
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
{
|
||||||
|
"keyboard_name": "dtisaac01",
|
||||||
|
"url": "",
|
||||||
|
"maintainer": "DTIsaac",
|
||||||
|
"width": 18.25,
|
||||||
|
"height": 6.5,
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT": {
|
||||||
|
"layout": [
|
||||||
|
{"label":"K000", "x":0, "y":0},
|
||||||
|
{"label":"K001", "x":2, "y":0},
|
||||||
|
{"label":"K002", "x":3, "y":0},
|
||||||
|
{"label":"K003", "x":4, "y":0},
|
||||||
|
{"label":"K004", "x":5, "y":0},
|
||||||
|
{"label":"K005", "x":6.5, "y":0},
|
||||||
|
{"label":"K006", "x":7.5, "y":0},
|
||||||
|
{"label":"K007", "x":8.5, "y":0},
|
||||||
|
{"label":"K008", "x":9.5, "y":0},
|
||||||
|
{"label":"K058", "x":11, "y":0},
|
||||||
|
{"label":"K061", "x":12, "y":0},
|
||||||
|
{"label":"K062", "x":13, "y":0},
|
||||||
|
{"label":"K063", "x":14, "y":0},
|
||||||
|
{"label":"K064", "x":15.25, "y":0},
|
||||||
|
{"label":"K065", "x":16.25, "y":0},
|
||||||
|
{"label":"K066", "x":17.25, "y":0},
|
||||||
|
{"label":"K010", "x":0, "y":1.5},
|
||||||
|
{"label":"K011", "x":1, "y":1.5},
|
||||||
|
{"label":"K012", "x":2, "y":1.5},
|
||||||
|
{"label":"K013", "x":3, "y":1.5},
|
||||||
|
{"label":"K014", "x":4, "y":1.5},
|
||||||
|
{"label":"K015", "x":5, "y":1.5},
|
||||||
|
{"label":"K016", "x":6, "y":1.5},
|
||||||
|
{"label":"K017", "x":7, "y":1.5},
|
||||||
|
{"label":"K018", "x":8, "y":1.5},
|
||||||
|
{"label":"K068", "x":9, "y":1.5},
|
||||||
|
{"label":"K060", "x":10, "y":1.5},
|
||||||
|
{"label":"K071", "x":11, "y":1.5},
|
||||||
|
{"label":"K072", "x":12, "y":1.5},
|
||||||
|
{"label":"K073", "x":13, "y":1.5, "w":2},
|
||||||
|
{"label":"K074", "x":15.25, "y":1.5},
|
||||||
|
{"label":"K075", "x":16.25, "y":1.5},
|
||||||
|
{"label":"K076", "x":17.25, "y":1.5},
|
||||||
|
{"label":"K020", "x":0, "y":2.5, "w":1.5},
|
||||||
|
{"label":"K021", "x":1.5, "y":2.5},
|
||||||
|
{"label":"K022", "x":2.5, "y":2.5},
|
||||||
|
{"label":"K023", "x":3.5, "y":2.5},
|
||||||
|
{"label":"K024", "x":4.5, "y":2.5},
|
||||||
|
{"label":"K025", "x":5.5, "y":2.5},
|
||||||
|
{"label":"K026", "x":6.5, "y":2.5},
|
||||||
|
{"label":"K027", "x":7.5, "y":2.5},
|
||||||
|
{"label":"K028", "x":8.5, "y":2.5},
|
||||||
|
{"label":"K078", "x":9.5, "y":2.5},
|
||||||
|
{"label":"K070", "x":10.5, "y":2.5},
|
||||||
|
{"label":"K081", "x":11.5, "y":2.5},
|
||||||
|
{"label":"K082", "x":12.5, "y":2.5},
|
||||||
|
{"label":"K083", "x":13.5, "y":2.5, "w":1.5},
|
||||||
|
{"label":"K084", "x":15.25, "y":2.5},
|
||||||
|
{"label":"K085", "x":16.25, "y":2.5},
|
||||||
|
{"label":"K086", "x":17.25, "y":2.5},
|
||||||
|
{"label":"K030", "x":0, "y":3.5, "w":1.75},
|
||||||
|
{"label":"K031", "x":1.75, "y":3.5},
|
||||||
|
{"label":"K032", "x":2.75, "y":3.5},
|
||||||
|
{"label":"K033", "x":3.75, "y":3.5},
|
||||||
|
{"label":"K034", "x":4.75, "y":3.5},
|
||||||
|
{"label":"K035", "x":5.75, "y":3.5},
|
||||||
|
{"label":"K036", "x":6.75, "y":3.5},
|
||||||
|
{"label":"K037", "x":7.75, "y":3.5},
|
||||||
|
{"label":"K038", "x":8.75, "y":3.5},
|
||||||
|
{"label":"K088", "x":9.75, "y":3.5},
|
||||||
|
{"label":"K080", "x":10.75, "y":3.5},
|
||||||
|
{"label":"K091", "x":11.75, "y":3.5},
|
||||||
|
{"label":"K093", "x":12.75, "y":3.5, "w":2.25},
|
||||||
|
{"label":"K040", "x":0, "y":4.5, "w":2.25},
|
||||||
|
{"label":"K042", "x":2.25, "y":4.5},
|
||||||
|
{"label":"K043", "x":3.25, "y":4.5},
|
||||||
|
{"label":"K044", "x":4.25, "y":4.5},
|
||||||
|
{"label":"K045", "x":5.25, "y":4.5},
|
||||||
|
{"label":"K046", "x":6.25, "y":4.5},
|
||||||
|
{"label":"K047", "x":7.25, "y":4.5},
|
||||||
|
{"label":"K048", "x":8.25, "y":4.5},
|
||||||
|
{"label":"K098", "x":9.25, "y":4.5},
|
||||||
|
{"label":"K090", "x":10.25, "y":4.5},
|
||||||
|
{"label":"K101", "x":11.25, "y":4.5},
|
||||||
|
{"label":"K103", "x":12.25, "y":4.5, "w":2.75},
|
||||||
|
{"label":"K105", "x":16.25, "y":4.5},
|
||||||
|
{"label":"K050", "x":0, "y":5.5, "w":1.25},
|
||||||
|
{"label":"K051", "x":1.25, "y":5.5, "w":1.25},
|
||||||
|
{"label":"K052", "x":2.5, "y":5.5, "w":1.25},
|
||||||
|
{"label":"K056", "x":3.75, "y":5.5, "w":6.25},
|
||||||
|
{"label":"K100", "x":10, "y":5.5, "w":1.25},
|
||||||
|
{"label":"K111", "x":11.25, "y":5.5, "w":1.25},
|
||||||
|
{"label":"K112", "x":12.5, "y":5.5, "w":1.25},
|
||||||
|
{"label":"K113", "x":13.75, "y":5.5, "w":1.25}
|
||||||
|
{"label":"K114", "x":15.25, "y":5.5},
|
||||||
|
{"label":"K115", "x":16.25, "y":5.5},
|
||||||
|
{"label":"K116", "x":17.25, "y":5.5},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
47
keyboards/handwired/dtisaac01/keymaps/default/keymap.c
Normal file
47
keyboards/handwired/dtisaac01/keymaps/default/keymap.c
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
/* Copyright 2021 DTIsaac
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
// Defines names for use in layer keycodes and the keymap
|
||||||
|
enum layer_names {
|
||||||
|
_BASE,
|
||||||
|
_FN
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
[_BASE] = LAYOUT(
|
||||||
|
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS,
|
||||||
|
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP,
|
||||||
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN,
|
||||||
|
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
|
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, LT(1, KC_NO), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||||
|
),
|
||||||
|
[_FN] = LAYOUT(
|
||||||
|
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
)
|
||||||
|
};
|
1
keyboards/handwired/dtisaac01/keymaps/default/readme.md
Normal file
1
keyboards/handwired/dtisaac01/keymaps/default/readme.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# The default keymap for dtisaac01
|
19
keyboards/handwired/dtisaac01/readme.md
Normal file
19
keyboards/handwired/dtisaac01/readme.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# dtisaac01
|
||||||
|
|
||||||
|
![dtisaac01](https://i.imgur.com/BoKW4uEh.jpg)
|
||||||
|
|
||||||
|
A 87 percent keyboard DTIsaac01 version
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [DTIsaac](https://github.com/daotakisaac)
|
||||||
|
* Hardware Supported: dtisaac01-atmega32U4
|
||||||
|
* Hardware Availability: dtisaac01-atmega32U4
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make dtisaac01:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make dtisaac01: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).
|
22
keyboards/handwired/dtisaac01/rules.mk
Normal file
22
keyboards/handwired/dtisaac01/rules.mk
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# MCU name
|
||||||
|
MCU = atmega32u4
|
||||||
|
|
||||||
|
# Bootloader selection
|
||||||
|
BOOTLOADER = atmel-dfu
|
||||||
|
|
||||||
|
# Build Options
|
||||||
|
# change yes to no to disable
|
||||||
|
#
|
||||||
|
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||||
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||||
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||||
|
CONSOLE_ENABLE = no # Console for debug
|
||||||
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||||
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||||
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||||
|
NKRO_ENABLE = no # USB Nkey Rollover
|
||||||
|
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||||
|
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||||
|
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||||
|
AUDIO_ENABLE = no # Audio output
|
24
keyboards/idobo/keymaps/pathnirvana/config.h
Normal file
24
keyboards/idobo/keymaps/pathnirvana/config.h
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright 2021 PathNirvana
|
||||||
|
*
|
||||||
|
* 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
|
||||||
|
|
||||||
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
|
#undef DEBOUNCE
|
||||||
|
#define DEBOUNCE 40
|
||||||
|
|
||||||
|
#undef BACKLIGHT_LEVELS
|
||||||
|
#define BACKLIGHT_LEVELS 6
|
44
keyboards/idobo/keymaps/pathnirvana/keymap.c
Normal file
44
keyboards/idobo/keymaps/pathnirvana/keymap.c
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
/* Copyright 2021 pathnirvana (pathnirvana@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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
[0] = LAYOUT_ortho_5x15(
|
||||||
|
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_F5,
|
||||||
|
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_LBRC, KC_BSLS, KC_RBRC, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_QUOT,
|
||||||
|
KC_BSPC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_PGUP, KC_DEL, KC_PGDN, KC_M, KC_N, KC_E, KC_I, KC_O, KC_ENT,
|
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_HOME, KC_UP, KC_END, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_NO,
|
||||||
|
KC_LCTL, KC_MS_BTN3, KC_LALT, LT(2,KC_F2), KC_SPC, LSFT_T(KC_SPC), KC_LEFT, KC_DOWN, KC_RGHT, LT(3,KC_DEL), RSFT_T(KC_BSPC), LALT(KC_LSFT), KC_NO, DF(1), KC_ENT),
|
||||||
|
[1] = LAYOUT_ortho_5x15(
|
||||||
|
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_F5,
|
||||||
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_BSLS, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_QUOT,
|
||||||
|
KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGUP, KC_DEL, KC_PGDN, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_HOME, KC_UP, KC_END, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO,
|
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, LT(2,KC_F2), KC_SPC, LSFT_T(KC_SPC), KC_LEFT, KC_DOWN, KC_RGHT, LT(3,KC_DEL), RSFT_T(KC_BSPC), LALT(KC_LSFT), KC_NO, DF(0), KC_ENT),
|
||||||
|
[2] = LAYOUT_ortho_5x15(
|
||||||
|
KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_MUTE, KC_VOLD, KC_VOLU, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||||
|
KC_MSEL, BL_BRTG, RGB_HUD, RGB_HUI, KC_NO, KC_NO, KC_PSCR, KC_SLCK, KC_PAUS, LSFT(KC_LEFT), LSFT(KC_DOWN), LSFT(KC_UP), LSFT(KC_RGHT), KC_NO, KC_NO,
|
||||||
|
KC_SLEP, BL_STEP, RGB_SAD, RGB_SAI, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, RESET,
|
||||||
|
KC_NO, BL_TOGG, RGB_VAD, RGB_VAI, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_NO, LCTL(KC_LEFT), LCTL(KC_DOWN), LCTL(KC_UP), LCTL(KC_RGHT), KC_NO, KC_NO,
|
||||||
|
KC_NO, RGB_TOG, RGB_RMOD, RGB_MOD, KC_NO, KC_NO, KC_WBAK, KC_NO, KC_WFWD, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO),
|
||||||
|
[3] = LAYOUT_ortho_5x15(
|
||||||
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||||
|
KC_NO, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_TILD, KC_UNDS, KC_PLUS, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_NO,
|
||||||
|
KC_NO, KC_QUOT, KC_BSLS, KC_LCBR, KC_LBRC, KC_LT, KC_NO, KC_NO, KC_NO, KC_GT, KC_RBRC, KC_RCBR, KC_PIPE, KC_DQUO, KC_NO,
|
||||||
|
KC_NO, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO,
|
||||||
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO),
|
||||||
|
};
|
3
keyboards/idobo/keymaps/pathnirvana/rules.mk
Normal file
3
keyboards/idobo/keymaps/pathnirvana/rules.mk
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
BACKLIGHT_ENABLE = yes
|
||||||
|
DEBOUNCE_TYPE = sym_eager_pk
|
||||||
|
MOUSEKEY_ENABLE = yes
|
Loading…
Reference in New Issue
Block a user