Files
Momentum-Firmware/applications/services/input/input_settings.h
Alexander Bays 3193361e49 Input Settings: Add Vibro Trigger option (#429)
* Add `Vibro Trigger` to input settings

Adds vibro trigger type to input settings to allow vibration on only
press/release, or both.

* Didn't format, apparently

* Use a mask for smaller code, migrate setting to new version

* Update changelog

---------

Co-authored-by: WillyJL <me@willyjl.dev>
2025-07-22 01:49:29 +00:00

14 lines
295 B
C

#pragma once
#include <stdint.h>
#define RECORD_INPUT_SETTINGS "input_settings"
typedef struct {
uint8_t vibro_touch_level;
uint8_t vibro_touch_trigger_mask;
} InputSettings;
void input_settings_load(InputSettings* settings);
void input_settings_save(const InputSettings* settings);