rebranding

This commit is contained in:
sankalp committed 2025-10-18 14:17:52 +05:45
1 parent 20b81a69dd
commit 1e9f5c784b
19 files changed
+89 -90

No files matched your search

+5 -5
View File
@@ -1,18 +1,18 @@
#ifndef KEYVIBE_CONFIG_IO_H
#define KEYVIBE_CONFIG_IO_H
#ifndef VBX_CONFIG_IO_H
#define VBX_CONFIG_IO_H
#include <stddef.h>
// Resolve user config path: returns buffer on success, NULL on failure
char *get_user_config_path(char *buffer, size_t buflen);
// Write ~/.keyvibe.json in new format
// Write ~/.vbx.json in new format
int write_user_config(const char *path, const char *keyboard_sound,
const char *mouse_sound, int keyboard_volume,
int mouse_volume, int keyboard_enabled, int mouse_enabled);
// Read ~/.keyvibe.json supporting new and legacy formats
// Read ~/.vbx.json supporting new and legacy formats
int read_user_config(const char *path, char **out_keyboard_sound,
char **out_mouse_sound, int *out_keyboard_volume,
int *out_mouse_volume, int *out_keyboard_enabled, int *out_mouse_enabled);
#endif // KEYVIBE_CONFIG_IO_H
#endif // VBX_CONFIG_IO_H