diff options
Diffstat (limited to 'common/report.h')
| -rw-r--r-- | common/report.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/report.h b/common/report.h index 45f5c0b88..a73e0aba1 100644 --- a/common/report.h +++ b/common/report.h | |||
| @@ -78,6 +78,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 78 | # define REPORT_KEYS 6 | 78 | # define REPORT_KEYS 6 |
| 79 | #endif | 79 | #endif |
| 80 | 80 | ||
| 81 | |||
| 82 | #ifdef __cplusplus | ||
| 83 | extern "C" { | ||
| 84 | #endif | ||
| 85 | |||
| 81 | typedef struct { | 86 | typedef struct { |
| 82 | uint8_t mods; | 87 | uint8_t mods; |
| 83 | uint8_t rserved; | 88 | uint8_t rserved; |
| @@ -92,4 +97,8 @@ typedef struct { | |||
| 92 | int8_t h; | 97 | int8_t h; |
| 93 | } __attribute__ ((packed)) report_mouse_t; | 98 | } __attribute__ ((packed)) report_mouse_t; |
| 94 | 99 | ||
| 100 | #ifdef __cplusplus | ||
| 101 | } | ||
| 102 | #endif | ||
| 103 | |||
| 95 | #endif | 104 | #endif |
