summaryrefslogtreecommitdiffstats
path: root/m0110.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-05-14 20:41:07 +0200
committertmk <nobody@nowhere>2012-05-15 19:01:45 +0200
commitf5f48c2a240b43e1773c3787b8fca8859f128cf7 (patch)
tree58ed9b0f4013f33e11767836a98ffa227aa3dd0e /m0110.h
parentd553289e7edfdf17dfe4fb9cf45a3b23ea2e03df (diff)
downloadqmk_firmware-f5f48c2a240b43e1773c3787b8fca8859f128cf7.tar.gz
qmk_firmware-f5f48c2a240b43e1773c3787b8fca8859f128cf7.tar.xz
Fix bug on RAW2SCAN. Add work around for M0110A.
- Bug fix: Macro RAW2SCAN doesn't work and converted into static inline function. - Add Exceptional handling for M0110A arrow keys and calc keys. - Fix keymap.
Diffstat (limited to 'm0110.h')
-rw-r--r--m0110.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/m0110.h b/m0110.h
index 7d2ffa83a..792a562b6 100644
--- a/m0110.h
+++ b/m0110.h
@@ -78,15 +78,6 @@ POSSIBILITY OF SUCH DAMAGE.
#define M0110_KEYPAD_OFFSET 0x40
#define M0110_CALC_OFFSET 0x60
-/* convert key event raw response into scan code */
-#define M0110_RAW2SCAN(key) ( \
- (key == M0110_NULL) ? M0110_NULL : ( \
- (key == M0110_ERROR) ? M0110_ERROR : ( \
- ((key&0x80) | ((key&0x7F)>>1)) \
- ) \
- ) \
-)
-
extern uint8_t m0110_error;