aboutsummaryrefslogtreecommitdiff
path: root/stockton-input-codegen
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:24 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:24 +0100
commitf84ec1a3e077fa0f2e9cd310b6e32e81f1bc1129 (patch)
treee6d49bbbacc9e87e97093729a9387fe779083a76 /stockton-input-codegen
parent982c053f3946b53e1d763df71e4ffcb81362e8d3 (diff)
chore(all): docs fixes
Diffstat (limited to 'stockton-input-codegen')
-rw-r--r--stockton-input-codegen/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-input-codegen/src/lib.rs b/stockton-input-codegen/src/lib.rs
index 89bbef5..35f6621 100644
--- a/stockton-input-codegen/src/lib.rs
+++ b/stockton-input-codegen/src/lib.rs
@@ -7,7 +7,7 @@ use quote::{format_ident, quote};
use syn::{parse_macro_input, Data, DeriveInput, Fields, Ident};
/// Generate an input manager for the given struct.
-/// Each button in the struct should be decorated with #[button] and each axis with #[axis].
+/// Each button in the struct should be decorated with `#[button]` and each axis with `#[axis]`.
/// Given struct MovementInputs, this will output struct MovementInputsManager which implements InputManager.
/// It also creates an enum MovementInputsFields, with values for all the buttons and axes in MovementInputs.
/// You'll need to pass in an action schema to `MovementInputsManager::new()`, which is a BTreeMap<u32, (MovementInputsFields, InputMutation)>