3 #include "config/parameter_group.h"
8 typedef struct osdJoystickConfig_s
{
9 bool osd_joystick_enabled
;
10 uint8_t osd_joystick_down
;
11 uint8_t osd_joystick_up
;
12 uint8_t osd_joystick_left
;
13 uint8_t osd_joystick_right
;
14 uint8_t osd_joystick_enter
;
15 } osdJoystickConfig_t
;
17 PG_DECLARE(osdJoystickConfig_t
, osdJoystickConfig
);
19 bool osdJoystickEnabled(void);
21 // 5 key osd cable simulation
22 void osdJoystickSimulate5KeyButtonPress(uint8_t operation
);
23 void osdJoystickSimulate5KeyButtonRelease(void);