diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-12-27 02:19:10 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-12-27 02:19:10 +0100 |
| commit | 8069562a2f7b530cd190cf06e0d88f1350d8d41d (patch) | |
| tree | 8ced6a9073e9216fce79fb7feb144690aca35814 /src/hid.h | |
| parent | 878eb23b8394109aeb32cd505f79b96c74ec97f6 (diff) | |
| download | sxkbd-8069562a2f7b530cd190cf06e0d88f1350d8d41d.tar.gz sxkbd-8069562a2f7b530cd190cf06e0d88f1350d8d41d.zip | |
Implement more keysym functions
Diffstat (limited to 'src/hid.h')
| -rw-r--r-- | src/hid.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,8 @@ #include <stdbool.h> #include <stdint.h> +#define MACRO_HOLD_MAX 32 + #define REPORT_ID_MIN REPORT_ID_KEYBOARD enum { REPORT_ID_KEYBOARD = 1, @@ -18,4 +20,5 @@ enum { void hid_init(void); void hid_force_release(uint x, uint y); void hid_switch_layer_with_key(uint8_t layer, uint x, uint y); +void hid_send_macro(const uint32_t *keysyms, uint cnt); void hid_task(void); |
