diff options
Diffstat (limited to 'include/grail.h')
| -rw-r--r-- | include/grail.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/grail.h b/include/grail.h index e2356da..d61197d 100644 --- a/include/grail.h +++ b/include/grail.h | |||
| @@ -23,9 +23,13 @@ | |||
| 23 | #ifndef _GRAIL_H | 23 | #ifndef _GRAIL_H |
| 24 | #define _GRAIL_H | 24 | #define _GRAIL_H |
| 25 | 25 | ||
| 26 | #include <linux/input.h> | ||
| 26 | #include <grail-bits.h> | 27 | #include <grail-bits.h> |
| 27 | #include <grail-types.h> | 28 | #include <grail-types.h> |
| 28 | #include <linux/input.h> | 29 | |
| 30 | #ifdef __cplusplus | ||
| 31 | extern "C" { | ||
| 32 | #endif | ||
| 29 | 33 | ||
| 30 | #define DIM_GRAIL_TYPE 64 | 34 | #define DIM_GRAIL_TYPE 64 |
| 31 | #define DIM_GRAIL_TYPE_BYTES ((DIM_GRAIL_TYPE + 7) >> 3) | 35 | #define DIM_GRAIL_TYPE_BYTES ((DIM_GRAIL_TYPE + 7) >> 3) |
| @@ -266,4 +270,8 @@ void grail_get_units(const struct grail *ge, | |||
| 266 | int grail_get_contacts(const struct grail *ge, | 270 | int grail_get_contacts(const struct grail *ge, |
| 267 | struct grail_contact *touch, int max_touch); | 271 | struct grail_contact *touch, int max_touch); |
| 268 | 272 | ||
| 273 | #ifdef __cplusplus | ||
| 274 | } | ||
| 275 | #endif | ||
| 276 | |||
| 269 | #endif | 277 | #endif |
