feat: add enable/disable keyboard and mouse sounds with CLI options and config file
This commit is contained in:
12 files changed
+298
-199
No files matched your search
@@ -13,6 +13,8 @@ typedef struct {
|
||||
int verbose;
|
||||
int keyboard_mute; // -1 unchanged, 0 unmute, 1 mute
|
||||
int mouse_mute; // -1 unchanged, 0 unmute, 1 mute
|
||||
int keyboard_enabled; // -1 unchanged, 0 disabled, 1 enabled
|
||||
int mouse_enabled; // -1 unchanged, 0 disabled, 1 enabled
|
||||
} CliOptions;
|
||||
|
||||
void print_usage(const char *program_name);
|
||||
|
||||
@@ -8,7 +8,7 @@ int handle_reload(const char *user_cfg_path,
|
||||
char *current_mouse_config_path, char *current_mouse_sound_dir,
|
||||
int current_mute, int current_verbose,
|
||||
int current_mouse_volume_arg, int current_keyboard_mute,
|
||||
int current_mouse_mute);
|
||||
int current_mouse_mute, int *current_keyboard_enabled, int *current_mouse_enabled);
|
||||
|
||||
#endif // KEYVIBE_RELOAD_H
|
||||
|
||||
|
||||
Reference in new issue
Block a user