evdev: Add maple devices 1 and 2 to mapping & cfg
This commit is contained in:
parent
62837f4db0
commit
17d9159b82
|
@ -192,7 +192,9 @@
|
|||
mf.get_bool("compat", "axis_x_inverted", false),
|
||||
mf.get_bool("compat", "axis_y_inverted", false),
|
||||
mf.get_bool("compat", "axis_trigger_left_inverted", false),
|
||||
mf.get_bool("compat", "axis_trigger_right_inverted", false)
|
||||
mf.get_bool("compat", "axis_trigger_right_inverted", false),
|
||||
mf.get_int("dreamcast", "maple_device1", -1),
|
||||
mf.get_int("dreamcast", "maple_device2", -1)
|
||||
};
|
||||
return mapping;
|
||||
}
|
||||
|
|
|
@ -36,6 +36,8 @@ struct EvdevControllerMapping
|
|||
const bool Axis_Analog_Y_Inverted;
|
||||
const bool Axis_Trigger_Left_Inverted;
|
||||
const bool Axis_Trigger_Right_Inverted;
|
||||
const int Maple_Device1;
|
||||
const int Maple_Device2;
|
||||
};
|
||||
|
||||
struct EvdevAxisData
|
||||
|
|
Loading…
Reference in New Issue