process_steno.h 379 B

12345678910111213141516
  1. #ifndef PROCESS_STENO_H
  2. #define PROCESS_STENO_H
  3. #include "quantum.h"
  4. #if defined(STENO_ENABLE) && !defined(VIRTSER_ENABLE)
  5. #error "must have virtser enabled to use steno"
  6. #endif
  7. typedef enum { STENO_MODE_BOLT, STENO_MODE_GEMINI } steno_mode_t;
  8. bool process_steno(uint16_t keycode, keyrecord_t *record);
  9. void steno_init(void);
  10. void steno_set_mode(steno_mode_t mode);
  11. #endif