forked from mist-devel/mist-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mist_cfg.h
45 lines (33 loc) · 861 Bytes
/
mist_cfg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// mist_cfg.h
// 2015, [email protected]
#ifndef __MIST_CFG_H__
#define __MIST_CFG_H__
//// includes ////
#include <inttypes.h>
#include "ini_parser.h"
#include "misc_cfg.h"
//// type definitions ////
typedef struct {
uint32_t keyrah_mode;
uint8_t scandoubler_disable;
uint8_t csync_disable;
uint8_t mouse_boot_mode;
uint8_t mouse_speed;
uint8_t joystick_ignore_hat;
uint8_t joystick_ignore_osd;
uint8_t joystick_disable_shortcuts;
uint8_t joystick0_prefer_db9;
uint8_t joystick_db9_fixed_index;
uint8_t joystick_emu_fixed_index;
uint8_t key_menu_as_rgui;
uint8_t reset_combo;
uint8_t ypbpr;
uint8_t keep_video_mode;
uint8_t led_animation;
} mist_cfg_t;
//// functions ////
void mist_ini_parse();
//// global variables ////
extern const ini_cfg_t mist_ini_cfg;
extern mist_cfg_t mist_cfg;
#endif // __MIST_CFG_H__