1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-05-04 15:26:29 +00:00
Files
mist-devel.mist-firmware/mist_cfg.h
newsdee 8d98a83641 [FIRMWARE} added option joystick_ignore_osd - prevents joystick from controlling OSD
Added feature to map virtual joystick state to a keyboard key (via bitmask), not working yet for shift/alt keys.
2015-06-29 03:17:17 +00:00

35 lines
544 B
C

// mist_cfg.h
// 2015, rok.krajnc@gmail.com
#ifndef __MIST_CFG_H__
#define __MIST_CFG_H__
//// includes ////
#include <inttypes.h>
#include "ini_parser.h"
//// type definitions ////
typedef struct {
uint8_t scandoubler_disable;
uint8_t mouse_boot_mode;
uint8_t joystick_ignore_hat;
uint8_t joystick_ignore_osd;
uint8_t joystick_disable_shortcuts;
} 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__