feat: clearer config naming and docs

This commit is contained in:
Virt 2024-06-26 18:02:09 +02:00
commit 086c9a8c48
4 changed files with 80 additions and 45 deletions

View file

@ -2,11 +2,13 @@
#include <hyprland/src/plugins/PluginAPI.hpp>
#define CONFIG_ENABLED "plugin:dynamic-cursors:enabled"
#define CONFIG_LENGTH "plugin:dynamic-cursors:length"
#define CONFIG_MODE "plugin:dynamic-cursors:mode"
#define CONFIG_MASS "plugin:dynamic-cursors:mass"
#define CONFIG_FUNCTION "plugin:dynamic-cursors:function"
#define CONFIG_ENABLED "plugin:dynamic-cursors:enabled"
#define CONFIG_MODE "plugin:dynamic-cursors:mode"
#define CONFIG_THRESHOLD "plugin:dynamic-cursors:threshold"
#define CONFIG_LENGTH "plugin:dynamic-cursors:rotate:length"
#define CONFIG_MASS "plugin:dynamic-cursors:tilt:limit"
#define CONFIG_FUNCTION "plugin:dynamic-cursors:tilt:function"
#define CONFIG_HW_DEBUG "plugin:dynamic-cursors:hw_debug"
inline HANDLE PHANDLE = nullptr;