maple: std controller input mask was applied to all gamepad devices
This commit is contained in:
parent
2015d9a696
commit
e07879e43c
|
@ -79,7 +79,6 @@ struct MapleConfigMap : IMapleConfigMap
|
|||
pjs->kcode=kcode[player_num];
|
||||
if (settings.platform.system == DC_PLATFORM_DREAMCAST)
|
||||
{
|
||||
pjs->kcode |= 0xF901; // mask off DPad2, C, D and Z
|
||||
pjs->joy[PJAI_X1]=GetBtFromSgn(joyx[player_num]);
|
||||
pjs->joy[PJAI_Y1]=GetBtFromSgn(joyy[player_num]);
|
||||
pjs->trigger[PJTI_R]=rt[player_num];
|
||||
|
|
|
@ -201,7 +201,7 @@ struct maple_sega_controller: maple_base
|
|||
}
|
||||
|
||||
virtual u32 transform_kcode(u32 kcode) {
|
||||
return kcode;
|
||||
return kcode | 0xF901; // mask off DPad2, C, D and Z;
|
||||
}
|
||||
|
||||
virtual u32 get_analog_axis(int index, const PlainJoystickState &pjs) {
|
||||
|
|
Loading…
Reference in New Issue