Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Add SP-111 v2 keyboard #21652

Merged
merged 16 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions keyboards/viktus/sp111_v2/config.h
drashna marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
// Copyright 2023 BlindAssassin111 (@blindassassin111)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/* Split Defines */
#define SPLIT_USB_DETECT
thompson-ele marked this conversation as resolved.
Show resolved Hide resolved

// The pin connected to the data pin of the LEDs
#define WS2812_DI_PIN F0

#ifdef RGB_MATRIX_ENABLE
// The number of LEDs connected
#define RGB_MATRIX_LED_COUNT 3
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
#define EECONFIG_KB_DATA_SIZE 12
drashna marked this conversation as resolved.
Show resolved Hide resolved
// RGB Matrix Animation modes. Explicitly enabled
// For full list of effects, see:
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_BREATHING
// #define ENABLE_RGB_MATRIX_BAND_SAT
// #define ENABLE_RGB_MATRIX_BAND_VAL
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
#define ENABLE_RGB_MATRIX_CYCLE_ALL
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
// #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
// #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
#define ENABLE_RGB_MATRIX_DUAL_BEACON
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
#define ENABLE_RGB_MATRIX_RAINDROPS
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
// #define ENABLE_RGB_MATRIX_HUE_BREATHING
// #define ENABLE_RGB_MATRIX_HUE_PENDULUM
// #define ENABLE_RGB_MATRIX_HUE_WAVE
// #define ENABLE_RGB_MATRIX_PIXEL_RAIN
// #define ENABLE_RGB_MATRIX_PIXEL_FLOW
// #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
// #define ENABLE_RGB_MATRIX_TYPING_HEATMAP
// #define ENABLE_RGB_MATRIX_DIGITAL_RAIN
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
// #define ENABLE_RGB_MATRIX_SPLASH
// #define ENABLE_RGB_MATRIX_MULTISPLASH
// #define ENABLE_RGB_MATRIX_SOLID_SPLASH
// #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
//
#endif

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
thompson-ele marked this conversation as resolved.
Show resolved Hide resolved
179 changes: 179 additions & 0 deletions keyboards/viktus/sp111_v2/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
{
"manufacturer": "BlindAssassin111",
"keyboard_name": "viktus/sp111_v2",
"maintainer": "blindassassin111",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": true,
"rgblight": false
},
"keyboard_folder": "viktus/sp111_v2",
"keymaps": {},
"matrix_pins": {
"cols": ["C6", "F6", "F5", "F4", "F1", "F7", "B7", "D2", "D3", "D5", "D4"],
"rows": ["C7", "B6", "B5", "B4", "D7", "D6"]
},
"matrix_size": {
"cols": 11,
"rows": 12
},
thompson-ele marked this conversation as resolved.
Show resolved Hide resolved
"rgb_matrix": {
"driver": "WS2812",
thompson-ele marked this conversation as resolved.
Show resolved Hide resolved
"max_brightness": 150,
"layout": [
]
drashna marked this conversation as resolved.
Show resolved Hide resolved
},
"split": {
"enabled": true,
"main": "left",
thompson-ele marked this conversation as resolved.
Show resolved Hide resolved
"matrix_pins": {
"right": {
"cols": ["C6", "F1", "B4", "B5", "D2", "D3", "D5", "D4", "D6", "D7"],
"rows": ["C7", "B6", "F4", "F5", "F6", "F7"]
}
},
"transport": {
"protocol": "i2c"
},
"usb_detect": {
"enabled": false
}
thompson-ele marked this conversation as resolved.
Show resolved Hide resolved
},
"url": "https://viktus.design/",
"usb": {
"device_version": "2.0.0",
"pid": "0x5112",
"vid": "0x5644"
},
"layouts": {
"LAYOUT": {
"layout": [
{ "label": "0,0", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 },
drashna marked this conversation as resolved.
Show resolved Hide resolved
{ "label": "0,1", "matrix": [0, 1], "w": 1, "x": 1, "y": 0 },
{ "label": "0,2", "matrix": [0, 2], "w": 1, "x": 2, "y": 0 },
{ "label": "0,3", "matrix": [0, 3], "w": 1, "x": 3, "y": 0 },
{ "label": "0,4", "matrix": [0, 4], "w": 1, "x": 4.5, "y": 0 },
{ "label": "0,5", "matrix": [0, 5], "w": 1, "x": 5.75, "y": 0 },
{ "label": "0,6", "matrix": [0, 6], "w": 1, "x": 6.75, "y": 0 },
{ "label": "0,7", "matrix": [0, 7], "w": 1, "x": 7.75, "y": 0 },
{ "label": "0,8", "matrix": [0, 8], "w": 1, "x": 8.75, "y": 0 },
{ "label": "0,9", "matrix": [0, 9], "w": 1, "x": 10, "y": 0 },
{ "label": "0,10", "matrix": [0, 10], "w": 1, "x": 11, "y": 0 },
{ "label": "6,0", "matrix": [6, 0], "w": 1, "x": 13, "y": 0 },
{ "label": "6,1", "matrix": [6, 1], "w": 1, "x": 14, "y": 0 },
{ "label": "6,3", "matrix": [6, 3], "w": 1, "x": 15.25, "y": 0 },
{ "label": "6,4", "matrix": [6, 4], "w": 1, "x": 16.25, "y": 0 },
{ "label": "6,5", "matrix": [6, 5], "w": 1, "x": 17.25, "y": 0 },
{ "label": "6,6", "matrix": [6, 6], "w": 1, "x": 18.25, "y": 0 },
{ "label": "6,7", "matrix": [6, 7], "w": 1, "x": 19.5, "y": 0 },
{ "label": "6,8", "matrix": [6, 8], "w": 1, "x": 20.75, "y": 0 },
{ "label": "6,9", "matrix": [6, 9], "w": 1, "x": 21.75, "y": 0 },
{ "label": "1,0", "matrix": [1, 0], "w": 1, "x": 0, "y": 1.5 },
{ "label": "1,1", "matrix": [1, 1], "w": 1, "x": 1, "y": 1.5 },
{ "label": "1,2", "matrix": [1, 2], "w": 1, "x": 2, "y": 1.5 },
{ "label": "1,3", "matrix": [1, 3], "w": 1, "x": 3, "y": 1.5 },
{ "label": "1,4", "matrix": [1, 4], "w": 1, "x": 4.5, "y": 1.5 },
{ "label": "1,5", "matrix": [1, 5], "w": 1, "x": 5.5, "y": 1.5 },
{ "label": "1,6", "matrix": [1, 6], "w": 1, "x": 6.5, "y": 1.5 },
{ "label": "1,7", "matrix": [1, 7], "w": 1, "x": 7.5, "y": 1.5 },
{ "label": "1,8", "matrix": [1, 8], "w": 1, "x": 8.5, "y": 1.5 },
{ "label": "1,9", "matrix": [1, 9], "w": 1, "x": 9.5, "y": 1.5 },
{ "label": "1,10", "matrix": [1, 10], "w": 1, "x": 10.5, "y": 1.5 },
{ "label": "7,0", "matrix": [7, 0], "w": 1, "x": 12.5, "y": 1.5 },
{ "label": "7,1", "matrix": [7, 1], "w": 1, "x": 13.5, "y": 1.5 },
{ "label": "7,2", "matrix": [7, 2], "w": 1, "x": 14.5, "y": 1.5 },
{ "label": "7,3", "matrix": [7, 3], "w": 1, "x": 15.5, "y": 1.5 },
{ "label": "7,4", "matrix": [7, 4], "w": 1, "x": 16.5, "y": 1.5 },
{ "label": "7,5", "matrix": [7, 5], "w": 1, "x": 17.5, "y": 1.5 },
{ "label": "7,6", "matrix": [7, 6], "w": 1, "x": 18.5, "y": 1.5 },
{ "label": "7,7", "matrix": [7, 7], "w": 1, "x": 19.5, "y": 1.5 },
{ "label": "7,8", "matrix": [7, 8], "w": 1, "x": 20.75, "y": 1.5 },
{ "label": "7,9", "matrix": [7, 9], "w": 1, "x": 21.75, "y": 1.5 },
{ "label": "2,0", "matrix": [2, 0], "w": 1, "x": 0, "y": 2.5 },
{ "label": "2,1", "matrix": [2, 1], "w": 1, "x": 1, "y": 2.5 },
{ "label": "2,2", "matrix": [2, 2], "w": 1, "x": 2, "y": 2.5 },
{ "label": "2,3", "matrix": [2, 3], "w": 1, "x": 3, "y": 2.5 },
{ "label": "2,4", "matrix": [2, 4], "w": 1.5, "x": 4.5, "y": 2.5 },
{ "label": "2,5", "matrix": [2, 5], "w": 1, "x": 6, "y": 2.5 },
{ "label": "2,6", "matrix": [2, 6], "w": 1, "x": 7, "y": 2.5 },
{ "label": "2,7", "matrix": [2, 7], "w": 1, "x": 8, "y": 2.5 },
{ "label": "2,8", "matrix": [2, 8], "w": 1, "x": 9, "y": 2.5 },
{ "label": "2,9", "matrix": [2, 9], "w": 1, "x": 10, "y": 2.5 },
{ "label": "8,0", "matrix": [8, 0], "w": 1, "x": 12, "y": 2.5 },
{ "label": "8,1", "matrix": [8, 1], "w": 1, "x": 13, "y": 2.5 },
{ "label": "8,2", "matrix": [8, 2], "w": 1, "x": 14, "y": 2.5 },
{ "label": "8,3", "matrix": [8, 3], "w": 1, "x": 15, "y": 2.5 },
{ "label": "8,4", "matrix": [8, 4], "w": 1, "x": 16, "y": 2.5 },
{ "label": "8,5", "matrix": [8, 5], "w": 1, "x": 17, "y": 2.5 },
{ "label": "8,6", "matrix": [8, 6], "w": 1, "x": 18, "y": 2.5 },
{ "label": "8,7", "matrix": [8, 7], "w": 1.5, "x": 19, "y": 2.5 },
{ "label": "8,8", "matrix": [8, 8], "w": 1, "x": 20.75, "y": 2.5 },
{ "label": "8,9", "matrix": [8, 9], "w": 1, "x": 21.75, "y": 2.5 },
{ "label": "3,0", "matrix": [3, 0], "w": 1, "x": 0, "y": 3.5 },
{ "label": "3,1", "matrix": [3, 1], "w": 1, "x": 1, "y": 3.5 },
{ "label": "3,2", "matrix": [3, 2], "w": 1, "x": 2, "y": 3.5 },
{ "label": "3,3", "matrix": [3, 3], "w": 1, "x": 3, "y": 3.5 },
{ "label": "3,4", "matrix": [3, 4], "w": 1.75, "x": 4.5, "y": 3.5 },
{ "label": "3,5", "matrix": [3, 5], "w": 1, "x": 6.25, "y": 3.5 },
{ "label": "3,6", "matrix": [3, 6], "w": 1, "x": 7.25, "y": 3.5 },
{ "label": "3,7", "matrix": [3, 7], "w": 1, "x": 8.25, "y": 3.5 },
{ "label": "3,8", "matrix": [3, 8], "w": 1, "x": 9.25, "y": 3.5 },
{ "label": "3,9", "matrix": [3, 9], "w": 1, "x": 10.25, "y": 3.5 },
{ "label": "9,0", "matrix": [9, 0], "w": 1, "x": 12.25, "y": 3.5 },
{ "label": "9,1", "matrix": [9, 1], "w": 1, "x": 13.25, "y": 3.5 },
{ "label": "9,2", "matrix": [9, 2], "w": 1, "x": 14.25, "y": 3.5 },
{ "label": "9,3", "matrix": [9, 3], "w": 1, "x": 15.25, "y": 3.5 },
{ "label": "9,4", "matrix": [9, 4], "w": 1, "x": 16.25, "y": 3.5 },
{ "label": "9,5", "matrix": [9, 5], "w": 1, "x": 17.25, "y": 3.5 },
{ "label": "9,6", "matrix": [9, 6], "w": 1, "x": 18.25, "y": 3.5 },
{ "label": "9,7", "matrix": [9, 7], "w": 1.25, "x": 19.25, "y": 3.5 },
{ "label": "9,8", "matrix": [9, 8], "w": 1, "x": 20.75, "y": 3.5 },
{ "label": "9,9", "matrix": [9, 9], "w": 1, "x": 21.75, "y": 3.5 },
{ "label": "4,0", "matrix": [4, 0], "w": 1, "x": 0, "y": 4.5 },
{ "label": "4,1", "matrix": [4, 1], "w": 1, "x": 1, "y": 4.5 },
{ "label": "4,2", "matrix": [4, 2], "w": 1, "x": 2, "y": 4.5 },
{ "label": "4,3", "matrix": [4, 3], "w": 1, "x": 3, "y": 4.5 },
{ "label": "4,4", "matrix": [4, 4], "w": 1.25, "x": 4.5, "y": 4.5 },
{ "label": "4,5", "matrix": [4, 5], "w": 1, "x": 5.75, "y": 4.5 },
{ "label": "4,6", "matrix": [4, 6], "w": 1, "x": 6.75, "y": 4.5 },
{ "label": "4,7", "matrix": [4, 7], "w": 1, "x": 7.75, "y": 4.5 },
{ "label": "4,8", "matrix": [4, 8], "w": 1, "x": 8.75, "y": 4.5 },
{ "label": "4,9", "matrix": [4, 9], "w": 1, "x": 9.75, "y": 4.5 },
{ "label": "4,10", "matrix": [4, 10], "w": 1, "x": 10.75, "y": 4.5 },
{ "label": "10,1", "matrix": [10, 1], "w": 1, "x": 12.75, "y": 4.5 },
{ "label": "10,1", "matrix": [10, 2], "w": 1, "x": 13.75, "y": 4.5 },
{ "label": "10,2", "matrix": [10, 3], "w": 1, "x": 14.75, "y": 4.5 },
{ "label": "10,3", "matrix": [10, 4], "w": 1, "x": 15.75, "y": 4.5 },
{ "label": "10,4", "matrix": [10, 5], "w": 1, "x": 16.75, "y": 4.5 },
{ "label": "10,6", "matrix": [10, 6], "w": 1.75, "x": 17.75, "y": 4.5 },
{ "label": "10,7", "matrix": [10, 7], "w": 1, "x": 19.5, "y": 4.5 },
{ "label": "10,8", "matrix": [10, 8], "w": 1, "x": 20.75, "y": 4.75 },
{ "label": "5.0", "matrix": [5, 0], "w": 1, "x": 0, "y": 5.5 },
{ "label": "5,1", "matrix": [5, 1], "w": 1, "x": 1, "y": 5.5 },
{ "label": "5,2", "matrix": [5, 2], "w": 1, "x": 2, "y": 5.5 },
{ "label": "5,3", "matrix": [5, 3], "w": 1, "x": 3, "y": 5.5 },
{ "label": "5,4", "matrix": [5, 4], "w": 1.25, "x": 4.5, "y": 5.5 },
{ "label": "5,5", "matrix": [5, 5], "w": 1.25, "x": 5.75, "y": 5.5 },
{ "label": "5,7", "matrix": [5, 7], "w": 1.25, "x": 7, "y": 5.5 },
{ "label": "5,8", "matrix": [5, 8], "w": 1, "x": 8.25, "y": 5.5 },
{ "label": "5,9", "matrix": [5, 9], "w": 2.25, "x": 9.25, "y": 5.5 },
{ "label": "11,2", "matrix": [11, 2], "w": 2.25, "x": 12.5, "y": 5.5 },
{ "label": "11,3", "matrix": [11, 3], "w": 1, "x": 14.75, "y": 5.5 },
{ "label": "11,4", "matrix": [11, 4], "w": 1.25, "x": 15.75, "y": 5.5 },
{ "label": "11,5", "matrix": [11, 5], "w": 1.25, "x": 17, "y": 5.5 },
{ "label": "11,6", "matrix": [11, 6], "w": 1.25, "x": 18.25, "y": 5.5 },
{ "label": "11,7", "matrix": [11, 7], "w": 1, "x": 19.75, "y": 5.75 },
{ "label": "11,8", "matrix": [11, 8], "w": 1, "x": 20.75, "y": 5.75 },
{ "label": "11,9", "matrix": [11, 9], "w": 1, "x": 21.75, "y": 5.75 }
]
}
}
}
Loading