keyboard: add haptic feedback

This commit is contained in:
Vladimir Stoiakin 2025-11-26 12:34:09 +03:00
parent 271cdf8534
commit 6b3477dc78
19 changed files with 211 additions and 15 deletions

View file

@ -11,6 +11,14 @@
#include "sq2lv_layouts.h"
/**
* Options related to the keyboard
*/
typedef struct {
/* If true, vibrate on key presses */
bool haptic_feedback;
} bb_config_opts_keyboard;
/**
* Options related to the theme
*/
@ -43,6 +51,8 @@ typedef struct {
* Options parsed from config file(s)
*/
typedef struct {
/* Options related to the keyboard */
bb_config_opts_keyboard keyboard;
/* Options related to the theme */
bb_config_opts_theme theme;
/* Options related to input devices */