diff --git a/src/common.h b/src/common.h index 80a3d6e0106eaf8d417fcc3e14bbded610346e4e..31c4e7f4c923eadfdef3f27a2d7e8a7e868bd791 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)