summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/tweetydabird/lbs6/config.h10
-rw-r--r--keyboards/tweetydabird/lbs6/info.json76
-rw-r--r--keyboards/tweetydabird/lbs6/keymaps/default/keymap.c30
-rw-r--r--keyboards/tweetydabird/lbs6/keymaps/default/readme.md3
-rw-r--r--keyboards/tweetydabird/lbs6/readme.md28
-rw-r--r--keyboards/tweetydabird/lbs6/rules.mk1
6 files changed, 148 insertions, 0 deletions
diff --git a/keyboards/tweetydabird/lbs6/config.h b/keyboards/tweetydabird/lbs6/config.h
new file mode 100644
index 0000000000..ed8d2caa5b
--- /dev/null
+++ b/keyboards/tweetydabird/lbs6/config.h
@@ -0,0 +1,10 @@
1// Copyright 2022 Markus Knutsson (@TweetyDaBird)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5#include "config_common.h"
6
7// Bootmagic Lite key configuration
8// Not yet supported in info.json ?
9#define BOOTMAGIC_LITE_ROW 2
10#define BOOTMAGIC_LITE_COLUMN 2
diff --git a/keyboards/tweetydabird/lbs6/info.json b/keyboards/tweetydabird/lbs6/info.json
new file mode 100644
index 0000000000..ac1b574220
--- /dev/null
+++ b/keyboards/tweetydabird/lbs6/info.json
@@ -0,0 +1,76 @@
1{
2 "keyboard_name": "Little Big Scroll 6",
3 "manufacturer": "Tweetys Wild Thinking",
4 "url": "https://lectronz.com/stores/tweetys-wild-thinking",
5 "maintainer": "TweetyDaBird",
6
7 "development_board": "promicro",
8
9 "features": {
10 "bootmagic": true,
11 "command": false,
12 "console": false,
13 "extrakey": true,
14 "mousekey": true,
15 "nkro": false,
16 "rgblight": true,
17 "encoder": true
18 },
19
20 "build": {
21 "lto": true
22 },
23
24 "usb": {
25 "vid": "0xFEED",
26 "pid": "0x23B0",
27 "device_version": "1.1.0"
28 },
29
30 "debounce": 5,
31
32 "matrix_pins": {
33 "direct": [
34 [null, "F5", null],
35 ["D4", "D7", "B4"],
36 ["C6", "E6", "B5"]
37 ]
38 },
39
40 "encoder": {
41 "rotary": [
42 { "pin_a": "F7", "pin_b": "F6", "resolution": 2 }
43 ]
44 },
45
46 "rgblight": {
47 "led_count": 8,
48 "pin": "D2",
49 "hue_steps": 8,
50 "saturation_steps": 17,
51 "brightness_steps": 17,
52 "max_brightness": 200,
53 "animations": {
54 "alternating": true,
55 "breathing": true,
56 "rainbow_mood": true,
57 "static_gradient": true,
58 }
59 },
60
61 "layouts": {
62 "LAYOUT": {
63 "layout": [
64 { "label": "Play", "matrix": [0, 1], "x": 1, "y": 0, "w": 1, "h": 1 },
65
66 { "label": "F1", "matrix": [1, 0], "x": 0, "y": 1, "w": 1, "h": 1 },
67 { "label": "F2", "matrix": [1, 1], "x": 1, "y": 1, "w": 1, "h": 1 },
68 { "label": "F3", "matrix": [1, 2], "x": 2, "y": 1, "w": 1, "h": 1 },
69
70 { "label": "F4", "matrix": [2, 0], "x": 0, "y": 2, "w": 1, "h": 1 },
71 { "label": "F5", "matrix": [2, 1], "x": 1, "y": 2, "w": 1, "h": 1 },
72 { "label": "F6", "matrix": [2, 2], "x": 2, "y": 2, "w": 1, "h": 1 },
73 ]
74 }
75 }
76} \ No newline at end of file
diff --git a/keyboards/tweetydabird/lbs6/keymaps/default/keymap.c b/keyboards/tweetydabird/lbs6/keymaps/default/keymap.c
new file mode 100644
index 0000000000..590cb8ea0b
--- /dev/null
+++ b/keyboards/tweetydabird/lbs6/keymaps/default/keymap.c
@@ -0,0 +1,30 @@
1// Copyright 2022 Markus Knutsson (@TweetyDaBird)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include QMK_KEYBOARD_H
5
6// Defines names for use in layer keycodes and the keymap
7enum layer_names {
8 _BASE
9};
10
11const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
12
13 [_BASE] = LAYOUT(
14 KC_MPLY,
15 RGB_MOD, RGB_VAI, RGB_TOG,
16 KC_MPRV, KC_MPLY, KC_MNXT
17
18 )
19};
20
21bool encoder_update_user(uint8_t index, bool clockwise) {
22 if (index == 0) {
23 if (clockwise) {
24 tap_code(KC_VOLU);
25 } else {
26 tap_code(KC_VOLD);
27 }
28 }
29 return false;
30}
diff --git a/keyboards/tweetydabird/lbs6/keymaps/default/readme.md b/keyboards/tweetydabird/lbs6/keymaps/default/readme.md
new file mode 100644
index 0000000000..22c4296f55
--- /dev/null
+++ b/keyboards/tweetydabird/lbs6/keymaps/default/readme.md
@@ -0,0 +1,3 @@
1# The default keymap for LBS6
2
3This is a very basic layout using LBS6 as media playback buttons.
diff --git a/keyboards/tweetydabird/lbs6/readme.md b/keyboards/tweetydabird/lbs6/readme.md
new file mode 100644
index 0000000000..2301cc3c56
--- /dev/null
+++ b/keyboards/tweetydabird/lbs6/readme.md
@@ -0,0 +1,28 @@
1# lsb6
2
3
4*A simple 6-key macro pad with a clickable scrollwheel, for media controls and whatever else you can imagine.*
5
6* Keyboard Maintainer: [Markus Knutsson](https://github.com/TweetyDaBird/)
7* Hardware Supported: LBS6 PCB plus Pro Micro or pin compatible
8* Hardware Availability: https://lectronz.com/stores/tweetys-wild-thinking
9* Hardware Design: https://github.com/TweetyDaBird/Little-Big-Scroll
10
11
12Make example for this keyboard (after setting up your build environment):
13
14 make tweetydabird/lbs6:default
15
16Flashing example for this keyboard:
17
18 make tweetydabird/lbs6:default:flash
19
20See 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).
21
22## Bootloader
23
24Enter the bootloader in 3 ways:
25
26* **Bootmagic reset**: Hold down the bottom right key and plug in the keyboard
27* **Physical reset**: Briefly short the marked pads on PCB
28* **Keycode in layout**: Press the key mapped to `QK_BOOT` if mapped (not in default keymap) \ No newline at end of file
diff --git a/keyboards/tweetydabird/lbs6/rules.mk b/keyboards/tweetydabird/lbs6/rules.mk
new file mode 100644
index 0000000000..7ff128fa69
--- /dev/null
+++ b/keyboards/tweetydabird/lbs6/rules.mk
@@ -0,0 +1 @@
# This file intentionally left blank \ No newline at end of file