From f472eab9becc069c5be98d676777b2ee183c96e5 Mon Sep 17 00:00:00 2001 From: "1992414357@qq.com" <1992414357@qq.com> Date: Wed, 18 Jun 2025 03:12:21 +0800 Subject: Edit documents --- README.md | 2 +- core/bindings/About_bindings.md | 5 ++++- core/bindings/lang/clang/CLang_bindings.md | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8dc257e..33c0e53 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ # The Plans - +​ 1. ... # Related Documentation diff --git a/core/bindings/About_bindings.md b/core/bindings/About_bindings.md index cdadb74..ee6af6d 100644 --- a/core/bindings/About_bindings.md +++ b/core/bindings/About_bindings.md @@ -1,4 +1,7 @@ -# Index +# About bindings + +​ `NoGamepads` provides language bindings for `C` and `C#`, enabling you to invoke its core functionality using either `C` or` C#` languages. +​ If you are working with more popular game engines, you may directly utilize our provided engine plugins, which are specifically crafted for the corresponding game engine. ## Language Bindings diff --git a/core/bindings/lang/clang/CLang_bindings.md b/core/bindings/lang/clang/CLang_bindings.md index e69de29..910e50e 100644 --- a/core/bindings/lang/clang/CLang_bindings.md +++ b/core/bindings/lang/clang/CLang_bindings.md @@ -0,0 +1,19 @@ +# No Gamepads - C Bindings + +​ To run `NoGamepads` code on the `C/C++` platform, ensure your working environment has the Rust toolchain installed. After cloning the project locally, execute the following commands in the root directory: + +```bash +# Compile Development Environment Runtime Library +cargo dev_build +cargo dev + +# Compile Release Environment Runtime Library +cargo release_build +cargo release +``` + +​ After a period of time, Cargo will automatically compile the runtime libraries and header files, and open the output folder. (If it does not open, navigate to *./export/dev/* in the root directory to view the output.) + +# Example Project + +​ To view example code demonstrating the usage of the `NoGamepads` library, navigate to the folder *./core/bindings/lang/clang/binding_example/*. \ No newline at end of file -- cgit