(keyboard_event_apple) Hook up gamepad mapping type setting
This commit is contained in:
parent
07785ed640
commit
3282c16498
|
@ -121,9 +121,10 @@ static icade_map_t icade_maps[MAX_ICADE_PROFILES][MAX_ICADE_KEYS];
|
||||||
|
|
||||||
static bool handle_icade_event(unsigned *code, bool *keydown)
|
static bool handle_icade_event(unsigned *code, bool *keydown)
|
||||||
{
|
{
|
||||||
|
settings_t *settings = config_get_ptr();
|
||||||
static bool initialized = false;
|
static bool initialized = false;
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
unsigned kb_type_idx = 1;
|
unsigned kb_type_idx = settings->input.keyboard_gamepad_mapping_type;
|
||||||
|
|
||||||
if (!initialized)
|
if (!initialized)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue