OSDN Git Service

Bump axis limit
authorMichael Wright <michaelwr@google.com>
Tue, 10 Jun 2014 01:56:43 +0000 (18:56 -0700)
committerMichael Wright <michaelwr@google.com>
Tue, 10 Jun 2014 01:56:43 +0000 (18:56 -0700)
Change-Id: I53d18646be2b884c5022f10c7c4ea8f6cda176c8

include/input/Input.h

index bba8f1e..96b6885 100644 (file)
@@ -186,7 +186,7 @@ enum {
  * Pointer coordinate data.
  */
 struct PointerCoords {
-    enum { MAX_AXES = 14 }; // 14 so that sizeof(PointerCoords) == 64
+    enum { MAX_AXES = 30 }; // 30 so that sizeof(PointerCoords) == 128
 
     // Bitfield of axes that are present in this structure.
     uint64_t bits __attribute__((aligned(8)));