Skip to content

Commit

Permalink
Merge branch 'JasonBrownDeveloper-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory38 committed Aug 3, 2015
2 parents e010004 + c0f85de commit 7629305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/onepad/joystick.cpp
Expand Up @@ -218,7 +218,7 @@ bool JoystickInfo::Init(int id)
// Keep the 4 hat buttons too (usb driver). (left pressure does not work with recent kernel). Moreover the pressure
// work sometime on half axis neg others time in fulll axis. So better keep them as button for the moment
u32 found_hack = devname.find(string("PLAYSTATION(R)3"));
if (found_hack != string::npos) {
if (found_hack != string::npos && numaxes > 4) {
numbuttons = 4; // (select, start, l3, r3)
// Enable this hack in bluetooth too. It avoid to restart the onepad gui
numbuttons += 4; // the 4 hat buttons
Expand Down

0 comments on commit 7629305

Please sign in to comment.