diff options
Diffstat (limited to 'common/mousekey.h')
| -rw-r--r-- | common/mousekey.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/common/mousekey.h b/common/mousekey.h index d8d7beaaa..6eede06b4 100644 --- a/common/mousekey.h +++ b/common/mousekey.h | |||
| @@ -52,12 +52,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 52 | #endif | 52 | #endif |
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | uint8_t mk_delay; | 55 | #ifdef __cplusplus |
| 56 | uint8_t mk_interval; | 56 | extern "C" { |
| 57 | uint8_t mk_max_speed; | 57 | #endif |
| 58 | uint8_t mk_time_to_max; | 58 | |
| 59 | uint8_t mk_wheel_max_speed; | 59 | extern uint8_t mk_delay; |
| 60 | uint8_t mk_wheel_time_to_max; | 60 | extern uint8_t mk_interval; |
| 61 | extern uint8_t mk_max_speed; | ||
| 62 | extern uint8_t mk_time_to_max; | ||
| 63 | extern uint8_t mk_wheel_max_speed; | ||
| 64 | extern uint8_t mk_wheel_time_to_max; | ||
| 61 | 65 | ||
| 62 | 66 | ||
| 63 | void mousekey_task(void); | 67 | void mousekey_task(void); |
| @@ -66,4 +70,8 @@ void mousekey_off(uint8_t code); | |||
| 66 | void mousekey_clear(void); | 70 | void mousekey_clear(void); |
| 67 | void mousekey_send(void); | 71 | void mousekey_send(void); |
| 68 | 72 | ||
| 73 | #ifdef __cplusplus | ||
| 74 | } | ||
| 75 | #endif | ||
| 76 | |||
| 69 | #endif | 77 | #endif |
