qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

hid_display.h (551B)


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