2024-06-21 13:40:57 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <hyprland/src/plugins/PluginAPI.hpp>
|
|
|
|
|
2024-06-27 17:21:39 +02:00
|
|
|
#define CONFIG_ENABLED "plugin:dynamic-cursors:enabled"
|
|
|
|
#define CONFIG_MODE "plugin:dynamic-cursors:mode"
|
|
|
|
#define CONFIG_SHAKE "plugin:dynamic-cursors:shake"
|
|
|
|
#define CONFIG_THRESHOLD "plugin:dynamic-cursors:threshold"
|
|
|
|
#define CONFIG_SHAKE_NEAREST "plugin:dynamic-cursors:shake:nearest"
|
|
|
|
#define CONFIG_SHAKE_THRESHOLD "plugin:dynamic-cursors:shake:threshold"
|
|
|
|
#define CONFIG_SHAKE_FACTOR "plugin:dynamic-cursors:shake:factor"
|
|
|
|
#define CONFIG_SHAKE_EFFECTS "plugin:dynamic-cursors:shake:effects"
|
2024-06-28 18:03:59 +02:00
|
|
|
#define CONFIG_SHAKE_IPC "plugin:dynamic-cursors:shake:ipc"
|
2024-06-27 17:21:39 +02:00
|
|
|
#define CONFIG_LENGTH "plugin:dynamic-cursors:rotate:length"
|
2024-06-29 11:06:52 +02:00
|
|
|
#define CONFIG_ROTATE_OFFSET "plugin:dynamic-cursors:rotate:offset"
|
2024-06-27 17:21:39 +02:00
|
|
|
#define CONFIG_MASS "plugin:dynamic-cursors:tilt:limit"
|
|
|
|
#define CONFIG_FUNCTION "plugin:dynamic-cursors:tilt:function"
|
2024-06-26 18:02:09 +02:00
|
|
|
|
2024-06-27 17:21:39 +02:00
|
|
|
#define CONFIG_HW_DEBUG "plugin:dynamic-cursors:hw_debug"
|
2024-06-21 16:06:55 +02:00
|
|
|
|
2024-06-21 13:40:57 +02:00
|
|
|
inline HANDLE PHANDLE = nullptr;
|
2024-06-26 17:14:16 +02:00
|
|
|
|
|
|
|
inline wl_event_source* tick = nullptr;
|