No space was made for Hat(s) value(s) in variable_joystick.
Would explain why hat shown by StickIt was always static neutral... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42208 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ab29dee1ed
commit
45667a941b
@ -104,10 +104,10 @@ JoystickProtocolHandler::JoystickProtocolHandler(HIDReport &report)
|
||||
}
|
||||
|
||||
|
||||
fCurrentValues.initialize(fAxisCount, 0, fMaxButton);
|
||||
fCurrentValues.initialize(fAxisCount, fHatCount, fMaxButton);
|
||||
|
||||
TRACE("joystick device with %lu buttons and %lu axes\n", fButtonCount,
|
||||
fAxisCount);
|
||||
TRACE("joystick device with %lu buttons, %lu axes and %lu hats\n",
|
||||
fButtonCount, fAxisCount, fHatCount);
|
||||
TRACE("report id: %u\n", report.ID());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user