aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kingly_keys/little_foot
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kingly_keys/little_foot')
-rw-r--r--keyboards/kingly_keys/little_foot/config.h58
-rw-r--r--keyboards/kingly_keys/little_foot/info.json16
-rw-r--r--keyboards/kingly_keys/little_foot/keymaps/default/keymap.c40
-rw-r--r--keyboards/kingly_keys/little_foot/little_foot.c1
-rw-r--r--keyboards/kingly_keys/little_foot/little_foot.h35
-rw-r--r--keyboards/kingly_keys/little_foot/readme.md17
-rw-r--r--keyboards/kingly_keys/little_foot/rules.mk25
7 files changed, 192 insertions, 0 deletions
diff --git a/keyboards/kingly_keys/little_foot/config.h b/keyboards/kingly_keys/little_foot/config.h
new file mode 100644
index 000000000..e0bd0daf9
--- /dev/null
+++ b/keyboards/kingly_keys/little_foot/config.h
@@ -0,0 +1,58 @@
1/* Copyright 2019 Garret G. (TheRoyalSweatshirt)
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/>.#pragma once
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0xFEED
23#define PRODUCT_ID 0x6060
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Kingly-Keys
26#define PRODUCT The Little Foot
27#define DESCRIPTION A Mighty Small, 45-Percent, Ortholinear Keyboard.
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 10
32
33/* key matrix pins */
34#define MATRIX_ROW_PINS { F6, B6, B2, B3, B1 }
35#define MATRIX_COL_PINS { F5, F7, B5, B4, E6, D7, C6, D4, D0, D1 }
36#define UNUSED_PINS
37
38/* COL2ROW or ROW2COL */
39#define DIODE_DIRECTION COL2ROW
40
41/* Set 0 if debouncing isn't needed */
42#define DEBOUNCE 5
43#define FORCE_NKRO
44
45/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
46#define LOCKING_SUPPORT_ENABLE
47
48/* Locking resynchronize hack */
49#define LOCKING_RESYNC_ENABLE
50
51/* ws2812 RGB LED */
52#define RGB_DI_PIN F4
53#define RGBLED_NUM 10 // Number of LEDs
54
55#define RGBLIGHT_ANIMATIONS
56#define RGBLIGHT_HUE_STEP 6
57#define RGBLIGHT_SAT_STEP 4
58#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/kingly_keys/little_foot/info.json b/keyboards/kingly_keys/little_foot/info.json
new file mode 100644
index 000000000..6a8d50894
--- /dev/null
+++ b/keyboards/kingly_keys/little_foot/info.json
@@ -0,0 +1,16 @@
1{
2 "keyboard_name": "Little Foot",
3 "url": "",
4 "maintainer": "TheRoyalSweatshirt",
5 "width": 10,
6 "height": 5,
7 "layouts": {
8 "LAYOUT_split_space_base": {
9 "key_count": 44,
10 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":1.5, "y":4, "w":1.5}, {"x":3, "y":4, "w":2}, {"x":5, "y":4, "w":2}, {"x":7, "y":4, "w":1.5}]
11 },
12 "LAYOUT_big_space_base": {
13 "key_count": 41,
14 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":1.5, "y":4, "w":7}]
15 }
16}
diff --git a/keyboards/kingly_keys/little_foot/keymaps/default/keymap.c b/keyboards/kingly_keys/little_foot/keymaps/default/keymap.c
new file mode 100644
index 000000000..e85e0d6c4
--- /dev/null
+++ b/keyboards/kingly_keys/little_foot/keymaps/default/keymap.c
@@ -0,0 +1,40 @@
1
2#include QMK_KEYBOARD_H
3
4// Layer names
5enum{
6 // - Base layer:
7 _BASE,
8 // - Symbols, numbers, and functions:
9 _FN,
10 // - Alternate Function layer:
11 _LN
12};
13
14
15const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
16
17 [_BASE] = LAYOUT_split_space_base(
18 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
19 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
20 KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
21 KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT,
22 MO(_FN), KC_LSHIFT, KC_SPACE, RGB_MOD
23 ),
24
25 [_FN] = LAYOUT_split_space_base(
26 LT(_LN, KC_ESC), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_BSPC,
27 KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LSFT(KC_MINS), KC_BSLS,
28 KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_QUOT,
29 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_LALT, KC_TRNS, KC_LCTRL
31 ),
32
33 [_LN] = LAYOUT_split_space_base(
34 KC_TRNS, KC_F1, KC_F2, KC_F3, KC_TRNS, KC_TRNS, KC_TRNS, KC_7, KC_8, KC_9,
35 KC_TRNS, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS, KC_TRNS, KC_4, KC_5, KC_6,
36 KC_TRNS, KC_F7, KC_F8, KC_F9, KC_TRNS, KC_TRNS, KC_TRNS, KC_1, KC_2, KC_3,
37 KC_TRNS, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_TRNS,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
39 )
40};
diff --git a/keyboards/kingly_keys/little_foot/little_foot.c b/keyboards/kingly_keys/little_foot/little_foot.c
new file mode 100644
index 000000000..5513b113a
--- /dev/null
+++ b/keyboards/kingly_keys/little_foot/little_foot.c
@@ -0,0 +1 @@
#include "little_foot.h"
diff --git a/keyboards/kingly_keys/little_foot/little_foot.h b/keyboards/kingly_keys/little_foot/little_foot.h
new file mode 100644
index 000000000..860eaeb8f
--- /dev/null
+++ b/keyboards/kingly_keys/little_foot/little_foot.h
@@ -0,0 +1,35 @@
1#pragma once
2
3#include "quantum.h"
4
5#define XXX KC_NO
6
7#define LAYOUT_split_space_base( \
8 k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, \
9 k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, \
10 k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, \
11 k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, \
12 k42, k46, k47, k49 \
13) \
14{ \
15 { k01, k02, k03, k04, k05, k06, k07, k08, k09, k010 }, \
16 { k11, k12, k13, k14, k15, k16, k17, k18, k19, k110 }, \
17 { k21, k22, k23, k24, k25, k26, k27, k28, k29, k210 }, \
18 { k31, k32, k33, k34, k35, k36, k37, k38, k39, k310 }, \
19 { XXX, k42, XXX, XXX, XXX, k46, k47, XXX, k49, XXX } \
20}
21
22#define LAYOUT_big_space_base( \
23 k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, \
24 k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, \
25 k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, \
26 k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, \
27 k46 \
28) \
29{ \
30 { k01, k02, k03, k04, k05, k06, k07, k08, k09, k010 }, \
31 { k11, k12, k13, k14, k15, k16, k17, k18, k19, k110 }, \
32 { k21, k22, k23, k24, k25, k26, k27, k28, k29, k210 }, \
33 { k31, k32, k33, k34, k35, k36, k37, k38, k39, k310 }, \
34 { XXX, k42, XXX, XXX, XXX, k46, XXX, XXX, k49, XXX } \
35}
diff --git a/keyboards/kingly_keys/little_foot/readme.md b/keyboards/kingly_keys/little_foot/readme.md
new file mode 100644
index 000000000..1052952cd
--- /dev/null
+++ b/keyboards/kingly_keys/little_foot/readme.md
@@ -0,0 +1,17 @@
1# Little Foot
2
3![Little_Foot](https://i.imgur.com/M0Usdtg.jpg)
4===
5
6A mighty small keyboard.
7
8Keyboard Maintainer: Garret G. - a.k.a. [The_Royal](https://www.reddit.com/user/The_Royal/) on Reddit, and [TheRoyalSweatshirt](https://github.com/TheRoyalSweatshirt) on GitHub
9Hardware Supported: Little_Foot Rev1.2 & Rev1.4, Pro-Micro, and Elite-C
10Hardware Availability: Through GB or Direct Message
11
12Make example for this keyboard (after setting up your build environment):
13
14 make kingly_keys/little_foot:default
15
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).
17
diff --git a/keyboards/kingly_keys/little_foot/rules.mk b/keyboards/kingly_keys/little_foot/rules.mk
new file mode 100644
index 000000000..0c3011db9
--- /dev/null
+++ b/keyboards/kingly_keys/little_foot/rules.mk
@@ -0,0 +1,25 @@
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
11BOOTLOADER = caterina
12
13# Build Options
14# comment out to disable the options.
15#
16BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
17MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
18EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
19CONSOLE_ENABLE = no # Console for debug(+400)
20COMMAND_ENABLE = no # Commands for debug and configuration
21SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
22NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
23BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
24AUDIO_ENABLE = no
25RGBLIGHT_ENABLE = yes