aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlisGraveNil <63020540+AlisGraveNil@users.noreply.github.com>2021-07-20 10:34:56 -0600
committerGitHub <noreply@github.com>2021-07-20 09:34:56 -0700
commit4f880801ecb781c74ccf4e4f80a2097d67bc27c2 (patch)
tree91adf3f6c29bf991abe6999391cff668483fad25
parent9d523499af110b58b1ec419477841c19985f25b9 (diff)
downloadqmk_firmware-4f880801ecb781c74ccf4e4f80a2097d67bc27c2.tar.gz
qmk_firmware-4f880801ecb781c74ccf4e4f80a2097d67bc27c2.zip
[Keyboard] luggage rack (#12959)
-rw-r--r--keyboards/clawsome/luggage_rack/config.h45
-rw-r--r--keyboards/clawsome/luggage_rack/info.json26
-rw-r--r--keyboards/clawsome/luggage_rack/keymap/default/keymap.c29
-rw-r--r--keyboards/clawsome/luggage_rack/luggage_rack.c17
-rw-r--r--keyboards/clawsome/luggage_rack/luggage_rack.h38
-rw-r--r--keyboards/clawsome/luggage_rack/readme.md13
-rw-r--r--keyboards/clawsome/luggage_rack/rules.mk22
7 files changed, 190 insertions, 0 deletions
diff --git a/keyboards/clawsome/luggage_rack/config.h b/keyboards/clawsome/luggage_rack/config.h
new file mode 100644
index 000000000..32b3ea456
--- /dev/null
+++ b/keyboards/clawsome/luggage_rack/config.h
@@ -0,0 +1,45 @@
1/* Copyright 2021 AAClawson (AlisGraveNil)
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 "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x7767
23#define PRODUCT_ID 0x0000
24#define DEVICE_VER 0x0001
25#define MANUFACTURER AlisGraveNil
26#define PRODUCT luggage_rack
27
28/* key matrix size */
29#define MATRIX_ROWS 9
30#define MATRIX_COLS 3
31
32/*
33 * Keyboard Matrix Assignments
34 *
35 * Change this to how you wired your keyboard
36 * COLS: AVR pins used for columns, left to right
37 * ROWS: AVR pins used for rows, top to bottom
38 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
39 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
40 *
41 */
42#define MATRIX_ROW_PINS { D3, F4, B0, B2, F7, B6, B1, F5, F6 }
43#define MATRIX_COL_PINS { D4, D0, D1 }
44
45#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/clawsome/luggage_rack/info.json b/keyboards/clawsome/luggage_rack/info.json
new file mode 100644
index 000000000..53905b50e
--- /dev/null
+++ b/keyboards/clawsome/luggage_rack/info.json
@@ -0,0 +1,26 @@
1{
2 "keyboard_name": "luggage_rack",
3 "url": "www.clawboards.xyz",
4 "maintainer": "AlisGraveNil",
5 "width": 3,
6 "height": 6.5,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"label":"K00 (D3,D4)", "x":0, "y":0},
11 {"label":"K11 (F4,D0)", "x":1, "y":0},
12 {"label":"K02 (D3,D1)", "x":2, "y":0},
13 {"label":"K20 (B0,D4)", "x":0, "y":1.5},
14 {"label":"K31 (B2,D0)", "x":1, "y":1.5},
15 {"label":"K22 (B0,D1)", "x":2, "y":1.5},
16 {"label":"K40 (F7,D4)", "x":0, "y":2.5},
17 {"label":"K51 (B6,D0)", "x":1, "y":2.5},
18 {"label":"K42 (F7,D1)", "x":2, "y":2.5},
19 {"label":"K61 (B1,D0)", "x":1, "y":4.5},
20 {"label":"K70 (F5,D4)", "x":0, "y":5.5},
21 {"label":"K81 (F6,D0)", "x":1, "y":5.5},
22 {"label":"K72 (F5,D1)", "x":2, "y":5.5}
23 ]
24 }
25 }
26}
diff --git a/keyboards/clawsome/luggage_rack/keymap/default/keymap.c b/keyboards/clawsome/luggage_rack/keymap/default/keymap.c
new file mode 100644
index 000000000..5d7871730
--- /dev/null
+++ b/keyboards/clawsome/luggage_rack/keymap/default/keymap.c
@@ -0,0 +1,29 @@
1/* Copyright 2021 AAClawson (AlisGraveNil)
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#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT(
21 KC_PSCR, KC_SLCK, KC_PAUS,
22 KC_INS, KC_HOME, KC_PGUP,
23 KC_DEL, KC_END, KC_PGDN,
24
25 KC_UP,
26 KC_LEFT, KC_DOWN, KC_RGHT
27 ),
28
29};
diff --git a/keyboards/clawsome/luggage_rack/luggage_rack.c b/keyboards/clawsome/luggage_rack/luggage_rack.c
new file mode 100644
index 000000000..3a49c797d
--- /dev/null
+++ b/keyboards/clawsome/luggage_rack/luggage_rack.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 AAClawson (AlisGraveNil)
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#include "luggage_rack.h"
diff --git a/keyboards/clawsome/luggage_rack/luggage_rack.h b/keyboards/clawsome/luggage_rack/luggage_rack.h
new file mode 100644
index 000000000..20c4947bd
--- /dev/null
+++ b/keyboards/clawsome/luggage_rack/luggage_rack.h
@@ -0,0 +1,38 @@
1/* Copyright 2021 AAClawson (AlisGraveNil)
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#define LAYOUT( \
22 K00, K11, K02, \
23 K20, K31, K22, \
24 K40, K51, K42, \
25 \
26 K61, \
27 K70, K81, K72 \
28) { \
29 { K00, KC_NO, K02 }, \
30 { KC_NO, K11, KC_NO }, \
31 { K20, KC_NO, K22 }, \
32 { KC_NO, K31, KC_NO }, \
33 { K40, KC_NO, K42 }, \
34 { KC_NO, K51, KC_NO }, \
35 { KC_NO, K61, KC_NO }, \
36 { K70, KC_NO, K72 }, \
37 { KC_NO, K81, KC_NO }, \
38}
diff --git a/keyboards/clawsome/luggage_rack/readme.md b/keyboards/clawsome/luggage_rack/readme.md
new file mode 100644
index 000000000..69856494d
--- /dev/null
+++ b/keyboards/clawsome/luggage_rack/readme.md
@@ -0,0 +1,13 @@
1# Luggage Rack
2
3This is 13-key macropad based on the nav cluster of a 100% layout. This is only available as a break-away item if you get a HatchbackTKL keyboard.
4
5- Keyboard Maintainer: [AAClawson](https://github.com/AlisGraveNil)
6- Hardware Supported: Luggage Rack, Pro-Micro, nice!nano, Elite-C
7- Hardware Availability: Only available in conjunction with the Hatchback
8
9Make example for this keyboard (after setting up your build environment):
10
11 make clawsome/luggage_rack:default
12
13See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/clawsome/luggage_rack/rules.mk b/keyboards/clawsome/luggage_rack/rules.mk
new file mode 100644
index 000000000..6b8d1b5f0
--- /dev/null
+++ b/keyboards/clawsome/luggage_rack/rules.mk
@@ -0,0 +1,22 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = caterina
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = yes # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output