logo

qmk_firmware

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

hid_display.h (551B)


  1. // Copyright 2023 zzeneg (@zzeneg)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include <stdint.h>
  4. #include <stdbool.h>
  5. typedef enum {
  6. _QWERTY = 0,
  7. _GAME,
  8. _EU,
  9. _NAV,
  10. _NUMBER,
  11. _SYMBOL,
  12. _FUNC,
  13. _SYS,
  14. } layer_number;
  15. typedef enum {
  16. _TIME = 0,
  17. _VOLUME,
  18. _LAYOUT,
  19. _MEDIA_ARTIST,
  20. _MEDIA_TITLE,
  21. } hid_data_type;
  22. void display_process_raw_hid_data(uint8_t *data, uint8_t length);
  23. void display_process_layer_state(uint8_t layer);
  24. #ifdef CAPS_WORD_ENABLE
  25. void display_process_caps_word(bool active);
  26. #endif