This commit is contained in:
2022-11-20 20:45:13 -08:00
parent d795d84f41
commit afa07ce83c
8 changed files with 15 additions and 14 deletions

View File

@ -7,8 +7,8 @@
extern uint8_t layer_layouts[];
#ifdef BETA_ENABLE_SPELLCHECK
#include "features/spellcheck.h"
#ifdef ENABLE_HID_SPELLCHECK
#include "features/hid_spellcheck.h"
#endif
// See features/beta_rawhid.h for prococol documentation
@ -30,7 +30,7 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
break;
#endif
#ifdef BETA_ENABLE_SPELLCHECK
#ifdef ENABLE_HID_SPELLCHECK
case CMD_SPELLCHECK_WORD:
if (data[1]) {
ergodox_right_led_1_on();
@ -113,7 +113,7 @@ void hid_send_special_char(uint16_t char_id) {
}
#ifdef BETA_ENABLE_SPELLCHECK
#ifdef ENABLE_HID_SPELLCHECK
void hid_send_word() {
uint8_t packet[RAW_EPSIZE] = {
CMD_SPELLCHECK_WORD,

View File

@ -21,7 +21,7 @@ void _hid_send_state(_hid_send_state_args args);
void hid_send_special_char(uint16_t char_utf_8);
#ifdef BETA_ENABLE_SPELLCHECK
#ifdef ENABLE_HID_SPELLCHECK
void hid_send_word(void);
#endif

View File

@ -1,9 +1,9 @@
#ifdef BETA_ENABLE_SPELLCHECK
#ifdef ENABLE_HID_SPELLCHECK
#include "keymap_russian.h"
#include "keymap_us_international.h"
#include "features/spellcheck.h"
#include "features/hid_spellcheck.h"
#include "features/beta_rawhid.h"
#include "extra_mappings.h"

View File

@ -1,6 +1,6 @@
#pragma once
#ifdef BETA_ENABLE_SPELLCHECK
#ifdef ENABLE_HID_SPELLCHECK
#include "quantum.h"