1
0
Fork 0

Fix Pointing Device code (#1934)

* Fix pointer device options

when the feature was added, the appropriate option definition wasn't created.  This needs to be added to function properly.

* Update common_features.mk

* missing underscore in init function declaration
This commit is contained in:
drashna 2017-10-31 08:13:00 -07:00 committed by Jack Humbert
parent 7b65b7e948
commit 101b998ac2
2 changed files with 3 additions and 2 deletions

View File

@ -70,7 +70,8 @@ ifeq ($(strip $(FAUXCLICKY_ENABLE)), yes)
endif endif
ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes) ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
SRC += $(QUANTUM_DIR)/pointing_device.c OPT_DEFS += -DPOINTING_DEVICE_ENABLE
SRC += $(QUANTUM_DIR)/pointing_device.c
endif endif
ifeq ($(strip $(UCIS_ENABLE)), yes) ifeq ($(strip $(UCIS_ENABLE)), yes)

View File

@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "host.h" #include "host.h"
#include "report.h" #include "report.h"
void pointingdevice_init(void); void pointing_device_init(void);
void pointing_device_task(void); void pointing_device_task(void);
void pointing_device_send(void); void pointing_device_send(void);
report_mouse_t pointing_device_get_report(void); report_mouse_t pointing_device_get_report(void);