[feat] display switch supported on Windows platform

This commit is contained in:
dijunkun
2025-05-15 16:37:03 +08:00
parent 5eff530ab9
commit a6beb48b1f
8 changed files with 65 additions and 22 deletions

View File

@@ -43,6 +43,8 @@ typedef struct {
typedef struct {
char host_name[64];
size_t host_name_size;
char **display_list;
size_t display_num;
} HostInfo;
typedef struct {
@@ -57,7 +59,7 @@ typedef struct {
} RemoteAction;
// int key_code, bool is_down
typedef void (*OnKeyAction)(int, bool, void*);
typedef void (*OnKeyAction)(int, bool, void *);
class DeviceController {
public: