summaryrefslogtreecommitdiffstats
path: root/m0110_usb/config.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-04-28 01:57:36 +0900
committertmk <nobody@nowhere>2012-04-28 01:57:36 +0900
commit12f6e9ffa76f685f7256bf1421f918f90c93add1 (patch)
treea4f81dff6ea8450a4f482e06a957056e74d93734 /m0110_usb/config.h
parent0a4fa89548e8c098c65c289865ebbf1e1c29adf4 (diff)
Added M0110A support contributed by skagon@github.
- README is written with markdown notation. - m0110.c can handles Arrow keys and Calc keys of M0110A. - EXTRAFLAGS and EXTRALDFLAGS are added in rules.mk to give flags on make command line.
Diffstat (limited to 'm0110_usb/config.h')
-rw-r--r--m0110_usb/config.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/m0110_usb/config.h b/m0110_usb/config.h
index c12e0738da..de20d7c88c 100644
--- a/m0110_usb/config.h
+++ b/m0110_usb/config.h
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* matrix size */
-#define MATRIX_ROWS 8
+#define MATRIX_ROWS 14
#define MATRIX_COLS 8
/* Locking Caps Lock support */
@@ -38,8 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* key combination for command */
#define IS_COMMAND() ( \
- keyboard_report->mods == (MOD_BIT(KB_LSHIFT) | MOD_BIT(KB_LCTRL) | MOD_BIT(KB_LALT) | MOD_BIT(KB_LGUI)) || \
- keyboard_report->mods == (MOD_BIT(KB_LSHIFT) | MOD_BIT(KB_RSHIFT)) \
+ keyboard_report->mods == (MOD_BIT(KB_LALT) | MOD_BIT(KB_LGUI)) \
)