logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

test_pointing_device_driver.h (531B)


  1. // Copyright 2024 Dasky (@daskygit)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. void pd_press_button(uint8_t btn);
  8. void pd_release_button(uint8_t btn);
  9. void pd_clear_all_buttons(void);
  10. void pd_set_x(int16_t x);
  11. void clear_x(void);
  12. void pd_set_y(int16_t y);
  13. void pd_clear_y(void);
  14. void pd_set_h(int16_t h);
  15. void pd_clear_h(void);
  16. void pd_set_v(int16_t v);
  17. void pd_clear_v(void);
  18. void pd_clear_movement(void);
  19. void pd_set_init(bool success);
  20. #ifdef __cplusplus
  21. }
  22. #endif