Add joystick plugin (#39)

https://github.com/sony/flutter-elinux-plugins/issues/35
This commit is contained in:
Hidenori Matsubayashi
2021-08-30 15:58:08 +09:00
committed by GitHub
parent bb10db6bdb
commit fc39cb676c
27 changed files with 1320 additions and 1 deletions
@@ -0,0 +1,23 @@
#ifndef FLUTTER_PLUGIN_JOYSTICK_PLUGIN_H_
#define FLUTTER_PLUGIN_JOYSTICK_PLUGIN_H_
#include <flutter_plugin_registrar.h>
#ifdef FLUTTER_PLUGIN_IMPL
#define FLUTTER_PLUGIN_EXPORT __attribute__((visibility("default")))
#else
#define FLUTTER_PLUGIN_EXPORT
#endif
#if defined(__cplusplus)
extern "C" {
#endif
FLUTTER_PLUGIN_EXPORT void JoystickPluginRegisterWithRegistrar(
FlutterDesktopPluginRegistrarRef registrar);
#if defined(__cplusplus)
} // extern "C"
#endif
#endif // FLUTTER_PLUGIN_JOYSTICK_PLUGIN_H_