BSB Developer Docs
Loading...
Searching...
No Matches
input_common_f64.h
1
4
#pragma once
5
6
#include "input_common.h"
7
8
#include <stdint.h>
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
17
typedef
struct
{
18
InputDevice
device
;
19
union
{
20
struct
{
21
InputButton
button
;
22
InputAction
action
;
23
} button_event;
24
InputSwitchPosition
switch_position
;
25
int16_t
encoder_delta
;
26
};
27
}
InputCommonEvent
;
28
29
#ifdef __cplusplus
30
}
31
#endif
InputCommonEvent
Common declarations for the Input services.
Definition
input_common_f64.h:17
InputCommonEvent::encoder_delta
int16_t encoder_delta
Speed and direction of encoder rotation.
Definition
input_common_f64.h:25
InputCommonEvent::switch_position
InputSwitchPosition switch_position
New mode switch position.
Definition
input_common_f64.h:24
InputCommonEvent::button
InputButton button
Identifier of the button interacted with.
Definition
input_common_f64.h:21
InputCommonEvent::device
InputDevice device
Identifier of the device that emitted the event.
Definition
input_common_f64.h:18
InputCommonEvent::action
InputAction action
Button action that occurred.
Definition
input_common_f64.h:22
applications
services
input
input_common_f64.h
Generated by
1.12.0