From 12f6e9ffa76f685f7256bf1421f918f90c93add1 Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 28 Apr 2012 01:57:36 +0900 Subject: 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. --- m0110_usb/matrix.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'm0110_usb/matrix.c') diff --git a/m0110_usb/matrix.c b/m0110_usb/matrix.c index f045920cc..11303ee0f 100644 --- a/m0110_usb/matrix.c +++ b/m0110_usb/matrix.c @@ -93,6 +93,9 @@ uint8_t matrix_scan(void) #endif if (key == M0110_NULL) { return 0; + } else if (key == M0110_ERROR) { + // TODO: error recovery or reinit + return 0; } else { #ifdef MATRIX_HAS_LOCKING_CAPS if (host_keyboard_leds() & (1<