7e659851c8
* Do mapping to positions right in kscan handler, and then surface positions throughout the API.
13 lines
No EOL
435 B
C
13 lines
No EOL
435 B
C
#pragma once
|
|
|
|
int zmk_events_position_pressed(u32_t position);
|
|
int zmk_events_position_released(u32_t position);
|
|
int zmk_events_keycode_pressed(u32_t keycode);
|
|
int zmk_events_keycode_released(u32_t keycode);
|
|
int zmk_events_mod_pressed(u32_t modifier);
|
|
int zmk_events_mod_released(u32_t modifier);
|
|
int zmk_events_consumer_key_pressed(u32_t usage);
|
|
int zmk_events_consumer_key_released(u32_t usage);
|
|
|
|
// TODO: Encoders?
|
|
// TODO: Sensors?
|