Permalink
Browse files

G29 emulation: +/-, enter, dial up/down are conflicting #488

  • Loading branch information...
matlo committed Oct 31, 2017
1 parent b8b9423 commit 687b7613d6139ecff8b9e7414974e3867dc8e0c5
Showing with 5 additions and 5 deletions.
  1. +5 −5 shared/controller/src/g29_ps4.c
@@ -292,23 +292,23 @@ static unsigned int build_report(int axis[AXIS_MAX], s_report_packet report[MAX_
if (axis[g29Ps4a_plus])
{
g29Ps4->Buttons3 = G29_PLUS_MASK;
g29Ps4->Buttons3 |= G29_PLUS_MASK;
}
if (axis[g29Ps4a_minus])
{
g29Ps4->Buttons3 = G29_MINUS_MASK;
g29Ps4->Buttons3 |= G29_MINUS_MASK;
}
if (axis[g29Ps4a_dialUp])
{
g29Ps4->Buttons3 = G29_DIAL_UP_MASK;
g29Ps4->Buttons3 |= G29_DIAL_UP_MASK;
}
if (axis[g29Ps4a_dialDown])
{
g29Ps4->Buttons3 = G29_DIAL_DOWN_MASK;
g29Ps4->Buttons3 |= G29_DIAL_DOWN_MASK;
}
if (axis[g29Ps4a_enter])
{
g29Ps4->Buttons3 = G29_ENTER_MASK;
g29Ps4->Buttons3 |= G29_ENTER_MASK;
}
return index;

0 comments on commit 687b761

Please sign in to comment.