This meta-UDA can be attached to an enum, so Fluid would recognize members of said enum as an UDA defining input
actions. As an UDA, this template should be used without instantiating.
This template also serves to provide unique identifiers for each action type, generated on startup. For example,
InputAction!(FluidInputAction.press).id will have the same value anywhere in the program.
Action types are resolved at compile-time using symbols, so you can supply any @InputAction-marked enum defining
input actions. All built-in enums are defined in FluidInputAction.
If the method returns true, it is understood that the action has been processed and no more actions will be
emitted during the frame. If it returns false, other actions and keyboardImpl will be tried until any call returns
true or no handlers are left.
This meta-UDA can be attached to an enum, so Fluid would recognize members of said enum as an UDA defining input actions. As an UDA, this template should be used without instantiating.
This template also serves to provide unique identifiers for each action type, generated on startup. For example, InputAction!(FluidInputAction.press).id will have the same value anywhere in the program.
Action types are resolved at compile-time using symbols, so you can supply any @InputAction-marked enum defining input actions. All built-in enums are defined in FluidInputAction.
If the method returns true, it is understood that the action has been processed and no more actions will be emitted during the frame. If it returns false, other actions and keyboardImpl will be tried until any call returns true or no handlers are left.