From f5f48c2a240b43e1773c3787b8fca8859f128cf7 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 15 May 2012 03:41:07 +0900 Subject: 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. --- m0110.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'm0110.h') diff --git a/m0110.h b/m0110.h index 7d2ffa83a0..792a562b60 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; -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/62300000.lock: Permission denied (13)