Camera, gamepad, key-bindings, and input smoothing sub-struct.
More...
#include "adaptive_sampler.h"
#include "app_binding.h"
#include "camera.h"
#include "gamepad_input.h"
#include <stdbool.h>
#include "app_subsystem.h"
Go to the source code of this file.
Camera, gamepad, key-bindings, and input smoothing sub-struct.
Extracted from app.h to reduce include fan-out. Named "app_input_state" to avoid collision with the existing app_input.h (AppInputContext seam, issue #204).
◆ APP_INPUT_DESCRIPTOR
◆ app_input_state_cleanup()
| void app_input_state_cleanup |
( |
AppInput * |
input | ) |
|
Release all input resources.
- Parameters
-
| input | Pointer to the input sub-struct. |
◆ app_input_state_init()
| void app_input_state_init |
( |
AppInput * |
input | ) |
|
Initialize all input sub-systems to default state.
- Parameters
-
| input | Pointer to the input sub-struct. |
◆ app_input_subsys_cleanup()
| void app_input_subsys_cleanup |
( |
struct App * |
app | ) |
|
◆ app_input_subsys_init()
| int app_input_subsys_init |
( |
struct App * |
app | ) |
|