Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
11 changes: 0 additions & 11 deletions keyboards/ardux/thepaintbrush/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,9 @@
// SPDX-License-Identifier: Apache-2.0
#pragma once

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x7E71
#define PRODUCT_ID 0x7E72
#define DEVICE_VER 0x0001
#define MANUFACTURER ardux
#define PRODUCT thepaintbrush
#define DESCRIPTION thepaintbrush

/* Board layout */
#define MATRIX_ROWS 2
#define MATRIX_COLS 4
#define UNUSED_PINS

/* Prevent jitters in key presses */
#define DEBOUNCE 5
10 changes: 10 additions & 0 deletions keyboards/ardux/thepaintbrush/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
"keyboard_name": "The Paintbrush",
"url": "https://github.com/arduxio/qmk-artsey",
"maintainer": "ardux",
"manufacturer": "ardux",
"usb": {
"device_version": "01.0.0",
"pid": "0x7E71",
"vid": "0x7E72"
},

"bootloader": "rp2040",
"processor": "RP2040",

"layouts": {
"LAYOUT": {
"layout": [
Expand Down
9 changes: 7 additions & 2 deletions keyboards/ardux/thepaintbrush/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ LTO_ENABLE = no # We support arm qmk devices which are incompatabl with this avr

# Work around limitation with userland and the way we have 'dynamic' direct wiring
# This *should* live in config.h but KemoNine can't figure out how to check which keymap is in use at that level
PINS_HAND_LEFT = -DDIRECT_PINS="{ { F7, F6, F5, F4 }, { B6, B2, B3, B1 } }"
PINS_HAND_RIGHT = -DDIRECT_PINS="{ { F4, F5, F6, F7 }, { B1, B3, B2, B6 } }"
#PINS_HAND_LEFT = -DDIRECT_PINS="{ { F7, F6, F5, F4 }, { B6, B2, B3, B1 } }"
#PINS_HAND_RIGHT = -DDIRECT_PINS="{ { F4, F5, F6, F7 }, { B1, B3, B2, B6 } }"

# RP2040 pins
PINS_HAND_RIGHT = -DDIRECT_PINS="{ { 2, 3, 4, 5 }, { 6, 7, 8, 9 } }"
PINS_HAND_LEFT = -DDIRECT_PINS="{ { 10, 11, 12, 13 }, { 18, 19, 20, 21 } }"

ifeq ($(KEYBOARD), ardux/thepaintbrush)
ifeq ($(KEYMAP), left)
OPT_DEFS += $(PINS_HAND_LEFT)
Expand Down
6 changes: 2 additions & 4 deletions users/ardux/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ WPM_ENABLE = no
ENCODER_ENABLE = no
RGBLIGHT_ENABLE = no

INTROSPECTION_KEYMAP_C = ardux.c

##########
# Enable LTO if possible (graphics on avr mainly)
ifneq ($(PLATFORM),CHIBIOS)
Expand All @@ -41,10 +43,6 @@ endif
# Combo engine related
VPATH += keyboards/gboards/

###########
# ARDUX Sources
SRC += ardux.c

##########
# Set size for all build steps
ifeq ($(strip $(ARDUX_SIZE)), std)
Expand Down