feat: 添加按键绑定功能

This commit is contained in:
2026-04-25 05:36:50 +08:00
parent a749fc3c6c
commit 7a86eb469b
14 changed files with 495 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <zdwm/action.h>
#include "core/command_buffer.h"
#include "core/event.h"
#include "core/plan.h"
@@ -9,6 +10,7 @@
typedef struct policy_context_t {
state_t *state;
const rules_t *rules;
const zdwm_action_ctx_t action_ctx;
} policy_context_t;
/**