From c8087b5b83efe9024330881004a1e92a88f6be17 Mon Sep 17 00:00:00 2001 From: wanghao505 Date: Thu, 2 Jun 2022 04:12:41 +0000 Subject: [PATCH] Signed-off-by:wanghao505 Signed-off-by: wanghao505 --- src/common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common.h b/src/common.h index 80a3d6e..31c4e7f 100644 --- a/src/common.h +++ b/src/common.h @@ -119,7 +119,7 @@ struct mtdev { struct mtdev_state *state; }; -#define MT_ABS_SIZE 12 +#define MT_ABS_SIZE 14 static const unsigned int mtdev_map_abs2mt[ABS_CNT] = { 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, @@ -129,12 +129,12 @@ static const unsigned int mtdev_map_abs2mt[ABS_CNT] = { 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, - 0x0009, 0x000a, 0x000b, 0x000c, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x0000, 0x0000, }; static const unsigned int mtdev_map_mt2abs[MT_ABS_SIZE] = { 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, + 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, }; static inline int mtdev_is_absmt(unsigned int code) -- Gitee