forked from kofal.net/zmk
refactor(sensors): Use "sensor index" consistently
This commit is contained in:
committed by
Pete Johanson
parent
8b29f6d345
commit
3a91b32513
@@ -16,12 +16,12 @@
|
||||
#define ZMK_SENSOR_EVENT_MAX_CHANNELS 1
|
||||
|
||||
struct zmk_sensor_event {
|
||||
uint8_t sensor_position;
|
||||
|
||||
size_t channel_data_size;
|
||||
struct zmk_sensor_channel_data channel_data[ZMK_SENSOR_EVENT_MAX_CHANNELS];
|
||||
|
||||
int64_t timestamp;
|
||||
|
||||
uint8_t sensor_index;
|
||||
};
|
||||
|
||||
ZMK_EVENT_DECLARE(zmk_sensor_event);
|
||||
Reference in New Issue
Block a user