mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 12:46:41 +00:00
[Keyboard] luggage rack (#12959)
This commit is contained in:
parent
9d523499af
commit
4f880801ec
45
keyboards/clawsome/luggage_rack/config.h
Normal file
45
keyboards/clawsome/luggage_rack/config.h
Normal file
@ -0,0 +1,45 @@
|
||||
/* Copyright 2021 AAClawson (AlisGraveNil)
|
||||
*
|
||||
* 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 0x7767
|
||||
#define PRODUCT_ID 0x0000
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER AlisGraveNil
|
||||
#define PRODUCT luggage_rack
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 9
|
||||
#define MATRIX_COLS 3
|
||||
|
||||
/*
|
||||
* 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 { D3, F4, B0, B2, F7, B6, B1, F5, F6 }
|
||||
#define MATRIX_COL_PINS { D4, D0, D1 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
26
keyboards/clawsome/luggage_rack/info.json
Normal file
26
keyboards/clawsome/luggage_rack/info.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"keyboard_name": "luggage_rack",
|
||||
"url": "www.clawboards.xyz",
|
||||
"maintainer": "AlisGraveNil",
|
||||
"width": 3,
|
||||
"height": 6.5,
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"K00 (D3,D4)", "x":0, "y":0},
|
||||
{"label":"K11 (F4,D0)", "x":1, "y":0},
|
||||
{"label":"K02 (D3,D1)", "x":2, "y":0},
|
||||
{"label":"K20 (B0,D4)", "x":0, "y":1.5},
|
||||
{"label":"K31 (B2,D0)", "x":1, "y":1.5},
|
||||
{"label":"K22 (B0,D1)", "x":2, "y":1.5},
|
||||
{"label":"K40 (F7,D4)", "x":0, "y":2.5},
|
||||
{"label":"K51 (B6,D0)", "x":1, "y":2.5},
|
||||
{"label":"K42 (F7,D1)", "x":2, "y":2.5},
|
||||
{"label":"K61 (B1,D0)", "x":1, "y":4.5},
|
||||
{"label":"K70 (F5,D4)", "x":0, "y":5.5},
|
||||
{"label":"K81 (F6,D0)", "x":1, "y":5.5},
|
||||
{"label":"K72 (F5,D1)", "x":2, "y":5.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
29
keyboards/clawsome/luggage_rack/keymap/default/keymap.c
Normal file
29
keyboards/clawsome/luggage_rack/keymap/default/keymap.c
Normal file
@ -0,0 +1,29 @@
|
||||
/* Copyright 2021 AAClawson (AlisGraveNil)
|
||||
*
|
||||
* 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(
|
||||
KC_PSCR, KC_SLCK, KC_PAUS,
|
||||
KC_INS, KC_HOME, KC_PGUP,
|
||||
KC_DEL, KC_END, KC_PGDN,
|
||||
|
||||
KC_UP,
|
||||
KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
};
|
17
keyboards/clawsome/luggage_rack/luggage_rack.c
Normal file
17
keyboards/clawsome/luggage_rack/luggage_rack.c
Normal file
@ -0,0 +1,17 @@
|
||||
/* Copyright 2021 AAClawson (AlisGraveNil)
|
||||
*
|
||||
* 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 "luggage_rack.h"
|
38
keyboards/clawsome/luggage_rack/luggage_rack.h
Normal file
38
keyboards/clawsome/luggage_rack/luggage_rack.h
Normal file
@ -0,0 +1,38 @@
|
||||
/* Copyright 2021 AAClawson (AlisGraveNil)
|
||||
*
|
||||
* 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"
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K11, K02, \
|
||||
K20, K31, K22, \
|
||||
K40, K51, K42, \
|
||||
\
|
||||
K61, \
|
||||
K70, K81, K72 \
|
||||
) { \
|
||||
{ K00, KC_NO, K02 }, \
|
||||
{ KC_NO, K11, KC_NO }, \
|
||||
{ K20, KC_NO, K22 }, \
|
||||
{ KC_NO, K31, KC_NO }, \
|
||||
{ K40, KC_NO, K42 }, \
|
||||
{ KC_NO, K51, KC_NO }, \
|
||||
{ KC_NO, K61, KC_NO }, \
|
||||
{ K70, KC_NO, K72 }, \
|
||||
{ KC_NO, K81, KC_NO }, \
|
||||
}
|
13
keyboards/clawsome/luggage_rack/readme.md
Normal file
13
keyboards/clawsome/luggage_rack/readme.md
Normal file
@ -0,0 +1,13 @@
|
||||
# Luggage Rack
|
||||
|
||||
This 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.
|
||||
|
||||
- Keyboard Maintainer: [AAClawson](https://github.com/AlisGraveNil)
|
||||
- Hardware Supported: Luggage Rack, Pro-Micro, nice!nano, Elite-C
|
||||
- Hardware Availability: Only available in conjunction with the Hatchback
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make clawsome/luggage_rack:default
|
||||
|
||||
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/clawsome/luggage_rack/rules.mk
Normal file
22
keyboards/clawsome/luggage_rack/rules.mk
Normal file
@ -0,0 +1,22 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = caterina
|
||||
|
||||
# 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 = yes # 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
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
Loading…
Reference in New Issue
Block a user