X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tmk_core%2Fprotocol%2Flufa%2Fadafruit_ble.h;h=5d26a9d5a3e4c9e03c0e4dbb419e4a96eb4f92ff;hb=7afae46ea6075a5410d230fb8c35eaacd1872ba2;hp=351fd55ae92e664c7a3dd7018ed8f9d333a580a2;hpb=712476cd288505cabb2ad6163d1c1ba13a7a1cca;p=qmk_firmware.git diff --git a/tmk_core/protocol/lufa/adafruit_ble.h b/tmk_core/protocol/lufa/adafruit_ble.h index 351fd55ae..5d26a9d5a 100644 --- a/tmk_core/protocol/lufa/adafruit_ble.h +++ b/tmk_core/protocol/lufa/adafruit_ble.h @@ -3,11 +3,14 @@ * Supports the Adafruit BLE board built around the nRF51822 chip. */ #pragma once -#ifdef ADAFRUIT_BLE_ENABLE +#ifdef MODULE_ADAFRUIT_BLE #include #include #include +#include "config_common.h" +#include "progmem.h" + #ifdef __cplusplus extern "C" { #endif @@ -43,7 +46,7 @@ extern bool adafruit_ble_send_consumer_key(uint16_t keycode, int hold_duration); * The parameters are signed and indicate positive of negative direction * change. */ extern bool adafruit_ble_send_mouse_move(int8_t x, int8_t y, int8_t scroll, - int8_t pan); + int8_t pan, uint8_t buttons); #endif /* Compute battery voltage by reading an analog pin. @@ -57,4 +60,4 @@ extern bool adafruit_ble_set_power_level(int8_t level); } #endif -#endif // ADAFRUIT_BLE_ENABLE +#endif // MODULE_ADAFRUIT_BLE