Move part of the input module to Cryville.Input.

This commit is contained in:
2023-05-05 00:40:51 +08:00
parent b143fb49ce
commit 0b2ea3ddbc
62 changed files with 1417 additions and 1602 deletions

View File

@@ -0,0 +1,9 @@
using System.Runtime.InteropServices;
namespace Cryville.Input.Unity.Android {
internal delegate void AndroidInputProxy_Callback(int id, int action, long time, float x, float y, float z, float w);
internal static class NativeMethods {
[DllImport("AndroidInputProxy")]
public static extern void AndroidInputProxy_RegisterCallback(int hid, AndroidInputProxy_Callback cb);
}
}