fix: various builds (#483)
This commit is contained in:
parent
0b5cd38568
commit
f57e09e514
@ -7,7 +7,15 @@
|
|||||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
|
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
|
||||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 9 }
|
#define VIAL_UNLOCK_COMBO_COLS { 0, 9 }
|
||||||
|
|
||||||
#undef RGBLIGHT_ANIMATIONS
|
#if defined(__AVR_ATmega32U4__)
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#undef LOCKING_SUPPORT_ENABLE
|
||||||
#define RGBLIGHT_EFFECT_KNIGHT
|
#undef LOCKING_RESYNC_ENABLE
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
|
||||||
|
#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
#undef RGBLIGHT_EFFECT_SNAKE
|
||||||
|
#undef RGBLIGHT_EFFECT_CHRISTMAS
|
||||||
|
#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||||
|
#undef RGBLIGHT_EFFECT_RGB_TEST
|
||||||
|
#undef RGBLIGHT_EFFECT_ALTERNATING
|
||||||
|
#undef RGBLIGHT_EFFECT_TWINKLE
|
||||||
|
#endif
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#define OTHER 3
|
#define OTHER 3
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
MACRO1 = SAFE_RANGE
|
MACRO1 = QK_KB_0
|
||||||
};
|
};
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
@ -3,6 +3,13 @@
|
|||||||
"vendorId": "0xFEED",
|
"vendorId": "0xFEED",
|
||||||
"productId": "0x6060",
|
"productId": "0x6060",
|
||||||
"lighting": "qmk_rgblight",
|
"lighting": "qmk_rgblight",
|
||||||
|
"customKeycodes": [
|
||||||
|
{
|
||||||
|
"name": "MACRO1",
|
||||||
|
"title": ":'(",
|
||||||
|
"shortName": "SORRY"
|
||||||
|
}
|
||||||
|
],
|
||||||
"matrix": {
|
"matrix": {
|
||||||
"rows": 3,
|
"rows": 3,
|
||||||
"cols": 10
|
"cols": 10
|
||||||
@ -10,45 +17,45 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"keymap":[
|
"keymap":[
|
||||||
[
|
[
|
||||||
"0,0",
|
"0,0",
|
||||||
"0,1",
|
"0,1",
|
||||||
"0,2",
|
"0,2",
|
||||||
"0,3",
|
"0,3",
|
||||||
"0,4",
|
"0,4",
|
||||||
"0,5",
|
"0,5",
|
||||||
"0,6",
|
"0,6",
|
||||||
"0,7",
|
"0,7",
|
||||||
"0,8",
|
"0,8",
|
||||||
"0,9"
|
"0,9"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"1,0",
|
"1,0",
|
||||||
"1,1",
|
"1,1",
|
||||||
"1,2",
|
"1,2",
|
||||||
"1,3",
|
"1,3",
|
||||||
"1,4",
|
"1,4",
|
||||||
"1,5",
|
"1,5",
|
||||||
"1,6",
|
"1,6",
|
||||||
"1,7",
|
"1,7",
|
||||||
"1,8",
|
"1,8",
|
||||||
"1,9"
|
"1,9"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"x": 0.5
|
"x": 0.5
|
||||||
},
|
},
|
||||||
"2,0",
|
"2,0",
|
||||||
"2,1",
|
"2,1",
|
||||||
"2,2",
|
"2,2",
|
||||||
"2,3",
|
"2,3",
|
||||||
{
|
{
|
||||||
"w": 2
|
"w": 2
|
||||||
},
|
},
|
||||||
"2,5",
|
"2,5",
|
||||||
"2,7",
|
"2,7",
|
||||||
"2,8",
|
"2,8",
|
||||||
"2,9"
|
"2,9"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#undef LOCKING_SUPPORT_ENABLE
|
||||||
|
#undef LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
|
#undef RGBLIGHT_EFFECT_ALTERNATING
|
||||||
|
#undef RGBLIGHT_EFFECT_CHRISTMAS
|
||||||
|
|
||||||
#define VIAL_KEYBOARD_UID {0x19, 0xFF, 0xE1, 0x15, 0x74, 0x04, 0x69, 0x00}
|
#define VIAL_KEYBOARD_UID {0x19, 0xFF, 0xE1, 0x15, 0x74, 0x04, 0x69, 0x00}
|
||||||
#define VIAL_UNLOCK_COMBO_ROWS { 1, 1 }
|
#define VIAL_UNLOCK_COMBO_ROWS { 1, 1 }
|
||||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 2 }
|
#define VIAL_UNLOCK_COMBO_COLS { 0, 2 }
|
||||||
|
@ -25,22 +25,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
_______,
|
_______,
|
||||||
RGB_MOD, KC_UP, QK_BOOT,
|
RGB_MOD, KC_UP, QK_BOOT,
|
||||||
KC_LEFT, KC_DOWN, KC_RGHT
|
KC_LEFT, KC_DOWN, KC_RGHT
|
||||||
),
|
)
|
||||||
[2] = LAYOUT(
|
|
||||||
_______,
|
|
||||||
_______, _______, _______,
|
|
||||||
_______, _______, _______
|
|
||||||
),
|
|
||||||
[3] = LAYOUT(
|
|
||||||
_______,
|
|
||||||
_______, _______, _______,
|
|
||||||
_______, _______, _______
|
|
||||||
),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_NO, KC_NO) },
|
[0] = { ENCODER_CCW_CW(KC_NO, KC_NO) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_NO, KC_NO) },
|
[1] = { ENCODER_CCW_CW(KC_NO, KC_NO) }
|
||||||
[2] = { ENCODER_CCW_CW(KC_NO, KC_NO) },
|
|
||||||
[3] = { ENCODER_CCW_CW(KC_NO, KC_NO) },
|
|
||||||
};
|
};
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
{
|
|
||||||
"config": {
|
|
||||||
"features": {
|
|
||||||
"via": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"keyboard": "binepad/bn009r2",
|
|
||||||
"version": 1,
|
|
||||||
"author": "binepad",
|
|
||||||
"notes": "This file is a keymap.json file for binepad/bn009r2",
|
|
||||||
"keymap": "via",
|
|
||||||
"layout": "LAYOUT_ortho_3x3",
|
|
||||||
"layers": [
|
|
||||||
[
|
|
||||||
"KC_7", "KC_8", "KC_9",
|
|
||||||
"KC_4", "KC_5", "KC_6",
|
|
||||||
"KC_1", "KC_2", "KC_3"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"KC_NO", "KC_NO", "KC_NO",
|
|
||||||
"KC_NO", "KC_NO", "KC_NO",
|
|
||||||
"KC_NO", "KC_NO", "KC_NO"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"KC_NO", "KC_NO", "KC_NO",
|
|
||||||
"KC_NO", "KC_NO", "KC_NO",
|
|
||||||
"KC_NO", "KC_NO", "KC_NO"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"KC_NO", "KC_NO", "KC_NO",
|
|
||||||
"KC_NO", "KC_NO", "KC_NO",
|
|
||||||
"KC_NO", "KC_NO", "KC_NO"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,11 +1,13 @@
|
|||||||
MOUSEKEY_ENABLE = no # Mouse keys
|
VIA_ENABLE = yes
|
||||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
VIAL_ENABLE = yes
|
||||||
VIA_ENABLE = yes # Enable VIA
|
LTO_ENABLE = yes
|
||||||
VIAL_ENABLE = yes # Enable VIAL
|
|
||||||
|
RGBLIGHT_ENABLE = yes
|
||||||
|
RGB_MATRIX_ENABLE = no # Can't have RGBLIGHT and RGB_MATRIX at the same time.
|
||||||
|
MOUSEKEY_ENABLE = no
|
||||||
OLED_ENABLE = no
|
OLED_ENABLE = no
|
||||||
OLED_DRIVER = SSD1306
|
OLED_DRIVER = SSD1306
|
||||||
EXTRAKEY_ENABLE = yes
|
EXTRAKEY_ENABLE = yes
|
||||||
LTO_ENABLE = yes
|
|
||||||
QMK_SETTINGS = no
|
|
||||||
COMBO_ENABLE = no
|
COMBO_ENABLE = no
|
||||||
|
|
||||||
|
QMK_SETTINGS = no
|
||||||
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#if defined(LED_ANIMATIONS)
|
#if defined(LED_ANIMATIONS)
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
||||||
|
|
||||||
#undef RGBLIGHT_EFFECT_RGB_TEST
|
#undef RGBLIGHT_EFFECT_RGB_TEST
|
||||||
#undef RGBLIGHT_EFFECT_ALTERNATING
|
#undef RGBLIGHT_EFFECT_ALTERNATING
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#define SERIAL_USART_PIN_SWAP // Swap TX and RX pins if keyboard is master halve.
|
#define SERIAL_USART_PIN_SWAP // Swap TX and RX pins if keyboard is master halve.
|
||||||
#define SERIAL_USART_SPEED 921600 // Sped :)
|
#define SERIAL_USART_SPEED 921600 // Sped :)
|
||||||
#define USB_VBUS_PIN GP19 // for rp2040 | When USB_VBUS_PIN is not defined, SPLIT_USB_DETECT is used.
|
#define USB_VBUS_PIN GP19 // for rp2040 | When USB_VBUS_PIN is not defined, SPLIT_USB_DETECT is used.
|
||||||
#define EE_HANDS // Split handedness via eeprom
|
|
||||||
#define SPLIT_LED_STATE_ENABLE // Sync host leds (caps lock, ...)
|
#define SPLIT_LED_STATE_ENABLE // Sync host leds (caps lock, ...)
|
||||||
#define SPLIT_LAYER_STATE_ENABLE // Enables syncing of the layer state between both halves
|
#define SPLIT_LAYER_STATE_ENABLE // Enables syncing of the layer state between both halves
|
||||||
#define SPLIT_POINTING_ENABLE // Transmitting the pointing device status to the master side
|
#define SPLIT_POINTING_ENABLE // Transmitting the pointing device status to the master side
|
||||||
@ -21,5 +20,4 @@
|
|||||||
#define RGBLIGHT_DEFAULT_VAR 255
|
#define RGBLIGHT_DEFAULT_VAR 255
|
||||||
#define RGBLIGHT_DEFAULT_SPD 2
|
#define RGBLIGHT_DEFAULT_SPD 2
|
||||||
|
|
||||||
#define BOOTMAGIC_LITE_ROW 0
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 9
|
||||||
#define BOOTMAGIC_LITE_COLUMN 0
|
|
||||||
|
@ -2,29 +2,27 @@
|
|||||||
"manufacturer": "Keycapsss",
|
"manufacturer": "Keycapsss",
|
||||||
"keyboard_name": "3w6 RP2040",
|
"keyboard_name": "3w6 RP2040",
|
||||||
"maintainer": "Keycapsss",
|
"maintainer": "Keycapsss",
|
||||||
"url": "https://keycapsss.com",
|
|
||||||
"processor": "RP2040",
|
|
||||||
"bootloader": "rp2040",
|
"bootloader": "rp2040",
|
||||||
"bootloader_instructions": "Press and hold the boot button while plugging in the keyboard",
|
"bootloader_instructions": "Press and hold the boot button while plugging in the keyboard",
|
||||||
"usb": {
|
"diode_direction": "COL2ROW",
|
||||||
"vid": "0x7983",
|
|
||||||
"pid": "0x3357",
|
|
||||||
"device_version": "1.0.0"
|
|
||||||
},
|
|
||||||
"features": {
|
"features": {
|
||||||
"bootmagic": true,
|
"bootmagic": true,
|
||||||
"command": false,
|
"command": false,
|
||||||
"console": true,
|
"console": true,
|
||||||
"extrakey": true,
|
"extrakey": true,
|
||||||
"mousekey": true,
|
"mousekey": true,
|
||||||
"pointing_device": true,
|
|
||||||
"nkro": true,
|
"nkro": true,
|
||||||
|
"pointing_device": true,
|
||||||
"rgblight": true
|
"rgblight": true
|
||||||
},
|
},
|
||||||
"debounce": 5,
|
|
||||||
"indicators": {
|
"indicators": {
|
||||||
"caps_lock": "GP17"
|
"caps_lock": "GP17"
|
||||||
},
|
},
|
||||||
|
"matrix_pins": {
|
||||||
|
"cols": ["GP8", "GP9", "GP10", "GP11", "GP12"],
|
||||||
|
"rows": ["GP4", "GP5", "GP6", "GP7"]
|
||||||
|
},
|
||||||
|
"processor": "RP2040",
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
@ -42,64 +40,65 @@
|
|||||||
"hue_steps": 8,
|
"hue_steps": 8,
|
||||||
"led_count": 2,
|
"led_count": 2,
|
||||||
"max_brightness": 100,
|
"max_brightness": 100,
|
||||||
"pin": "GP25",
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"split_count": [1, 1]
|
"split_count": [1, 1]
|
||||||
},
|
},
|
||||||
"diode_direction": "COL2ROW",
|
|
||||||
"matrix_pins": {
|
|
||||||
"cols": ["GP8", "GP9", "GP10", "GP11", "GP12"],
|
|
||||||
"rows": ["GP4", "GP5", "GP6", "GP7"]
|
|
||||||
},
|
|
||||||
"matrix_size": {
|
|
||||||
"cols": 5,
|
|
||||||
"rows": 8
|
|
||||||
},
|
|
||||||
"split": {
|
"split": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
"main": "eeprom",
|
||||||
"transport": {
|
"transport": {
|
||||||
"protocol": "serial"
|
"protocol": "serial"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"url": "https://keycapsss.com",
|
||||||
|
"usb": {
|
||||||
|
"device_version": "1.0.0",
|
||||||
|
"pid": "0x3357",
|
||||||
|
"vid": "0x7983"
|
||||||
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"driver": "vendor",
|
||||||
|
"pin": "GP25"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_split_3x5_3": {
|
"LAYOUT_split_3x5_3": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{ "label": "L00", "matrix": [0, 0], "x": 0, "y": 0.75 },
|
{"label": "L00", "matrix": [0, 0], "x": 0, "y": 0.75},
|
||||||
{ "label": "L01", "matrix": [0, 1], "x": 1, "y": 0.25 },
|
{"label": "L01", "matrix": [0, 1], "x": 1, "y": 0.25},
|
||||||
{ "label": "L02", "matrix": [0, 2], "x": 2, "y": 0 },
|
{"label": "L02", "matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{ "label": "L03", "matrix": [0, 3], "x": 3, "y": 0.25 },
|
{"label": "L03", "matrix": [0, 3], "x": 3, "y": 0.25},
|
||||||
{ "label": "L04", "matrix": [0, 4], "x": 4, "y": 0.5 },
|
{"label": "L04", "matrix": [0, 4], "x": 4, "y": 0.5},
|
||||||
{ "label": "R04", "matrix": [4, 4], "x": 8.75, "y": 0.5 },
|
{"label": "R04", "matrix": [4, 4], "x": 8.75, "y": 0.5},
|
||||||
{ "label": "R03", "matrix": [4, 3], "x": 9.75, "y": 0.25 },
|
{"label": "R03", "matrix": [4, 3], "x": 9.75, "y": 0.25},
|
||||||
{ "label": "R02", "matrix": [4, 2], "x": 10.75, "y": 0 },
|
{"label": "R02", "matrix": [4, 2], "x": 10.75, "y": 0},
|
||||||
{ "label": "R01", "matrix": [4, 1], "x": 11.75, "y": 0.25 },
|
{"label": "R01", "matrix": [4, 1], "x": 11.75, "y": 0.25},
|
||||||
{ "label": "R00", "matrix": [4, 0], "x": 12.75, "y": 0.75 },
|
{"label": "R00", "matrix": [4, 0], "x": 12.75, "y": 0.75},
|
||||||
{ "label": "L10", "matrix": [1, 0], "x": 0, "y": 1.75 },
|
{"label": "L10", "matrix": [1, 0], "x": 0, "y": 1.75},
|
||||||
{ "label": "L11", "matrix": [1, 1], "x": 1, "y": 1.25 },
|
{"label": "L11", "matrix": [1, 1], "x": 1, "y": 1.25},
|
||||||
{ "label": "L12", "matrix": [1, 2], "x": 2, "y": 1 },
|
{"label": "L12", "matrix": [1, 2], "x": 2, "y": 1},
|
||||||
{ "label": "L13", "matrix": [1, 3], "x": 3, "y": 1.25 },
|
{"label": "L13", "matrix": [1, 3], "x": 3, "y": 1.25},
|
||||||
{ "label": "L14", "matrix": [1, 4], "x": 4, "y": 1.5 },
|
{"label": "L14", "matrix": [1, 4], "x": 4, "y": 1.5},
|
||||||
{ "label": "R14", "matrix": [5, 4], "x": 8.75, "y": 1.5 },
|
{"label": "R14", "matrix": [5, 4], "x": 8.75, "y": 1.5},
|
||||||
{ "label": "R13", "matrix": [5, 3], "x": 9.75, "y": 1.25 },
|
{"label": "R13", "matrix": [5, 3], "x": 9.75, "y": 1.25},
|
||||||
{ "label": "R12", "matrix": [5, 2], "x": 10.75, "y": 1 },
|
{"label": "R12", "matrix": [5, 2], "x": 10.75, "y": 1},
|
||||||
{ "label": "R11", "matrix": [5, 1], "x": 11.75, "y": 1.25 },
|
{"label": "R11", "matrix": [5, 1], "x": 11.75, "y": 1.25},
|
||||||
{ "label": "R10", "matrix": [5, 0], "x": 12.75, "y": 1.75 },
|
{"label": "R10", "matrix": [5, 0], "x": 12.75, "y": 1.75},
|
||||||
{ "label": "L20", "matrix": [2, 0], "x": 0, "y": 2.75 },
|
{"label": "L20", "matrix": [2, 0], "x": 0, "y": 2.75},
|
||||||
{ "label": "L21", "matrix": [2, 1], "x": 1, "y": 2.25 },
|
{"label": "L21", "matrix": [2, 1], "x": 1, "y": 2.25},
|
||||||
{ "label": "L22", "matrix": [2, 2], "x": 2, "y": 2 },
|
{"label": "L22", "matrix": [2, 2], "x": 2, "y": 2},
|
||||||
{ "label": "L23", "matrix": [2, 3], "x": 3, "y": 2.25 },
|
{"label": "L23", "matrix": [2, 3], "x": 3, "y": 2.25},
|
||||||
{ "label": "L24", "matrix": [2, 4], "x": 4, "y": 2.5 },
|
{"label": "L24", "matrix": [2, 4], "x": 4, "y": 2.5},
|
||||||
{ "label": "R24", "matrix": [6, 4], "x": 8.75, "y": 2.5 },
|
{"label": "R24", "matrix": [6, 4], "x": 8.75, "y": 2.5},
|
||||||
{ "label": "R23", "matrix": [6, 3], "x": 9.75, "y": 2.25 },
|
{"label": "R23", "matrix": [6, 3], "x": 9.75, "y": 2.25},
|
||||||
{ "label": "R22", "matrix": [6, 2], "x": 10.75, "y": 2 },
|
{"label": "R22", "matrix": [6, 2], "x": 10.75, "y": 2},
|
||||||
{ "label": "R21", "matrix": [6, 1], "x": 11.75, "y": 2.25 },
|
{"label": "R21", "matrix": [6, 1], "x": 11.75, "y": 2.25},
|
||||||
{ "label": "R20", "matrix": [6, 0], "x": 12.75, "y": 2.75 },
|
{"label": "R20", "matrix": [6, 0], "x": 12.75, "y": 2.75},
|
||||||
{ "label": "L32", "matrix": [3, 2], "x": 2.75, "y": 3.5 },
|
{"label": "L32", "matrix": [3, 2], "x": 2.75, "y": 3.5},
|
||||||
{ "label": "L33", "matrix": [3, 3], "x": 4, "y": 3.75 },
|
{"label": "L33", "matrix": [3, 3], "x": 4, "y": 3.75},
|
||||||
{ "label": "L34", "matrix": [3, 4], "x": 5.25, "y": 3.5, "h":1.5 },
|
{"label": "L34", "matrix": [3, 4], "x": 5.25, "y": 3.5, "h": 1.5},
|
||||||
{ "label": "R34", "matrix": [7, 4], "x": 7.5, "y": 3.5, "h":1.5 },
|
{"label": "R34", "matrix": [7, 4], "x": 7.5, "y": 3.5, "h": 1.5},
|
||||||
{ "label": "R33", "matrix": [7, 3], "x": 8.75, "y": 3.75 },
|
{"label": "R33", "matrix": [7, 3], "x": 8.75, "y": 3.75},
|
||||||
{ "label": "R32", "matrix": [7, 2], "x": 10, "y": 3.5 }
|
{"label": "R32", "matrix": [7, 2], "x": 10, "y": 3.5}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
SERIAL_DRIVER = vendor
|
SERIAL_DRIVER = vendor
|
||||||
WS2812_DRIVER = vendor
|
|
||||||
POINTING_DEVICE_DRIVER = pimoroni_trackball
|
POINTING_DEVICE_DRIVER = pimoroni_trackball
|
||||||
PIMORONI_TRACKBALL_ADDRESS = 0x0A
|
PIMORONI_TRACKBALL_ADDRESS = 0x0A
|
||||||
|
@ -14,3 +14,4 @@
|
|||||||
#undef RGBLIGHT_EFFECT_CHRISTMAS
|
#undef RGBLIGHT_EFFECT_CHRISTMAS
|
||||||
#undef RGBLIGHT_EFFECT_RGB_TEST
|
#undef RGBLIGHT_EFFECT_RGB_TEST
|
||||||
#undef RGBLIGHT_EFFECT_ALTERNATING
|
#undef RGBLIGHT_EFFECT_ALTERNATING
|
||||||
|
#undef RGBLIGHT_EFFECT_SNAKE
|
||||||
|
@ -18,24 +18,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#undef LOCKING_SUPPORT_ENABLE
|
#undef LOCKING_SUPPORT_ENABLE
|
||||||
#undef LOCKING_RESYNC_ENABLE
|
#undef LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
/* Saving space by including fewer RGB Animations */
|
#undef RGBLIGHT_EFFECT_KNIGHT
|
||||||
#undef RGBLIGHT_ANIMATIONS
|
#undef RGBLIGHT_EFFECT_CHRISTMAS
|
||||||
|
#undef RGBLIGHT_EFFECT_RGB_TEST
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#undef RGBLIGHT_EFFECT_ALTERNATING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#undef RGBLIGHT_EFFECT_TWINKLE
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
|
||||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
||||||
#else
|
|
||||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
|
||||||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
|
||||||
#define RGBLIGHT_EFFECT_KNIGHT
|
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
|
||||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
|
||||||
#define RGBLIGHT_EFFECT_SNAKE
|
|
||||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
||||||
#define RGBLIGHT_EFFECT_TWINKLE
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* VIAL Specific definitions */
|
/* VIAL Specific definitions */
|
||||||
|
@ -19,9 +19,7 @@
|
|||||||
|
|
||||||
enum layer_names {
|
enum layer_names {
|
||||||
_BASE,
|
_BASE,
|
||||||
_FN1,
|
_FN1
|
||||||
_FN2,
|
|
||||||
_FN3
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
/* Base */
|
/* Base */
|
||||||
[_BASE] = LAYOUT(
|
[_BASE] = LAYOUT(
|
||||||
KC_F1, KC_F2, KC_F3, KC_F4,
|
KC_F1, KC_F2, KC_F3, KC_F4,
|
||||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||||
KC_P7, KC_P8, KC_P9, KC_PPLS,
|
KC_P7, KC_P8, KC_P9, KC_PPLS,
|
||||||
KC_MUTE, KC_P4, KC_P5, KC_P6, _______,
|
KC_MUTE, KC_P4, KC_P5, KC_P6, _______,
|
||||||
MO(_FN1), KC_P1, KC_P2, KC_P3, KC_PENT,
|
MO(_FN1), KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||||
@ -46,38 +44,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
_______, RGB_VAD, RGB_SPD, RGB_VAI, _______,
|
_______, RGB_VAD, RGB_SPD, RGB_VAI, _______,
|
||||||
_______, RGB_SAD, _______, RGB_SAI, _______,
|
_______, RGB_SAD, _______, RGB_SAI, _______,
|
||||||
|
|
||||||
_______, _______, _______
|
_______, _______, _______
|
||||||
|
|
||||||
),
|
|
||||||
[_FN2] = LAYOUT(
|
|
||||||
_______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______,
|
|
||||||
|
|
||||||
_______, _______, _______
|
|
||||||
|
|
||||||
),
|
|
||||||
[_FN3] = LAYOUT(
|
|
||||||
_______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______,
|
|
||||||
_______, _______, _______, _______, _______,
|
|
||||||
|
|
||||||
_______, _______, _______
|
|
||||||
|
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ENCODER_MAP_ENABLE
|
#ifdef ENCODER_MAP_ENABLE
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_BRID, KC_BRIU) },
|
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_BRID, KC_BRIU) },
|
||||||
[_FN1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[_FN1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }
|
||||||
[_FN2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
|
||||||
[_FN3] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -17,18 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGBLED_NUM 15
|
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
|
||||||
#define RGBLIGHT_EFFECT_SNAKE
|
|
||||||
#define RGBLIGHT_EFFECT_KNIGHT
|
|
||||||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
|
||||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
||||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
|
||||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
|
||||||
#define RGBLIGHT_EFFECT_TWINKLE
|
|
||||||
|
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
|
||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -4,3 +4,8 @@
|
|||||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 1 }
|
#define VIAL_UNLOCK_COMBO_ROWS { 0, 1 }
|
||||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 12 }
|
#define VIAL_UNLOCK_COMBO_COLS { 0, 12 }
|
||||||
|
|
||||||
|
#undef RGBLIGHT_ALTERNATING
|
||||||
|
#undef RGBLIGHT_EFFECT_CHRISTMAS
|
||||||
|
|
||||||
|
#undef LOCKING_SUPPORT_ENABLE
|
||||||
|
#undef LOCKING_RESYNC_ENABLE
|
||||||
|
@ -22,7 +22,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
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_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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, MO(2),
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, MO(2),
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, MO(1), KC_SPC, KC_LALT, KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, MO(1), KC_SPC, KC_LALT, KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||||
|
|
||||||
),
|
),
|
||||||
[1] = LAYOUT_all(
|
[1] = LAYOUT_all(
|
||||||
KC_ESC, 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_DEL,
|
KC_ESC, 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_DEL,
|
||||||
@ -35,13 +34,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
KC_TRNS, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
KC_TRNS, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, 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, 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
|
||||||
),
|
|
||||||
[3] = LAYOUT_all(
|
|
||||||
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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -1,12 +1 @@
|
|||||||
# Build Options
|
# This file intentionally left blank
|
||||||
# change yes to no to disable
|
|
||||||
#
|
|
||||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
|
||||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
|
||||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
||||||
CONSOLE_ENABLE = no # Console for debug
|
|
||||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
||||||
NKRO_ENABLE = no # Enable N-Key Rollover
|
|
||||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
||||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
|
||||||
AUDIO_ENABLE = no # Audio output
|
|
||||||
|
Loading…
Reference in New Issue
Block a user