aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeepeetee <43021794+peepeetee@users.noreply.github.com>2022-02-22 01:12:18 +0800
committerGitHub <noreply@github.com>2022-02-21 09:12:18 -0800
commit32903779181c31244c7c7b97a04bda0fd5b59de1 (patch)
tree4d0866d34e6ebc61207b38a31f42689a9bf2f5a3
parent83b9483045d6a84d282e3a4e9d650e81f5368c53 (diff)
downloadqmk_firmware-32903779181c31244c7c7b97a04bda0fd5b59de1.tar.gz
qmk_firmware-32903779181c31244c7c7b97a04bda0fd5b59de1.zip
[Keyboard] infinity81 (#16387)
-rw-r--r--keyboards/ada/infinity81/config.h126
-rw-r--r--keyboards/ada/infinity81/infinity81.c4
-rw-r--r--keyboards/ada/infinity81/infinity81.h30
-rw-r--r--keyboards/ada/infinity81/info.json92
-rw-r--r--keyboards/ada/infinity81/keymaps/default/keymap.c23
-rw-r--r--keyboards/ada/infinity81/keymaps/default/readme.md1
-rw-r--r--keyboards/ada/infinity81/readme.md27
-rw-r--r--keyboards/ada/infinity81/rules.mk18
8 files changed, 321 insertions, 0 deletions
diff --git a/keyboards/ada/infinity81/config.h b/keyboards/ada/infinity81/config.h
new file mode 100644
index 000000000..1cbce8472
--- /dev/null
+++ b/keyboards/ada/infinity81/config.h
@@ -0,0 +1,126 @@
1// Copyright 2022 peepeetee (@peepeetee)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "config_common.h"
7
8/* USB Device descriptor parameter */
9#define VENDOR_ID 0xADA0
10#define PRODUCT_ID 0x0081
11#define DEVICE_VER 0x0001
12#define MANUFACTURER Ada
13#define PRODUCT infinity81
14
15/* key matrix size */
16#define MATRIX_ROWS 6
17#define MATRIX_COLS 15
18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29#define MATRIX_ROW_PINS { B3, B2, B1, B0, F6, B7 }
30#define MATRIX_COL_PINS { D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F5, F1, F4 }
31#define UNUSED_PINS
32
33/* COL2ROW, ROW2COL */
34#define DIODE_DIRECTION COL2ROW
35
36
37//#define LED_NUM_LOCK_PIN B0
38//#define LED_CAPS_LOCK_PIN B1
39//#define LED_SCROLL_LOCK_PIN B2
40//#define LED_COMPOSE_PIN B3
41//#define LED_KANA_PIN B4
42
43//#define BACKLIGHT_PIN B7
44//#define BACKLIGHT_LEVELS 3
45//#define BACKLIGHT_BREATHING
46
47#define RGB_DI_PIN D0
48#ifdef RGB_DI_PIN
49# define RGBLED_NUM 107
50# define RGBLIGHT_HUE_STEP 8
51# define RGBLIGHT_SAT_STEP 8
52# define RGBLIGHT_VAL_STEP 8
53# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
54# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
55#define RGBLIGHT_EFFECT_BREATHING
56#define RGBLIGHT_EFFECT_RAINBOW_MOOD
57#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
58#define RGBLIGHT_EFFECT_SNAKE
59#define RGBLIGHT_EFFECT_KNIGHT
60#define RGBLIGHT_EFFECT_CHRISTMAS
61#define RGBLIGHT_EFFECT_STATIC_GRADIENT
62#define RGBLIGHT_EFFECT_RGB_TEST
63#define RGBLIGHT_EFFECT_ALTERNATING
64#define RGBLIGHT_EFFECT_TWINKLE
65#endif
66
67/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
68#define DEBOUNCE 5
69
70/* define if matrix has ghost (lacks anti-ghosting diodes) */
71//#define MATRIX_HAS_GHOST
72
73/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
74#define LOCKING_SUPPORT_ENABLE
75/* Locking resynchronize hack */
76#define LOCKING_RESYNC_ENABLE
77
78/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
79 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
80 */
81//#define GRAVE_ESC_CTRL_OVERRIDE
82
83/*
84 * Force NKRO
85 *
86 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
87 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
88 * makefile for this to work.)
89 *
90 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
91 * until the next keyboard reset.
92 *
93 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
94 * fully operational during normal computer usage.
95 *
96 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
97 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
98 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
99 * power-up.
100 *
101 */
102//#define FORCE_NKRO
103
104/*
105 * Feature disable options
106 * These options are also useful to firmware size reduction.
107 */
108
109/* disable debug print */
110//#define NO_DEBUG
111
112/* disable print */
113//#define NO_PRINT
114
115/* disable action features */
116//#define NO_ACTION_LAYER
117//#define NO_ACTION_TAPPING
118//#define NO_ACTION_ONESHOT
119
120/* disable these deprecated features by default */
121#define NO_ACTION_MACRO
122#define NO_ACTION_FUNCTION
123
124/* Bootmagic Lite key configuration */
125//#define BOOTMAGIC_LITE_ROW 0
126//#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/ada/infinity81/infinity81.c b/keyboards/ada/infinity81/infinity81.c
new file mode 100644
index 000000000..7e20a1d70
--- /dev/null
+++ b/keyboards/ada/infinity81/infinity81.c
@@ -0,0 +1,4 @@
1// Copyright 2022 peepeetee (@peepeetee)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include "infinity81.h"
diff --git a/keyboards/ada/infinity81/infinity81.h b/keyboards/ada/infinity81/infinity81.h
new file mode 100644
index 000000000..199c6f364
--- /dev/null
+++ b/keyboards/ada/infinity81/infinity81.h
@@ -0,0 +1,30 @@
1// Copyright 2022 peepeetee (@peepeetee)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "quantum.h"
7
8/* This is a shortcut to help you visually see your layout.
9 *
10 * The first section contains all of the arguments representing the physical
11 * layout of the board and position of the keys.
12 *
13 * The second converts the arguments into a two-dimensional array which
14 * represents the switch matrix.
15 */
16#define LAYOUT( \
17 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \
18 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \
19 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, \
20 K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \
21 K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K413, K414, \
22 K500, K501, K502, K505, K510, K511, K512, K513, K514 \
23) { \
24 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, KC_NO, KC_NO }, \
25 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \
26 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \
27 { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 }, \
28 { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, KC_NO, K413, K414 }, \
29 { K500, K501, K502, KC_NO, KC_NO, K505, KC_NO, KC_NO, KC_NO, KC_NO, K510, K511, K512, K513, K514 } \
30}
diff --git a/keyboards/ada/infinity81/info.json b/keyboards/ada/infinity81/info.json
new file mode 100644
index 000000000..71fb77472
--- /dev/null
+++ b/keyboards/ada/infinity81/info.json
@@ -0,0 +1,92 @@
1{
2 "keyboard_name": "infinity81",
3 "url": "",
4 "maintainer": "qmk",
5 "layouts": {
6 "LAYOUT": {
7 "layout": [
8 { "label": "K00 (B3,D1)", "x": 0, "y": 0 },
9 { "label": "K01 (B3,D2)", "x": 1.25, "y": 0 },
10 { "label": "K02 (B3,D3)", "x": 2.25, "y": 0 },
11 { "label": "K03 (B3,D5)", "x": 3.25, "y": 0 },
12 { "label": "K04 (B3,D4)", "x": 4.25, "y": 0 },
13 { "label": "K05 (B3,D6)", "x": 5.5, "y": 0 },
14 { "label": "K06 (B3,D7)", "x": 6.5, "y": 0 },
15 { "label": "K07 (B3,B4)", "x": 7.5, "y": 0 },
16 { "label": "K08 (B3,B5)", "x": 8.5, "y": 0 },
17 { "label": "K09 (B3,B6)", "x": 9.75, "y": 0 },
18 { "label": "K0A (B3,C6)", "x": 10.75, "y": 0 },
19 { "label": "K0B (B3,C7)", "x": 11.75, "y": 0 },
20 { "label": "K0C (B3,F5)", "x": 12.75, "y": 0 },
21 { "label": "K10 (B2,D1)", "x": 0, "y": 1.25 },
22 { "label": "K11 (B2,D2)", "x": 1, "y": 1.25 },
23 { "label": "K12 (B2,D3)", "x": 2, "y": 1.25 },
24 { "label": "K13 (B2,D5)", "x": 3, "y": 1.25 },
25 { "label": "K14 (B2,D4)", "x": 4, "y": 1.25 },
26 { "label": "K15 (B2,D6)", "x": 5, "y": 1.25 },
27 { "label": "K16 (B2,D7)", "x": 6, "y": 1.25 },
28 { "label": "K17 (B2,B4)", "x": 7, "y": 1.25 },
29 { "label": "K18 (B2,B5)", "x": 8, "y": 1.25 },
30 { "label": "K19 (B2,B6)", "x": 9, "y": 1.25 },
31 { "label": "K1A (B2,C6)", "x": 10, "y": 1.25 },
32 { "label": "K1B (B2,C7)", "x": 11, "y": 1.25 },
33 { "label": "K1C (B2,F5)", "x": 12, "y": 1.25 },
34 { "label": "K1D (B2,F1)", "x": 13, "y": 1.25, "w": 2 },
35 { "label": "K1E (B2,F4)", "x": 15, "y": 1.25 },
36 { "label": "K20 (B1,D1)", "x": 0, "y": 2.25, "w": 1.5 },
37 { "label": "K21 (B1,D2)", "x": 1.5, "y": 2.25 },
38 { "label": "K22 (B1,D3)", "x": 2.5, "y": 2.25 },
39 { "label": "K23 (B1,D5)", "x": 3.5, "y": 2.25 },
40 { "label": "K24 (B1,D4)", "x": 4.5, "y": 2.25 },
41 { "label": "K25 (B1,D6)", "x": 5.5, "y": 2.25 },
42 { "label": "K26 (B1,D7)", "x": 6.5, "y": 2.25 },
43 { "label": "K27 (B1,B4)", "x": 7.5, "y": 2.25 },
44 { "label": "K28 (B1,B5)", "x": 8.5, "y": 2.25 },
45 { "label": "K29 (B1,B6)", "x": 9.5, "y": 2.25 },
46 { "label": "K2A (B1,C6)", "x": 10.5, "y": 2.25 },
47 { "label": "K2B (B1,C7)", "x": 11.5, "y": 2.25 },
48 { "label": "K2C (B1,F5)", "x": 12.5, "y": 2.25 },
49 { "label": "K2D (B1,F1)", "x": 13.5, "y": 2.25, "w": 1.5 },
50 { "label": "K2E (B1,F4)", "x": 15, "y": 2.25 },
51 { "label": "K30 (B0,D1)", "x": 0, "y": 3.25, "w": 1.75 },
52 { "label": "K31 (B0,D2)", "x": 1.75, "y": 3.25 },
53 { "label": "K32 (B0,D3)", "x": 2.75, "y": 3.25 },
54 { "label": "K33 (B0,D5)", "x": 3.75, "y": 3.25 },
55 { "label": "K34 (B0,D4)", "x": 4.75, "y": 3.25 },
56 { "label": "K35 (B0,D6)", "x": 5.75, "y": 3.25 },
57 { "label": "K36 (B0,D7)", "x": 6.75, "y": 3.25 },
58 { "label": "K37 (B0,B4)", "x": 7.75, "y": 3.25 },
59 { "label": "K38 (B0,B5)", "x": 8.75, "y": 3.25 },
60 { "label": "K39 (B0,B6)", "x": 9.75, "y": 3.25 },
61 { "label": "K3A (B0,C6)", "x": 10.75, "y": 3.25 },
62 { "label": "K3B (B0,C7)", "x": 11.75, "y": 3.25 },
63 { "label": "K3D (B0,F1)", "x": 12.75, "y": 3.25, "w": 2.25 },
64 { "label": "K3E (B0,F4)", "x": 15, "y": 3.25 },
65 { "label": "K40 (F6,D1)", "x": 0, "y": 4.25, "w": 2.25 },
66 { "label": "K41 (F6,D2)", "x": 2.25, "y": 4.25 },
67 { "label": "K42 (F6,D3)", "x": 3.25, "y": 4.25 },
68 { "label": "K43 (F6,D5)", "x": 4.25, "y": 4.25 },
69 { "label": "K44 (F6,D4)", "x": 5.25, "y": 4.25 },
70 { "label": "K45 (F6,D6)", "x": 6.25, "y": 4.25 },
71 { "label": "K46 (F6,D7)", "x": 7.25, "y": 4.25 },
72 { "label": "K47 (F6,B4)", "x": 8.25, "y": 4.25 },
73 { "label": "K48 (F6,B5)", "x": 9.25, "y": 4.25 },
74 { "label": "K49 (F6,B6)", "x": 10.25, "y": 4.25 },
75 { "label": "K4A (F6,C6)", "x": 11.25, "y": 4.25 },
76 { "label": "K4B (F6,C7)", "x": 12.25, "y": 4.25, "w": 1.75 },
77 { "label": "K4D (F6,F1)", "x": 14, "y": 4.25 },
78 { "label": "K4E (F6,F4)", "x": 15, "y": 4.25 },
79 { "label": "K50 (B7,D1)", "x": 0, "y": 5.25, "w": 1.25 },
80 { "label": "K51 (B7,D2)", "x": 1.25, "y": 5.25, "w": 1.25 },
81 { "label": "K52 (B7,D3)", "x": 2.5, "y": 5.25, "w": 1.25 },
82 { "label": "K55 (B7,D6)", "x": 3.75, "y": 5.25, "w": 6.25 },
83 { "label": "K5A (B7,C6)", "x": 10, "y": 5.25, "w": 1.25 },
84 { "label": "K5B (B7,C7)", "x": 11.25, "y": 5.25, "w": 1.25 },
85 { "label": "K5C (B7,F5)", "x": 13, "y": 5.25 },
86 { "label": "K5D (B7,F1)", "x": 14, "y": 5.25 },
87 { "label": "K5E (B7,F4)", "x": 15, "y": 5.25 }
88 ]
89 }
90 }
91 ,"meta": "https://noroadsleft.github.io/kbf_qmk_converter/"
92}
diff --git a/keyboards/ada/infinity81/keymaps/default/keymap.c b/keyboards/ada/infinity81/keymaps/default/keymap.c
new file mode 100644
index 000000000..0a6aae93f
--- /dev/null
+++ b/keyboards/ada/infinity81/keymaps/default/keymap.c
@@ -0,0 +1,23 @@
1// Copyright 2022 peepeetee (@peepeetee)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include QMK_KEYBOARD_H
5
6
7
8const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
9 [0] = LAYOUT(
10 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
11 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
12 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP,
13 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN,
14 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, MO(1),
15 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT),
16 [1] = LAYOUT(
17 RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
18 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
19 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
20 KC_TRNS, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
21 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
22 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
23};
diff --git a/keyboards/ada/infinity81/keymaps/default/readme.md b/keyboards/ada/infinity81/keymaps/default/readme.md
new file mode 100644
index 000000000..1b6598c1d
--- /dev/null
+++ b/keyboards/ada/infinity81/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for infinity81
diff --git a/keyboards/ada/infinity81/readme.md b/keyboards/ada/infinity81/readme.md
new file mode 100644
index 000000000..a134379ce
--- /dev/null
+++ b/keyboards/ada/infinity81/readme.md
@@ -0,0 +1,27 @@
1# infinity81
2
3![infinity81](https://i.imgur.com/9d6IcuA.jpg)
4
5A per key RGB 75% with blocker keyboard
6
7* Keyboard Maintainer: [peepeetee](https://github.com/peepeetee)
8* Hardware Supported: infinity81
9* Hardware Availability: no longer avaliable - future groupbuy possible
10
11Make example for this keyboard (after setting up your build environment):
12
13 make ada/infinity81:default
14
15Flashing example for this keyboard:
16
17 make ada/infinity81:default:flash
18
19See 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).
20
21## Bootloader
22
23Enter the bootloader in 3 ways:
24
25* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
26* **Physical reset button**: Briefly press the button on the back of the PCB
27* **Keycode in layout**: Press the key mapped to `RESET` if it is available
diff --git a/keyboards/ada/infinity81/rules.mk b/keyboards/ada/infinity81/rules.mk
new file mode 100644
index 000000000..3ff392a61
--- /dev/null
+++ b/keyboards/ada/infinity81/rules.mk
@@ -0,0 +1,18 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output