Skip to content

Commit

Permalink
forgot to "git add" some files
Browse files Browse the repository at this point in the history
  • Loading branch information
tagno25 committed Mar 18, 2024
1 parent 1e95192 commit 736986d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
12 changes: 12 additions & 0 deletions builddefs/common_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,18 @@ ifeq ($(strip $(VIA_ENABLE)), yes)
OPT_DEFS += -DVIA_ENABLE
endif

ifeq ($(strip $(OPENRGB_ENABLE)), yes)
RAW_ENABLE := yes
SRC += $(QUANTUM_DIR)/openrgb.c
OPT_DEFS += -DOPENRGB_ENABLE
endif

ifeq ($(strip $(OPENRGB_ENABLE)), yes)
ifeq ($(strip $(VIA_ENABLE)), yes)
$(error OPENRGB_ENABLE and VIA_ENABLE cannot currently be 'yes' simultaneously)
endif
endif

VALID_MAGIC_TYPES := yes
BOOTMAGIC_ENABLE ?= no
ifneq ($(strip $(BOOTMAGIC_ENABLE)), no)
Expand Down
3 changes: 2 additions & 1 deletion builddefs/show_options.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ BUILD_OPTION_NAMES = \
SPLIT_KEYBOARD \
DYNAMIC_KEYMAP_ENABLE \
USB_HID_ENABLE \
VIA_ENABLE
VIA_ENABLE \
OPENRGB_ENABLE

HARDWARE_OPTION_NAMES = \
SLEEP_LED_ENABLE \
Expand Down
2 changes: 1 addition & 1 deletion keyboards/framework/factory.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ bool handle_hid(uint8_t *data, uint8_t length) {
bool via_command_kb(uint8_t *data, uint8_t length) {
return handle_hid(data, length);
}
#ifndef VIA_ENABLE
#if !defined(VIA_ENABLE) && !defined(OPENRGB_ENABLE)
void raw_hid_receive(uint8_t *data, uint8_t length) {
handle_hid(data, length);
}
Expand Down
2 changes: 1 addition & 1 deletion tmk_core/protocol/arm_atsam/usb/udi_device_epsize.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define KEYBOARD_EPSIZE 8
#define MOUSE_EPSIZE 8
#define EXTRAKEY_EPSIZE 8
#define RAW_EPSIZE 32
#define RAW_EPSIZE 64
#define CONSOLE_EPSIZE 32
#define NKRO_EPSIZE 32
#define MIDI_STREAM_EPSIZE 64
Expand Down
2 changes: 1 addition & 1 deletion tmk_core/protocol/usb_descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ enum usb_endpoints {
#define KEYBOARD_EPSIZE 8
#define SHARED_EPSIZE 32
#define MOUSE_EPSIZE 8
#define RAW_EPSIZE 32
#define RAW_EPSIZE 64
#define CONSOLE_EPSIZE 32
#define MIDI_STREAM_EPSIZE 64
#define CDC_NOTIFICATION_EPSIZE 8
Expand Down

0 comments on commit 736986d

Please sign in to comment.