summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa/adafruit_ble.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-01-15 14:32:00 +1100
committerDrashna Jael're <drashna@live.com>2021-02-02 09:38:50 -0800
commit97b1e6faf820b82765fae3eefda9760dbc23fc19 (patch)
tree7549de0fab96a491324fbbb9ebfb206ae47dd9af /tmk_core/protocol/lufa/adafruit_ble.h
parentd909bc27657561e0c6a760c99f345528ae2667b5 (diff)
Adafruit BLE cleanups (#11556)
Diffstat (limited to 'tmk_core/protocol/lufa/adafruit_ble.h')
-rw-r--r--tmk_core/protocol/lufa/adafruit_ble.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/tmk_core/protocol/lufa/adafruit_ble.h b/tmk_core/protocol/lufa/adafruit_ble.h
index 9dfc9b4355..b43e0771d9 100644
--- a/tmk_core/protocol/lufa/adafruit_ble.h
+++ b/tmk_core/protocol/lufa/adafruit_ble.h
@@ -10,7 +10,6 @@
#include <string.h>
#include "config_common.h"
-#include "progmem.h"
#ifdef __cplusplus
extern "C" {
@@ -35,17 +34,17 @@ extern void adafruit_ble_task(void);
* this set of keys.
* Also sends a key release indicator, so that the keys do not remain
* held down. */
-extern bool adafruit_ble_send_keys(uint8_t hid_modifier_mask, uint8_t *keys, uint8_t nkeys);
+extern void adafruit_ble_send_keys(uint8_t hid_modifier_mask, uint8_t *keys, uint8_t nkeys);
-/* Send a consumer keycode, holding it down for the specified duration
+/* Send a consumer usage.
* (milliseconds) */
-extern bool adafruit_ble_send_consumer_key(uint16_t keycode, int hold_duration);
+extern void adafruit_ble_send_consumer_key(uint16_t usage);
#ifdef MOUSE_ENABLE
/* Send a mouse/wheel movement report.
- * The parameters are signed and indicate positive of negative direction
+ * The parameters are signed and indicate positive or negative direction
* change. */
-extern bool adafruit_ble_send_mouse_move(int8_t x, int8_t y, int8_t scroll, int8_t pan, uint8_t buttons);
+extern void adafruit_ble_send_mouse_move(int8_t x, int8_t y, int8_t scroll, int8_t pan, uint8_t buttons);
#endif
/* Compute battery voltage by reading an analog pin.