Compare commits
1 Commits
master
...
redox-manu
Author | SHA1 | Date | |
---|---|---|---|
357fba6b5f |
20
keyboards/redox_manuform/config.h
Normal file
20
keyboards/redox_manuform/config.h
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
Copyright 2018 Mattia Dal Ben <matthewdibi@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
|
||||
|
||||
#include "config_common.h"
|
97
keyboards/redox_manuform/info.json
Normal file
97
keyboards/redox_manuform/info.json
Normal file
@ -0,0 +1,97 @@
|
||||
{
|
||||
"keyboard_name": "Redox",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"width": 18.5,
|
||||
"height": 6.25,
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"_Nav || `", "x":0, "y":0.375, "w":1.25},
|
||||
{"label":"1", "x":1.25, "y":0.375},
|
||||
{"label":"2", "x":2.25, "y":0.125},
|
||||
{"label":"3", "x":3.25, "y":0},
|
||||
{"label":"4", "x":4.25, "y":0.125},
|
||||
{"label":"5", "x":5.25, "y":0.25},
|
||||
|
||||
{"label":"6", "x":12.25, "y":0.25},
|
||||
{"label":"7", "x":13.25, "y":0.125},
|
||||
{"label":"8", "x":14.25, "y":0},
|
||||
{"label":"9", "x":15.25, "y":0.125},
|
||||
{"label":"0", "x":16.25, "y":0.375},
|
||||
{"label":"_Nav || -", "x":17.25, "y":0.375, "w":1.25},
|
||||
|
||||
{"label":"Tab", "x":0, "y":1.375, "w":1.25},
|
||||
{"label":"Q", "x":1.25, "y":1.375},
|
||||
{"label":"W", "x":2.25, "y":1.125},
|
||||
{"label":"E", "x":3.25, "y":1},
|
||||
{"label":"R", "x":4.25, "y":1.125},
|
||||
{"label":"T", "x":5.25, "y":1.25},
|
||||
{"label":"MO(_SYMB)", "x":6.25, "y":0.75},
|
||||
|
||||
{"label":"MO(_SYMB)", "x":11.25, "y":0.75},
|
||||
{"label":"Y", "x":12.25, "y":1.25},
|
||||
{"label":"U", "x":13.25, "y":1.125},
|
||||
{"label":"I", "x":14.25, "y":1},
|
||||
{"label":"O", "x":15.25, "y":1.125},
|
||||
{"label":"P", "x":16.25, "y":1.375},
|
||||
{"label":"=", "x":17.25, "y":1.375, "w":1.25},
|
||||
|
||||
{"label":"Esc", "x":0, "y":2.375, "w":1.25},
|
||||
{"label":"A", "x":1.25, "y":2.375},
|
||||
{"label":"S", "x":2.25, "y":2.125},
|
||||
{"label":"D", "x":3.25, "y":2},
|
||||
{"label":"F", "x":4.25, "y":2.125},
|
||||
{"label":"G", "x":5.25, "y":2.25},
|
||||
{"label":"[", "x":6.25, "y":1.75, "h":1.5},
|
||||
|
||||
{"label":"]", "x":11.25, "y":1.75, "h":1.5},
|
||||
{"label":"H", "x":12.25, "y":2.25},
|
||||
{"label":"J", "x":13.25, "y":2.125},
|
||||
{"label":"K", "x":14.25, "y":2},
|
||||
{"label":"L", "x":15.25, "y":2.125},
|
||||
{"label":";", "x":16.25, "y":2.375},
|
||||
{"label":"'", "x":17.25, "y":2.375, "w":1.25},
|
||||
|
||||
{"label":"Shift", "x":0, "y":3.375, "w":1.25},
|
||||
{"label":"Z", "x":1.25, "y":3.375},
|
||||
{"label":"X", "x":2.25, "y":3.125},
|
||||
{"label":"C", "x":3.25, "y":3},
|
||||
{"label":"V", "x":4.25, "y":3.125},
|
||||
{"label":"B", "x":5.25, "y":3.25},
|
||||
|
||||
{"label":"_Adjust/Page Up", "x":6.75, "y":3.75},
|
||||
{"label":"Page Down", "x":7.75, "y":3.75},
|
||||
|
||||
{"label":"Home", "x":9.75, "y":3.75},
|
||||
{"label":"_Adjust/End", "x":10.75, "y":3.75},
|
||||
|
||||
{"label":"N", "x":12.25, "y":3.25},
|
||||
{"label":"M", "x":13.25, "y":3.125},
|
||||
{"label":",", "x":14.25, "y":3},
|
||||
{"label":",", "x":15.25, "y":3.125},
|
||||
{"label":"\\", "x":16.25, "y":3.375},
|
||||
{"label":"Shift", "x":17.25, "y":3.375, "w":1.25},
|
||||
|
||||
{"label":"LGUI", "x":0.25, "y":4.375},
|
||||
{"label":"P+", "x":1.25, "y":4.375},
|
||||
{"label":"P-", "x":2.25, "y":4.125},
|
||||
{"label":"LAlt || P*", "x":3.25, "y":4},
|
||||
|
||||
{"label":"LCtrl || P/", "x":5.5, "y":5.25, "w":1.25},
|
||||
{"label":"Backspace", "x":6.75, "y":4.75, "h":1.5},
|
||||
{"label":"Delete", "x":7.75, "y":4.75, "h":1.5},
|
||||
|
||||
{"label":"Enter", "x":9.75, "y":4.75, "h":1.5},
|
||||
{"label":"Space", "x":10.75, "y":4.75, "h":1.5},
|
||||
{"label":"RAlt", "x":11.75, "y":5.25, "w":1.25},
|
||||
|
||||
{"label":"Left", "x":14.25, "y":4},
|
||||
{"label":"Down", "x":15.25, "y":4.125},
|
||||
{"label":"Up", "x":16.25, "y":4.375},
|
||||
{"label":"Right", "x":17.25, "y":4.375}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
34
keyboards/redox_manuform/keymaps/default/config.h
Normal file
34
keyboards/redox_manuform/keymaps/default/config.h
Normal file
@ -0,0 +1,34 @@
|
||||
/*
|
||||
Copyright 2018 Mattia Dal Ben <matthewdibi@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
|
||||
|
||||
/* Use I2C or Serial, not both */
|
||||
#define USE_SERIAL
|
||||
// #define USE_I2C
|
||||
|
||||
/* Select hand configuration */
|
||||
#define MASTER_LEFT
|
||||
// #define MASTER_RIGHT
|
||||
// #define EE_HANDS
|
||||
|
||||
#undef RGBLED_NUM
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLED_NUM 14
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
131
keyboards/redox_manuform/keymaps/default/keymap.c
Normal file
131
keyboards/redox_manuform/keymaps/default/keymap.c
Normal file
@ -0,0 +1,131 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _QWERTY 0
|
||||
#define _SYMB 1
|
||||
#define _NAV 2
|
||||
#define _ADJUST 3
|
||||
#define _NUM 4
|
||||
#define _ARR 5 // Arrow layer
|
||||
|
||||
enum custom_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
SYMB,
|
||||
NAV,
|
||||
ADJUST,
|
||||
ARR,
|
||||
NUM,
|
||||
};
|
||||
|
||||
// Shortcut to make keymap more readable
|
||||
#define SYM_L MO(_SYMB)
|
||||
|
||||
#define KC_ALAS LALT_T(KC_PAST)
|
||||
#define KC_CTPL LCTL_T(KC_BSLS)
|
||||
|
||||
#define KC_NAGR LT(_NAV, KC_GRV)
|
||||
#define KC_NAMI LT(_NAV, KC_MINS)
|
||||
|
||||
#define KC_ADEN LT(_ADJUST, KC_END)
|
||||
#define KC_ADPU LT(_ADJUST, KC_PGUP)
|
||||
|
||||
#define NUM_L MO(_NUM)
|
||||
#define ARR_L MO(_ARR)
|
||||
|
||||
// https://beta.docs.qmk.fm/using-qmk/simple-keycodes/keycodes_basic
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_QWERTY] = LAYOUT(
|
||||
// ┌────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┐
|
||||
KC_2 ,KC_3 ,KC_4 ,KC_5 ,KC_PGUP , KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,
|
||||
//┌────────┬────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┬────────┐
|
||||
KC_NAGR ,KC_1 ,KC_W ,KC_E ,KC_R ,KC_T ,KC_PGDN , XXXXXXX ,KC_Y ,KC_U ,KC_I ,KC_O ,KC_MINS ,KC_EQL ,
|
||||
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┘ └────────┼────────┼────────┼────────┼────────┼────────┼────────┤
|
||||
KC_TAB ,KC_Q ,KC_S ,KC_D ,KC_F ,KC_G , KC_H ,KC_J ,KC_K ,KC_L ,KC_P ,KC_LBRC , // KC_RBRC(¨)
|
||||
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
|
||||
KC_ESC ,KC_A ,KC_X ,KC_C ,KC_V ,KC_B , KC_N ,KC_M ,KC_COMM ,KC_DOT ,KC_SCLN ,KC_QUOT , // KC_BSLS(*)
|
||||
//├────────┼────────┼────────┼────────┼────────┴────────┘ └────────┴────────┼────────┼────────┼────────┼────────┤
|
||||
KC_LSFT ,KC_Z ,KC_LT ,KC_LALT , KC_RALT ,KC_BSLS ,KC_SLSH ,KC_RSFT ,
|
||||
//├────────┼────────┼────────┴────────┘ └────────┴────────┼────────┼────────┤
|
||||
KC_LCTL ,XXXXXXX , KC_RBRC ,KC_RCTL ,
|
||||
//└────────┴────────┘ ┌────────┬────────┐ ┌────────┬────────┐ └────────┴────────┘
|
||||
KC_LGUI ,KC_SPC , KC_PENT ,KC_BSPC ,
|
||||
// └────┬───┴────┬───┴────┐ ┌───┴────┬───┴────┬───┘
|
||||
ARR_L ,KC_NO , KC_NO ,KC_DEL ,
|
||||
// └────┬───┴────┬───┘ └────┬───┴────┬───┘
|
||||
NUM_L , KC_NO
|
||||
// └────────┘ └────────┘
|
||||
),
|
||||
|
||||
[_NUM] = LAYOUT(
|
||||
// ┌────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┐
|
||||
KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 ,_______ , KC_F6 ,KC_F7 ,KC_F8 ,KC_F9 ,KC_F10 ,
|
||||
//┌────────┬────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┬────────┐
|
||||
_______ ,KC_F1 ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,KC_P7 ,KC_P8 ,KC_P9 ,KC_F11 ,KC_F12 ,
|
||||
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┘ └────────┼────────┼────────┼────────┼────────┼────────┼────────┤
|
||||
_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,KC_P4 ,KC_P5 ,KC_P6 ,KC_PMNS ,_______ ,
|
||||
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
|
||||
_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,KC_P1 ,KC_P2 ,KC_P3 ,KC_PMNS ,_______ ,
|
||||
//├────────┼────────┼────────┼────────┼────────┴────────┘ └────────┴────────┼────────┼────────┼────────┼────────┤
|
||||
_______ ,_______ ,_______ ,_______ , KC_P0 ,KC_PDOT ,_______ ,_______ ,
|
||||
//├────────┼────────┼────────┴────────┘ └────────┴────────┼────────┼────────┤
|
||||
_______ ,_______ , _______ ,_______ ,
|
||||
//└────────┴────────┘ ┌────────┬────────┐ ┌────────┬────────┐ └────────┴────────┘
|
||||
_______ ,_______ , _______ ,_______ ,
|
||||
// └────┬───┴────┬───┴────┐ ┌───┴────┬───┴────┬───┘
|
||||
_______ ,_______ , _______ ,_______ ,
|
||||
// └────┬───┴────┬───┘ └────┬───┴────┬───┘
|
||||
_______ , _______
|
||||
// └────────┘ └────────┘
|
||||
),
|
||||
|
||||
[_ARR] = LAYOUT(
|
||||
// ┌────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┐
|
||||
_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,
|
||||
//┌────────┬────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┬────────┐
|
||||
_______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,KC_UP ,_______ ,_______ ,_______ ,
|
||||
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┘ └────────┼────────┼────────┼────────┼────────┼────────┼────────┤
|
||||
_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,KC_LEFT ,KC_DOWN ,KC_RGHT ,_______ ,_______ ,
|
||||
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
|
||||
_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______ ,
|
||||
//├────────┼────────┼────────┼────────┼────────┴────────┘ └────────┴────────┼────────┼────────┼────────┼────────┤
|
||||
_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,
|
||||
//├────────┼────────┼────────┴────────┘ └────────┴────────┼────────┼────────┤
|
||||
_______ ,_______ , _______ ,_______ ,
|
||||
//└────────┴────────┘ ┌────────┬────────┐ ┌────────┬────────┐ └────────┴────────┘
|
||||
_______ ,_______ , _______ ,_______ ,
|
||||
// └────┬───┴────┬───┴────┐ ┌───┴────┬───┴────┬───┘
|
||||
_______ ,_______ , _______ ,_______ ,
|
||||
// └────┬───┴────┬───┘ └────┬───┴────┬───┘
|
||||
_______ , _______
|
||||
// └────────┘ └────────┘
|
||||
)
|
||||
|
||||
/* Placeholder
|
||||
[_NUM] = LAYOUT(
|
||||
// ┌────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┐
|
||||
_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,
|
||||
//┌────────┬────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┬────────┐
|
||||
_______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ ,
|
||||
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┘ └────────┼────────┼────────┼────────┼────────┼────────┼────────┤
|
||||
_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______ ,
|
||||
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
|
||||
_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______ ,
|
||||
//├────────┼────────┼────────┼────────┼────────┴────────┘ └────────┴────────┼────────┼────────┼────────┼────────┤
|
||||
_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,
|
||||
//├────────┼────────┼────────┴────────┘ └────────┴────────┼────────┼────────┤
|
||||
_______ ,_______ , _______ ,_______ ,
|
||||
//└────────┴────────┘ ┌────────┬────────┐ ┌────────┬────────┐ └────────┴────────┘
|
||||
_______ ,_______ , _______ ,_______ ,
|
||||
// └────┬───┴────┬───┴────┐ ┌───┴────┬───┴────┬───┘
|
||||
_______ ,_______ , _______ ,_______ ,
|
||||
// └────┬───┴────┬───┘ └────┬───┴────┬───┘
|
||||
_______ , _______
|
||||
// └────────┘ └────────┘
|
||||
)
|
||||
*/
|
||||
};
|
1
keyboards/redox_manuform/keymaps/default/readme.md
Normal file
1
keyboards/redox_manuform/keymaps/default/readme.md
Normal file
@ -0,0 +1 @@
|
||||
# The default keymap for Redox
|
29
keyboards/redox_manuform/readme.md
Normal file
29
keyboards/redox_manuform/readme.md
Normal file
@ -0,0 +1,29 @@
|
||||
# The Redox keyboard
|
||||
|
||||
<p align="center">
|
||||
<img src="https://github.com/mattdibi/redox-keyboard/raw/master/img/redox-logo.png" alt="Redox logo" width="600"/>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://github.com/mattdibi/redox-keyboard/raw/master/img/redox-pcb2.jpg" alt="Redox PCB rev1.0" width="600"/>
|
||||
</p>
|
||||
|
||||
**Redox**: the **R**educed **E**rgo**dox** project. More information and building instruction [here](https://github.com/mattdibi/redox-keyboard).
|
||||
|
||||
- Keyboard Maintainer: [Mattia Dal Ben](https://github.com/mattdibi)
|
||||
- Hardware Supported: Redox PCB rev1.0 w/ Pro Micro
|
||||
- Hardware Availability: [Falbatech](https://falba.tech/product-category/keyboard-parts/redox-parts/)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
```sh
|
||||
make redox_manuform/rev1:default
|
||||
```
|
||||
|
||||
Example of flashing this keyboard:
|
||||
|
||||
```sh
|
||||
make redox_manuform/rev1:default:avrdude
|
||||
```
|
||||
|
||||
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).
|
16
keyboards/redox_manuform/redox_manuform.c
Normal file
16
keyboards/redox_manuform/redox_manuform.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* Copyright 2017 REPLACE_WITH_YOUR_NAME
|
||||
*
|
||||
* 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 "redox_manuform.h"
|
23
keyboards/redox_manuform/redox_manuform.h
Normal file
23
keyboards/redox_manuform/redox_manuform.h
Normal file
@ -0,0 +1,23 @@
|
||||
/* Copyright 2017 REPLACE_WITH_YOUR_NAME
|
||||
*
|
||||
* 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
|
||||
|
||||
#ifdef KEYBOARD_redox_manuform_rev1
|
||||
#include "rev1.h"
|
||||
#endif
|
||||
|
||||
#include "quantum.h"
|
88
keyboards/redox_manuform/rev1/config.h
Normal file
88
keyboards/redox_manuform/rev1/config.h
Normal file
@ -0,0 +1,88 @@
|
||||
/*
|
||||
Copyright 2018 Mattia Dal Ben <matthewdibi@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
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x0000
|
||||
#define DEVICE_VER 0x0100
|
||||
#define MANUFACTURER Falbatech
|
||||
#define PRODUCT The Redox Keyboard
|
||||
#define DESCRIPTION Split Ergodox-like 5x7 custom keyboard
|
||||
|
||||
/* key matrix size */
|
||||
// Rows are doubled-up
|
||||
#define MATRIX_ROWS 10
|
||||
#define MATRIX_COLS 7
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
|
||||
#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* number of backlight levels */
|
||||
// #define BACKLIGHT_LEVELS 3
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCE 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
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN D3
|
||||
|
||||
#define RGBLED_NUM 14 // Number of LEDs
|
||||
|
||||
// Num leds { left, right }
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
|
||||
// Detect master by connected cable
|
||||
//#define SPLIT_USB_DETECT
|
||||
|
||||
#define EE_HANDS
|
||||
|
||||
/*
|
||||
* 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
|
22
keyboards/redox_manuform/rev1/rev1.c
Normal file
22
keyboards/redox_manuform/rev1/rev1.c
Normal file
@ -0,0 +1,22 @@
|
||||
#include "redox_manuform.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) {
|
||||
|
||||
// // green led on
|
||||
// DDRD |= (1<<5);
|
||||
// PORTD &= ~(1<<5);
|
||||
|
||||
// // orange led on
|
||||
// DDRB |= (1<<0);
|
||||
// PORTB &= ~(1<<0);
|
||||
|
||||
matrix_init_user();
|
||||
};
|
85
keyboards/redox_manuform/rev1/rev1.h
Normal file
85
keyboards/redox_manuform/rev1/rev1.h
Normal file
@ -0,0 +1,85 @@
|
||||
#pragma once
|
||||
|
||||
#include "../redox_manuform.h"
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
|
||||
#ifdef USE_I2C
|
||||
#include <stddef.h>
|
||||
#ifdef __AVR__
|
||||
#include <avr/io.h>
|
||||
#include <avr/interrupt.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define LAYOUT( \
|
||||
k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, \
|
||||
k00, k01, k16, k17, k18, k19, k20, k21, k22, k23, k24, k25, k12, k13, \
|
||||
k14, k15, k30, k31, k32, k33, k36, k37, k38, k39, k26, k27, \
|
||||
k28, k29, k44, k45, k46, k47, k50, k51, k52, k53, k40, k41, \
|
||||
k42, k43, k58, k59, k66, k67, k54, k55, \
|
||||
k56, k57, k68, k69, \
|
||||
\
|
||||
k60, k34, k35, k65, \
|
||||
k48, k62, k63, k49, \
|
||||
k61, k64 \
|
||||
) \
|
||||
{ \
|
||||
{ k62, k61, k60, k59, k58, k57, k56 }, \
|
||||
{ k48, k47, k46, k45, k44, k43, k42 }, \
|
||||
{ k34, k33, k32, k31, k30, k29, k28 }, \
|
||||
{ k20, k19, k18, k17, k16, k15, k14 }, \
|
||||
{ k06, k05, k04, k03, k02, k01, k00 }, \
|
||||
\
|
||||
{ k63, k64, k65, k66, k67, k68, k69 }, \
|
||||
{ k49, k50, k51, k52, k53, k54, k55 }, \
|
||||
{ k35, k36, k37, k38, k39, k40, k41 }, \
|
||||
{ k21, k22, k23, k24, k25, k26, k27 }, \
|
||||
{ k07, k08, k09, k10, k11, k12, k13 }, \
|
||||
}
|
||||
|
||||
/*
|
||||
{ k56, k57, k58, k59, k60, k61, k62 }, \
|
||||
{ k42, k43, k44, k45, k46, k47, k48 }, \
|
||||
{ k28, k29, k30, k31, k32, k33, k34 }, \
|
||||
{ k14, k15, k16, k17, k18, k19, k20 }, \
|
||||
{ k00, k01, k02, k03, k04, k05, k06 }, \
|
||||
|
||||
|
||||
{ \
|
||||
{ k62, k61, k60, k59, k58, k57, k56 }, \
|
||||
{ k48, k47, k46, k45, k44, k43, k42 }, \
|
||||
{ k34, k33, k32, k31, k30, k29, k28 }, \
|
||||
{ k20, k19, k18, k17, k16, k15, k14 }, \
|
||||
{ k06, k05, k04, k03, k02, k01, k00 }, \
|
||||
\
|
||||
{ k69, k68, k67, k66, k65, k64, k63 }, \
|
||||
{ k55, k54, k53, k52, k51, k50, k49 }, \
|
||||
{ k41, k40, k39, k38, k37, k36, k35 }, \
|
||||
{ k27, k26, k25, k24, k23, k22, k21 }, \
|
||||
{ k13, k12, k11, k10, k09, k08, k07 }, \
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
#define LAYOUT_BAK( \
|
||||
k00, k01, k02, k03, k04, k05, k08, k09, k10, k11, k12, k13, \
|
||||
k14, k15, k16, k17, k18, k19, k06, k07, k22, k23, k24, k25, k26, k27, \
|
||||
k28, k29, k30, k31, k32, k33, k20, k21, k36, k37, k38, k39, k40, k41, \
|
||||
k42, k43, k44, k45, k46, k47, k34, k48, k49, k35, k50, k51, k52, k53, k54, k55, \
|
||||
k56, k57, k58, k59, k60, k61, k62, k63, k64, k65, k66, k67, k68, k69 \
|
||||
) \
|
||||
{ \
|
||||
{ k00, k01, k02, k03, k04, k05, k06 }, \
|
||||
{ k14, k15, k16, k17, k18, k19, k20 }, \
|
||||
{ k28, k29, k30, k31, k32, k33, k34 }, \
|
||||
{ k42, k43, k44, k45, k46, k47, k48 }, \
|
||||
{ k56, k57, k58, k59, k60, k61, k62 }, \
|
||||
{ k13, k12, k11, k10, k09, k08, k07 }, \
|
||||
{ k27, k26, k25, k24, k23, k22, k21 }, \
|
||||
{ k41, k40, k39, k38, k37, k36, k35 }, \
|
||||
{ k55, k54, k53, k52, k51, k50, k49 }, \
|
||||
{ k69, k68, k67, k66, k65, k64, k63 } \
|
||||
}
|
||||
*/
|
0
keyboards/redox_manuform/rev1/rules.mk
Normal file
0
keyboards/redox_manuform/rev1/rules.mk
Normal file
36
keyboards/redox_manuform/rules.mk
Normal file
36
keyboards/redox_manuform/rules.mk
Normal file
@ -0,0 +1,36 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
# Teensy halfkay
|
||||
# Pro Micro caterina
|
||||
# Atmel DFU atmel-dfu
|
||||
# LUFA DFU lufa-dfu
|
||||
# QMK DFU qmk-dfu
|
||||
# ATmega32A bootloadHID
|
||||
# ATmega328P USBasp
|
||||
BOOTLOADER = caterina
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # 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 = yes # 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 = no # Enable keyboard backlight functionality on B7 by default
|
||||
MIDI_ENABLE = no # MIDI support
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
|
||||
DEFAULT_FOLDER = redox_manuform/rev1
|
Loading…
x
Reference in New Issue
Block a user