mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Input: use ABS_CNT rather than (ABS_MAX + 1)
Signed-off-by: Daniel Mack <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
This commit is contained in:
parent
a62f0d27b4
commit
81c2a3ba49
6 changed files with 21 additions and 21 deletions
|
|
@ -811,7 +811,7 @@ static const char *relatives[REL_MAX + 1] = {
|
|||
[REL_WHEEL] = "Wheel", [REL_MISC] = "Misc",
|
||||
};
|
||||
|
||||
static const char *absolutes[ABS_MAX + 1] = {
|
||||
static const char *absolutes[ABS_CNT] = {
|
||||
[ABS_X] = "X", [ABS_Y] = "Y",
|
||||
[ABS_Z] = "Z", [ABS_RX] = "Rx",
|
||||
[ABS_RY] = "Ry", [ABS_RZ] = "Rz",
|
||||
|
|
|
|||
Loading…
Reference in a new issue