aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/montsinger/rebound/keymaps/rossman360/keymap.c55
-rwxr-xr-xkeyboards/montsinger/rebound/readme.md5
-rw-r--r--keyboards/montsinger/rebound/rebound.h26
-rw-r--r--keyboards/montsinger/rebound/rev1/config.h (renamed from keyboards/montsinger/rebound/config.h)0
-rw-r--r--keyboards/montsinger/rebound/rev1/info.json61
-rw-r--r--keyboards/montsinger/rebound/rev1/keymaps/curry/keymap.c (renamed from keyboards/montsinger/rebound/keymaps/curry/keymap.c)0
-rw-r--r--keyboards/montsinger/rebound/rev1/keymaps/curry/rules.mk (renamed from keyboards/montsinger/rebound/keymaps/curry/rules.mk)0
-rw-r--r--keyboards/montsinger/rebound/rev1/keymaps/default/keymap.c (renamed from keyboards/montsinger/rebound/keymaps/default/keymap.c)0
-rw-r--r--keyboards/montsinger/rebound/rev1/rev1.h39
-rw-r--r--keyboards/montsinger/rebound/rev1/rules.mk32
-rw-r--r--keyboards/montsinger/rebound/rev2/config.h65
-rw-r--r--keyboards/montsinger/rebound/rev2/info.json128
-rw-r--r--keyboards/montsinger/rebound/rev2/keymaps/default/keymap.c161
-rw-r--r--keyboards/montsinger/rebound/rev2/keymaps/rossman360/keymap.c57
-rw-r--r--keyboards/montsinger/rebound/rev2/rev2.h53
-rw-r--r--keyboards/montsinger/rebound/rev2/rules.mk33
-rw-r--r--keyboards/montsinger/rebound/rules.mk33
17 files changed, 639 insertions, 109 deletions
diff --git a/keyboards/montsinger/rebound/keymaps/rossman360/keymap.c b/keyboards/montsinger/rebound/keymaps/rossman360/keymap.c
deleted file mode 100644
index 8391ec8e1..000000000
--- a/keyboards/montsinger/rebound/keymaps/rossman360/keymap.c
+++ /dev/null
@@ -1,55 +0,0 @@
1#include QMK_KEYBOARD_H
2#include "rossman360.h"
3
4#define PGMOD LT(_NUM, KC_PGDN)
5#define TABMOD LT(_FN1, KC_TAB)
6#define SPCMOD LT(_FN1, KC_SPACE)
7#define ENTMOD LT(_FN2, KC_ENTER)
8#define ESCMOD LT(_NUM, KC_ESC)
9#define RSMOD LT(_FN1, KC_RSHIFT)
10
11enum layer_names {
12 _BASE,
13 _DEL,
14 _FN1,
15 _FN2,
16 _NUM,
17};
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20
21[_BASE] = LAYOUT_ortho_4x12(
22 KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , NTAB ,
23 JUMPBACK, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT,
24 KC_LSFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_MINS,
25 CMDBSP , ALTDEL , KC_NO , CTRLSP , TABMOD , PGMOD , ENTMOD , SPCMOD , MO(_DEL),KC_NO , KC_BSPC, KC_DEL
26 ),
27
28[_FN1] = LAYOUT_ortho_4x12(
29 _______, TAB1 , TAB2 , TAB3 , TAB4 , _______, _______, UNDO , _______, _______, _______, CTAB ,
30 KC_CAPS, _______, _______, _______, _______, _______, KC_HOME, KC_LEFT, KC_UP , KC_RIGHT,KC_END , KC_NO ,
31 _______, _______, XPANDR , _______, _______, _______, _______, PMERGE , KC_DOWN, _______, _______, _______,
32 WREFRESH,_______, _______, _______, LWORD , RWORD , RVOLD , RVOLU , _______, _______, _______, _______
33 ),
34
35[_FN2] = LAYOUT_ortho_4x12(
36 _______, SPEAK1 , SPEAK2 , SPEAK3 , SPEAK4 , _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
39 _______, _______, _______, _______, PARADOWN, CSPEAK, _______, _______, _______, _______, _______, _______
40 ),
41
42[_DEL] = LAYOUT_ortho_4x12(
43 _______, _______, _______, _______, _______, _______, _______, UNDO , _______, _______, _______, CTAB ,
44 REMCAPS, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_UP ,KC_RIGHT, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, _______,
46 _______, _______, _______, KC_DEL , KC_BSPC, BWORD , _______, _______, _______, _______, _______, _______
47 ),
48
49[_NUM] = LAYOUT_ortho_4x12(
50 _______, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_MINS, KC_EQL,
51 KC_CAPS, _______, _______, _______, _______, _______, KC_MINS, KC_4 , KC_5 , KC_6 , KC_COLN, _______,
52 _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_1 , KC_2 , KC_3 , KC_BSLS, _______,
53 _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_0 , _______, _______, _______
54 )
55};
diff --git a/keyboards/montsinger/rebound/readme.md b/keyboards/montsinger/rebound/readme.md
index d634408cc..024b4a96b 100755
--- a/keyboards/montsinger/rebound/readme.md
+++ b/keyboards/montsinger/rebound/readme.md
@@ -5,11 +5,12 @@
5A conjoined-split 40% 4x12 ortholinear keyboard made and sold by Montsinger. [More info on Montsinger.net](https://montsinger.net). 5A conjoined-split 40% 4x12 ortholinear keyboard made and sold by Montsinger. [More info on Montsinger.net](https://montsinger.net).
6 6
7* Keyboard Maintainer: [Rossman360](https://github.com/rossman360) 7* Keyboard Maintainer: [Rossman360](https://github.com/rossman360)
8* Hardware Supported: Pro Micro, Elite-C 8* Hardware Supported: Rebound rev1 or rev2; Pro Micro or Elite-C
9* Hardware Availability: [Montsinger.net](https://montsinger.net) 9* Hardware Availability: [Montsinger.net](https://montsinger.net)
10 10
11Make example for this keyboard (after setting up your build environment): 11Make example for this keyboard (after setting up your build environment):
12 12
13 make montsinger/rebound:default 13 make montsinger/rebound/rev1:default # for rev1
14 make montsinger/rebound/rev2:default # for rev2
14 15
15See 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) \ No newline at end of file 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) \ No newline at end of file
diff --git a/keyboards/montsinger/rebound/rebound.h b/keyboards/montsinger/rebound/rebound.h
index 0ba4c51ce..c9fc26277 100644
--- a/keyboards/montsinger/rebound/rebound.h
+++ b/keyboards/montsinger/rebound/rebound.h
@@ -14,26 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#pragma once 17#pragma once
18 18
19#include "quantum.h" 19#include "quantum.h"
20 20
21/* This is a shortcut to help you visually see your layout. 21#if defined(KEYBOARD_montsinger_rebound_rev1)
22 * The first section contains all of the arguments representing the 22 #include "rev1.h"
23 * layout of the board and position of the keys. 23#elif defined(KEYBOARD_montsinger_rebound_rev2)
24 * 24 #include "rev2.h"
25 * The second converts the arguments into a two-dimensional array which 25#endif
26 * represents the switch matrix.
27 */
28
29#define LAYOUT_ortho_4x12( \
30 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
31 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
32 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,\
33 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B\
34 ) { \
35 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
36 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
37 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
38 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B } \
39}
diff --git a/keyboards/montsinger/rebound/config.h b/keyboards/montsinger/rebound/rev1/config.h
index 271664d96..271664d96 100644
--- a/keyboards/montsinger/rebound/config.h
+++ b/keyboards/montsinger/rebound/rev1/config.h
diff --git a/keyboards/montsinger/rebound/rev1/info.json b/keyboards/montsinger/rebound/rev1/info.json
new file mode 100644
index 000000000..5865aa66a
--- /dev/null
+++ b/keyboards/montsinger/rebound/rev1/info.json
@@ -0,0 +1,61 @@
1{
2 "keyboard": "montsinger/rebound/rev1",
3 "url": "https://montsinger.net",
4 "maintainer": "rossman360",
5 "width": 13,
6 "height": 4,
7 "layouts": {
8 "LAYOUT_ortho_4x12": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1, "y":0},
12 {"x":2, "y":0},
13 {"x":3, "y":0},
14 {"x":4, "y":0},
15 {"x":5, "y":0},
16 {"x":7, "y":0},
17 {"x":8, "y":0},
18 {"x":9, "y":0},
19 {"x":10, "y":0},
20 {"x":11, "y":0},
21 {"x":12, "y":0},
22 {"x":0, "y":1},
23 {"x":1, "y":1},
24 {"x":2, "y":1},
25 {"x":3, "y":1},
26 {"x":4, "y":1},
27 {"x":5, "y":1},
28 {"x":7, "y":1},
29 {"x":8, "y":1},
30 {"x":9, "y":1},
31 {"x":10, "y":1},
32 {"x":11, "y":1},
33 {"x":12, "y":1},
34 {"x":0, "y":2},
35 {"x":1, "y":2},
36 {"x":2, "y":2},
37 {"x":3, "y":2},
38 {"x":4, "y":2},
39 {"x":5, "y":2},
40 {"x":7, "y":2},
41 {"x":8, "y":2},
42 {"x":9, "y":2},
43 {"x":10, "y":2},
44 {"x":11, "y":2},
45 {"x":12, "y":2},
46 {"x":0, "y":3},
47 {"x":1, "y":3},
48 {"x":2, "y":3},
49 {"x":3, "y":3},
50 {"x":4, "y":3},
51 {"x":5, "y":3},
52 {"x":7, "y":3},
53 {"x":8, "y":3},
54 {"x":9, "y":3},
55 {"x":10, "y":3},
56 {"x":11, "y":3},
57 {"x":12, "y":3}
58 ]
59 }
60 }
61} \ No newline at end of file
diff --git a/keyboards/montsinger/rebound/keymaps/curry/keymap.c b/keyboards/montsinger/rebound/rev1/keymaps/curry/keymap.c
index 1b8f4f4ac..1b8f4f4ac 100644
--- a/keyboards/montsinger/rebound/keymaps/curry/keymap.c
+++ b/keyboards/montsinger/rebound/rev1/keymaps/curry/keymap.c
diff --git a/keyboards/montsinger/rebound/keymaps/curry/rules.mk b/keyboards/montsinger/rebound/rev1/keymaps/curry/rules.mk
index 36225f7ba..36225f7ba 100644
--- a/keyboards/montsinger/rebound/keymaps/curry/rules.mk
+++ b/keyboards/montsinger/rebound/rev1/keymaps/curry/rules.mk
diff --git a/keyboards/montsinger/rebound/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev1/keymaps/default/keymap.c
index 94d9ef91d..94d9ef91d 100644
--- a/keyboards/montsinger/rebound/keymaps/default/keymap.c
+++ b/keyboards/montsinger/rebound/rev1/keymaps/default/keymap.c
diff --git a/keyboards/montsinger/rebound/rev1/rev1.h b/keyboards/montsinger/rebound/rev1/rev1.h
new file mode 100644
index 000000000..a4e180e2e
--- /dev/null
+++ b/keyboards/montsinger/rebound/rev1/rev1.h
@@ -0,0 +1,39 @@
1/* Copyright 2020 Ross Montsinger
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#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 * The first section contains all of the arguments representing the
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28
29#define LAYOUT_ortho_4x12( \
30 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
31 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
32 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,\
33 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B\
34 ) { \
35 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
36 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
37 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
38 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B } \
39}
diff --git a/keyboards/montsinger/rebound/rev1/rules.mk b/keyboards/montsinger/rebound/rev1/rules.mk
new file mode 100644
index 000000000..9487213e8
--- /dev/null
+++ b/keyboards/montsinger/rebound/rev1/rules.mk
@@ -0,0 +1,32 @@
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
13
14BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
15MOUSEKEY_ENABLE = yes # Mouse keys
16EXTRAKEY_ENABLE = yes # Audio control and System control
17CONSOLE_ENABLE = yes # Console for debug
18COMMAND_ENABLE = yes # Commands for debug and configuration
19# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
20SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
21# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
22NKRO_ENABLE = no # USB Nkey Rollover
23BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
24RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
25MIDI_ENABLE = no # MIDI support
26BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
27AUDIO_ENABLE = no # Audio output on port C6
28FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
29HD44780_ENABLE = no # Enable support for HD44780 based LCDs
30
31LAYOUTS = ortho_4x12
32LAYOUTS_HAS_RGB = no \ No newline at end of file
diff --git a/keyboards/montsinger/rebound/rev2/config.h b/keyboards/montsinger/rebound/rev2/config.h
new file mode 100644
index 000000000..39f5206f7
--- /dev/null
+++ b/keyboards/montsinger/rebound/rev2/config.h
@@ -0,0 +1,65 @@
1/*
2Copyright 2020 Ross Montsinger
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17#include "config_common.h"
18
19/* USB Device descriptor parameter */
20
21#define VENDOR_ID 0xFEED
22#define PRODUCT_ID 0x552F
23#define DEVICE_VER 0x0002
24#define MANUFACTURER Montsinger
25#define PRODUCT Rebound
26#define DESCRIPTION "A conjoined Let's Split"
27
28/* key matrix size */
29
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 12
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on
40diode)
41 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
42 *
43 */
44
45#define MATRIX_ROW_PINS { D1, B5, B2, B6, B0 }
46#define MATRIX_COL_PINS { D0, D4, C6, D7, E6, B4, B3, B1, F7, F6, F5, F4 }
47#define UNUSED_PINS { }
48
49#define ENCODERS_PAD_A { D2 }
50#define ENCODERS_PAD_B { D3 }
51
52/* COL2ROW, ROW2COL*/
53#define DIODE_DIRECTION ROW2COL
54
55/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
56#define DEBOUNCE 5
57
58/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
59#define LOCKING_SUPPORT_ENABLE
60/* Locking resynchronize hack */
61#define LOCKING_RESYNC_ENABLE
62
63/* Bootmagic Lite key configuration */
64// #define BOOTMAGIC_LITE_ROW 0
65// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/montsinger/rebound/rev2/info.json b/keyboards/montsinger/rebound/rev2/info.json
new file mode 100644
index 000000000..3c9cdbe82
--- /dev/null
+++ b/keyboards/montsinger/rebound/rev2/info.json
@@ -0,0 +1,128 @@
1{
2 "keyboard":"montsinger/rebound/rev2",
3 "url": "https://montsinger.net",
4 "maintainer": "rossman360",
5 "width": 13,
6 "height": 4,
7 "layouts": {
8 "LAYOUT_all": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1, "y":0},
12 {"x":2, "y":0},
13 {"x":3, "y":0},
14 {"x":4, "y":0},
15 {"x":5, "y":0},
16
17 {"x":7, "y":0},
18 {"x":8, "y":0},
19 {"x":9, "y":0},
20 {"x":10, "y":0},
21 {"x":11, "y":0},
22 {"x":12, "y":0},
23
24 {"x":0, "y":1},
25 {"x":1, "y":1},
26 {"x":2, "y":1},
27 {"x":3, "y":1},
28 {"x":4, "y":1},
29 {"x":5, "y":1},
30
31 {"x":7, "y":1},
32 {"x":8, "y":1},
33 {"x":9, "y":1},
34 {"x":10, "y":1},
35 {"x":11, "y":1},
36 {"x":12, "y":1},
37
38 {"x":0, "y":2},
39 {"x":1, "y":2},
40 {"x":2, "y":2},
41 {"x":3, "y":2},
42 {"x":4, "y":2},
43 {"x":5, "y":2},
44
45 {"x":7, "y":2},
46 {"x":8, "y":2},
47 {"x":9, "y":2},
48 {"x":10, "y":2},
49 {"x":11, "y":2},
50 {"x":12, "y":2},
51
52 {"x":0, "y":3},
53 {"x":1, "y":3},
54 {"x":2, "y":3},
55 {"x":3, "y":3},
56 {"x":4, "y":3},
57 {"x":5, "y":3},
58 {"x":6, "y":3},
59 {"x":7, "y":3},
60 {"x":8, "y":3},
61 {"x":9, "y":3},
62 {"x":10, "y":3},
63 {"x":11, "y":3},
64 {"x":12, "y":3}
65 ]
66 },
67 "LAYOUT_ortho_4x12": {
68 "layout": [
69
70 {"x":0, "y":0},
71 {"x":1, "y":0},
72 {"x":2, "y":0},
73 {"x":3, "y":0},
74 {"x":4, "y":0},
75 {"x":5, "y":0},
76
77 {"x":7, "y":0},
78 {"x":8, "y":0},
79 {"x":9, "y":0},
80 {"x":10, "y":0},
81 {"x":11, "y":0},
82 {"x":12, "y":0},
83
84 {"x":0, "y":1},
85 {"x":1, "y":1},
86 {"x":2, "y":1},
87 {"x":3, "y":1},
88 {"x":4, "y":1},
89 {"x":5, "y":1},
90
91 {"x":7, "y":1},
92 {"x":8, "y":1},
93 {"x":9, "y":1},
94 {"x":10, "y":1},
95 {"x":11, "y":1},
96 {"x":12, "y":1},
97
98 {"x":0, "y":2},
99 {"x":1, "y":2},
100 {"x":2, "y":2},
101 {"x":3, "y":2},
102 {"x":4, "y":2},
103 {"x":5, "y":2},
104
105 {"x":7, "y":2},
106 {"x":8, "y":2},
107 {"x":9, "y":2},
108 {"x":10, "y":2},
109 {"x":11, "y":2},
110 {"x":12, "y":2},
111
112 {"x":0, "y":3},
113 {"x":1, "y":3},
114 {"x":2, "y":3},
115 {"x":3, "y":3},
116 {"x":4, "y":3},
117 {"x":5, "y":3},
118
119 {"x":7, "y":3},
120 {"x":8, "y":3},
121 {"x":9, "y":3},
122 {"x":10, "y":3},
123 {"x":11, "y":3},
124 {"x":12, "y":3}
125 ]
126 }
127 }
128} \ No newline at end of file
diff --git a/keyboards/montsinger/rebound/rev2/keymaps/default/keymap.c b/keyboards/montsinger/rebound/rev2/keymaps/default/keymap.c
new file mode 100644
index 000000000..57feb1972
--- /dev/null
+++ b/keyboards/montsinger/rebound/rev2/keymaps/default/keymap.c
@@ -0,0 +1,161 @@
1#include QMK_KEYBOARD_H
2
3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
5// Layer names don't all need to be of the same length, obviously, and you can also skip them
6// entirely and just use numbers.
7
8enum layer_names {
9 _QWERTY,
10 _COLEMAK,
11 _DVORAK,
12 _LOWER,
13 _RAISE,
14 _ADJUST
15};
16
17enum custom_keycodes {
18 QWERTY = SAFE_RANGE,
19 COLEMAK,
20 DVORAK
21};
22
23#define LOWER MO(_LOWER)
24#define RAISE MO(_RAISE)
25#define ADJUST MO(_ADJUST)
26
27const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
28/* Qwerty
29 * ,-----------------------------------------------------------------------------------.
30 * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
31 * |------+------+------+------+------+-------------+------+------+------+------+------|
32 * | Esc | A | S | D | F | G | H | J | K | L | ; | " |
33 * |------+------+------+------+------+------|------+------+------+------+------+------|
34 * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter |
35 * |------+------+------+------+------+------+------+------+------+------+------+------|
36 * |Adjust| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right |
37 * `-----------------------------------------------------------------------------------'
38 */
39[_QWERTY] = LAYOUT_all(
40 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
41 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
42 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
43 ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_ENT, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
44),
45
46/* Colemak
47 * ,-----------------------------------------------------------------------------------.
48 * | Tab | Q | W | F | P | G | J | L | U | Y | ; | Bksp |
49 * |------+------+------+------+------+-------------+------+------+------+------+------|
50 * | Esc | A | R | S | T | D | H | N | E | I | O | ' |
51 * |------+------+------+------+------+------|------+------+------+------+------+------|
52 * | Shift| Z | X | C | V | B | K | M | , | . | / |Enter |
53 * |------+------+------+------+------+------+------+------+------+------+------+------|
54 * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right |
55 * `-----------------------------------------------------------------------------------'
56 */
57[_COLEMAK] = LAYOUT_all(
58 KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC,
59 KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT,
60 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
61 ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_ENT, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
62),
63
64/* Dvorak
65 * ,-----------------------------------------------------------------------------------.
66 * | Tab | ' | , | . | P | Y | F | G | C | R | L | Bksp |
67 * |------+------+------+------+------+-------------+------+------+------+------+------|
68 * | Esc | A | O | E | U | I | D | H | T | N | S | / |
69 * |------+------+------+------+------+------|------+------+------+------+------+------|
70 * | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter |
71 * |------+------+------+------+------+------+------+------+------+------+------+------|
72 * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right |
73 * `-----------------------------------------------------------------------------------'
74 */
75[_DVORAK] = LAYOUT_all(
76 KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC,
77 KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH,
78 KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT ,
79 ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_ENT, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
80),
81
82/* Lower
83 * ,-----------------------------------------------------------------------------------.
84 * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
85 * |------+------+------+------+------+-------------+------+------+------+------+------|
86 * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | |
87 * |------+------+------+------+------+------|------+------+------+------+------+------|
88 * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | |
89 * |------+------+------+------+------+------+------+------+------+------+------+------|
90 * | | | | | | | | Next | Vol- | Vol+ | Play |
91 * `-----------------------------------------------------------------------------------'
92 */
93[_LOWER] = LAYOUT_all(
94 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
95 KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
96 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______,
97 _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
98),
99
100/* Raise
101 * ,-----------------------------------------------------------------------------------.
102 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
103 * |------+------+------+------+------+-------------+------+------+------+------+------|
104 * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ |
105 * |------+------+------+------+------+------|------+------+------+------+------+------|
106 * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | | | |
107 * |------+------+------+------+------+------+------+------+------+------+------+------|
108 * | | | | | | | | Next | Vol- | Vol+ | Play |
109 * `-----------------------------------------------------------------------------------'
110 */
111[_RAISE] = LAYOUT_all(
112 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
113 KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
114 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______,
115 _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
116),
117
118/* Adjust (Lower + Raise)
119 * ,-----------------------------------------------------------------------------------.
120 * | | Reset| | | | | | | | | | Del |
121 * |------+------+------+------+------+-------------+------+------+------+------+------|
122 * | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | |
123 * |------+------+------+------+------+------|------+------+------+------+------+------|
124 * | | | | | | | | | | | | |
125 * |------+------+------+------+------+------+------+------+------+------+------+------|
126 * | | | | | | | | | | | |
127 * `-----------------------------------------------------------------------------------'
128 */
129[_ADJUST] = LAYOUT_all(
130 _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL,
131 _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______,
132 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
133 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
134)
135
136
137};
138
139layer_state_t layer_state_set_user(layer_state_t state) {
140 return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
141}
142bool process_record_user(uint16_t keycode, keyrecord_t *record) {
143 switch (keycode) {
144 case QWERTY:
145 if (record->event.pressed) {
146 set_single_persistent_default_layer(_QWERTY);
147 }
148 break;
149 case COLEMAK:
150 if (record->event.pressed) {
151 set_single_persistent_default_layer(_COLEMAK);
152 }
153 break;
154 case DVORAK:
155 if (record->event.pressed) {
156 set_single_persistent_default_layer(_DVORAK);
157 }
158 break;
159 }
160 return true;
161}
diff --git a/keyboards/montsinger/rebound/rev2/keymaps/rossman360/keymap.c b/keyboards/montsinger/rebound/rev2/keymaps/rossman360/keymap.c
new file mode 100644
index 000000000..23bd7e4ec
--- /dev/null
+++ b/keyboards/montsinger/rebound/rev2/keymaps/rossman360/keymap.c
@@ -0,0 +1,57 @@
1#include QMK_KEYBOARD_H
2#include "rossman360.h"
3
4#define PGMOD LT(_NUM, KC_PGDN)
5#define TABMOD LT(_FN1, KC_TAB)
6#define SPCMOD LT(_FN1, KC_SPACE)
7#define ENTMOD LT(_FN2, KC_ENTER)
8#define ESCMOD LT(_NUM, KC_ESC)
9#define RSMOD LT(_FN1, KC_RSHIFT)
10
11enum layer_names {
12 _BASE,
13 _DEL,
14 _FN1,
15 _FN2,
16 _NUM,
17};
18
19
20
21const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
22
23[_BASE] = LAYOUT_all(
24 KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , NTAB ,
25 JUMPBACK, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT,
26 KC_LSFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_MINS,
27 CMDBSP , ALTDEL , KC_NO , CTRLSP , TABMOD , PGMOD , KC_Y , ENTMOD , SPCMOD , MO(_DEL),KC_NO , KC_BSPC, KC_DEL
28 ),
29
30[_FN1] = LAYOUT_all(
31 _______, TAB1 , TAB2 , TAB3 , TAB4 , _______, _______, UNDO , _______, _______, _______, CTAB ,
32 KC_CAPS, _______, _______, _______, _______, _______, KC_HOME, KC_LEFT, KC_UP , KC_RIGHT,KC_END , KC_NO ,
33 _______, _______, XPANDR , _______, _______, _______, _______, PMERGE , KC_DOWN, _______, _______, _______,
34 WREFRESH,_______, _______, _______, LWORD , RWORD , KC_Y , RVOLD , RVOLU , _______, _______, _______, _______
35 ),
36
37[_FN2] = LAYOUT_all(
38 _______, SPEAK1 , SPEAK2 , SPEAK3 , SPEAK4 , _______, _______, _______, _______, _______, _______, _______,
39 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
40 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
41 _______, _______, _______, _______, PARADOWN, CSPEAK, KC_Y , _______, _______, _______, _______, _______, _______
42 ),
43
44[_DEL] = LAYOUT_all(
45 _______, _______, _______, _______, _______, _______, _______, UNDO , _______, _______, _______, CTAB ,
46 REMCAPS, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_UP ,KC_RIGHT, _______, _______,
47 _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, _______,
48 _______, _______, _______, KC_DEL , KC_BSPC, BWORD , KC_Y , _______, _______, _______, _______, _______, _______
49 ),
50
51[_NUM] = LAYOUT_all(
52 _______, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_MINS, KC_EQL,
53 KC_CAPS, _______, _______, _______, _______, _______, KC_MINS, KC_4 , KC_5 , KC_6 , KC_COLN, _______,
54 _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_1 , KC_2 , KC_3 , KC_BSLS, _______,
55 _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_Y , _______, _______, KC_0 , _______, _______, _______
56 )
57};
diff --git a/keyboards/montsinger/rebound/rev2/rev2.h b/keyboards/montsinger/rebound/rev2/rev2.h
new file mode 100644
index 000000000..16e0da23c
--- /dev/null
+++ b/keyboards/montsinger/rebound/rev2/rev2.h
@@ -0,0 +1,53 @@
1/* Copyright 2020 Ross Montsinger
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#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 * The first section contains all of the arguments representing the
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28
29#define LAYOUT_ortho_4x12( \
30 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
31 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
32 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,\
33 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B\
34 ) { \
35 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
36 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
37 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
38 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B }, \
39 { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \
40}
41
42#define LAYOUT_all( \
43 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
44 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
45 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,\
46 K30, K31, K32, K33, K34, K35, K40, K36, K37, K38, K39, K3A, K3B\
47 ) { \
48 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
49 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
50 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
51 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B }, \
52 { K40, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \
53}
diff --git a/keyboards/montsinger/rebound/rev2/rules.mk b/keyboards/montsinger/rebound/rev2/rules.mk
new file mode 100644
index 000000000..f5505e25c
--- /dev/null
+++ b/keyboards/montsinger/rebound/rev2/rules.mk
@@ -0,0 +1,33 @@
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
13
14BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
15MOUSEKEY_ENABLE = yes # Mouse keys
16EXTRAKEY_ENABLE = yes # Audio control and System control
17CONSOLE_ENABLE = yes # Console for debug
18COMMAND_ENABLE = yes # Commands for debug and configuration
19# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
20SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
21# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
22NKRO_ENABLE = no # USB Nkey Rollover
23BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
24RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
25MIDI_ENABLE = no # MIDI support
26BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
27AUDIO_ENABLE = no # Audio output on port C6
28FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
29HD44780_ENABLE = no # Enable support for HD44780 based LCDs
30ENCODER_ENABLE = yes
31
32LAYOUTS = ortho_4x12
33LAYOUTS_HAS_RGB = no \ No newline at end of file
diff --git a/keyboards/montsinger/rebound/rules.mk b/keyboards/montsinger/rebound/rules.mk
index efa313303..d277d184e 100644
--- a/keyboards/montsinger/rebound/rules.mk
+++ b/keyboards/montsinger/rebound/rules.mk
@@ -1,32 +1 @@
1# MCU name DEFAULT_FOLDER = montsinger/rebound/rev1
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
13
14BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
15MOUSEKEY_ENABLE = yes # Mouse keys
16EXTRAKEY_ENABLE = yes # Audio control and System control
17CONSOLE_ENABLE = yes # Console for debug
18COMMAND_ENABLE = yes # Commands for debug and configuration
19# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
20SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
21# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
22NKRO_ENABLE = no # USB Nkey Rollover
23BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
24RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
25MIDI_ENABLE = no # MIDI support
26BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
27AUDIO_ENABLE = no # Audio output on port C6
28FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
29HD44780_ENABLE = no # Enable support for HD44780 based LCDs
30
31LAYOUTS = ortho_4x12
32LAYOUTS_HAS_RGB=no