mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-28 16:58:41 +01:00
- keypress_simulator_linux: inject keyboard, mouse and media keys through /dev/uinput virtual devices (works on X11 and Wayland) - pass the key's USB HID usage over the method channel so Linux can map it to evdev codes; isAccessAllowed checks /dev/uinput write access on Linux - enable the Linux paths: scan requirements, local control, onboarding, touch positions via screen_retriever, "Run Command" - notifications: add Linux init settings, skip launch details there - prop_public: stub the APIs main now uses so a clone without the private submodule builds again Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60 lines
3.6 KiB
C++
60 lines
3.6 KiB
C++
//
|
|
// Generated file. Do not edit.
|
|
//
|
|
|
|
// clang-format off
|
|
|
|
#include "generated_plugin_registrant.h"
|
|
|
|
#include <file_selector_linux/file_selector_plugin.h>
|
|
#include <flutter_screen_capture/flutter_screen_capture_plugin.h>
|
|
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
|
|
#include <flutter_volume_controller/flutter_volume_controller_plugin.h>
|
|
#include <gamepads_linux/gamepads_linux_plugin.h>
|
|
#include <gtk/gtk_plugin.h>
|
|
#include <keypress_simulator_linux/keypress_simulator_linux_plugin.h>
|
|
#include <media_key_detector_linux/media_key_detector_plugin.h>
|
|
#include <pasteboard/pasteboard_plugin.h>
|
|
#include <screen_retriever_linux/screen_retriever_linux_plugin.h>
|
|
#include <url_launcher_linux/url_launcher_plugin.h>
|
|
#include <window_manager/window_manager_plugin.h>
|
|
|
|
void fl_register_plugins(FlPluginRegistry* registry) {
|
|
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
|
|
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) flutter_screen_capture_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterScreenCapturePlugin");
|
|
flutter_screen_capture_plugin_register_with_registrar(flutter_screen_capture_registrar);
|
|
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
|
|
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) flutter_volume_controller_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterVolumeControllerPlugin");
|
|
flutter_volume_controller_plugin_register_with_registrar(flutter_volume_controller_registrar);
|
|
g_autoptr(FlPluginRegistrar) gamepads_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "GamepadsLinuxPlugin");
|
|
gamepads_linux_plugin_register_with_registrar(gamepads_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) gtk_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "GtkPlugin");
|
|
gtk_plugin_register_with_registrar(gtk_registrar);
|
|
g_autoptr(FlPluginRegistrar) keypress_simulator_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "KeypressSimulatorLinuxPlugin");
|
|
keypress_simulator_linux_plugin_register_with_registrar(keypress_simulator_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) media_key_detector_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "MediaKeyDetectorPlugin");
|
|
media_key_detector_plugin_register_with_registrar(media_key_detector_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) pasteboard_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "PasteboardPlugin");
|
|
pasteboard_plugin_register_with_registrar(pasteboard_registrar);
|
|
g_autoptr(FlPluginRegistrar) screen_retriever_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin");
|
|
screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
|
|
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) window_manager_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
|
|
window_manager_plugin_register_with_registrar(window_manager_registrar);
|
|
}
|