furi-hal-bt-hid.h 642 B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. #include <stdint.h>
  3. #include <stdbool.h>
  4. /** Start Hid Keyboard Profile
  5. */
  6. void furi_hal_bt_hid_start();
  7. /** Stop Hid Keyboard Profile
  8. */
  9. void furi_hal_bt_hid_stop();
  10. /** Press key button
  11. *
  12. * @param button button code from HID specification
  13. *
  14. * @return true on success
  15. */
  16. bool furi_hal_bt_hid_kb_press(uint16_t button);
  17. /** Release key button
  18. *
  19. * @param button button code from HID specification
  20. *
  21. * @return true on success
  22. */
  23. bool furi_hal_bt_hid_kb_release(uint16_t button);
  24. /** Release all key buttons
  25. *
  26. * @return true on success
  27. */
  28. bool furi_hal_bt_hid_kb_release_all();