diff options
author | dakkar <dakkar@thenautilus.net> | 2019-02-01 15:18:41 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2019-02-07 17:43:53 +0000 |
commit | 8457bc875f4987e3b9aea00dec244e9599b3c367 (patch) | |
tree | fc1f8065fd0cbf72b9945ca20cf565e521105ad0 | |
parent | less LED stuff (diff) | |
download | keyboardio-model01-8457bc875f4987e3b9aea00dec244e9599b3c367.tar.gz keyboardio-model01-8457bc875f4987e3b9aea00dec244e9599b3c367.tar.bz2 keyboardio-model01-8457bc875f4987e3b9aea00dec244e9599b3c367.zip |
disable the mouse interfaces
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Model01-Firmware.ino | 10 |
2 files changed, 7 insertions, 5 deletions
@@ -52,4 +52,6 @@ endif BOARD_HARDWARE_PATH ?= $(SKETCHBOOK_DIR)/hardware KALEIDOSCOPE_PLUGIN_MAKEFILE_DIR ?= keyboardio/avr/build-tools/makefiles/ +export LOCAL_CFLAGS= -DKALEIDOSCOPE_HIDADAPTOR_DISABLE_ABSOLUTE_MOUSE=1 -DKALEIDOSCOPE_HIDADAPTOR_DISABLE_MOUSE=1 + include $(BOARD_HARDWARE_PATH)/$(KALEIDOSCOPE_PLUGIN_MAKEFILE_DIR)/rules.mk diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index 638d4a9..1415dc8 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -24,7 +24,7 @@ #include "Kaleidoscope-FocusSerial.h" // Support for keys that move the mouse -#include "Kaleidoscope-MouseKeys.h" +//#include "Kaleidoscope-MouseKeys.h" // Support for macros #include "Kaleidoscope-Macros.h" @@ -258,9 +258,9 @@ KEYMAPS( [FUNCTION] = KEYMAP_STACKED (___, Key_F1, Key_F2, Key_F3, Key_F4, Key_F5, Key_CapsLock, - Key_Tab, ___, Key_mouseUp, ___, Key_mouseBtnR, Key_mouseWarpEnd, Key_mouseWarpNE, - Key_Home, Key_mouseL, Key_mouseDn, Key_mouseR, Key_mouseBtnL, Key_mouseWarpNW, - Key_End, Key_PrintScreen, Key_Insert, ___, Key_mouseBtnM, Key_mouseWarpSW, Key_mouseWarpSE, + Key_Tab, ___, ___, ___, ___, ___, ___, + Key_Home, ___, ___, ___, ___, ___, + Key_End, Key_PrintScreen, Key_Insert, ___, ___, ___, ___, ___, Key_Delete, ___, ___, ___, @@ -474,7 +474,7 @@ KALEIDOSCOPE_INIT_PLUGINS( Macros, // The MouseKeys plugin lets you add keys to your keymap which move the mouse. - MouseKeys, + //MouseKeys, // The HostPowerManagement plugin allows us to turn LEDs off when then host // goes to sleep, and resume them when it wakes up. |