Skip to content
Permalink
Browse files

Merge PR #2490: GlobalShortcut_win: fix XboxInput button mask in butt…

…onName().
  • Loading branch information...
mkrautz committed Aug 6, 2016
2 parents 46a05fe + 3ad420f commit 0763a3dc5b0325b2411c8324900399cb027caac1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mumble/GlobalShortcut_win.cpp
@@ -779,7 +779,7 @@ QString GlobalShortcutWin::buttonName(const QVariant &v) {
#ifdef USE_XBOXINPUT
if (g.s.bEnableXboxInput && xboxinput->isValid() && guid == XboxInput::s_XboxInputGuid) {
uint32_t idx = (type >> 24) & 0xff;
uint32_t button = (type & 0x00ffffffff);
uint32_t button = (type & 0x00ffffff);

// Translate from our own button index mapping to
// the actual Xbox controller button names.

0 comments on commit 0763a3d

Please sign in to comment.
You can’t perform that action at this time.