diff options
author | tmk <nobody@nowhere> | 2012-05-15 03:41:07 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-05-16 02:01:45 +0900 |
commit | f5f48c2a240b43e1773c3787b8fca8859f128cf7 (patch) | |
tree | 58ed9b0f4013f33e11767836a98ffa227aa3dd0e /m0110.h | |
parent | d553289e7edfdf17dfe4fb9cf45a3b23ea2e03df (diff) |
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.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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; |