Fix various MU3 input issues

Too much hurried copy-pasting.
This commit is contained in:
Tau
2019-11-03 19:55:02 -05:00
parent f76ddf2103
commit b23ff704be
2 changed files with 6 additions and 6 deletions

View File

@ -28,11 +28,11 @@ HRESULT mu3_io_poll(void)
mu3_left_btn = 0;
mu3_right_btn = 0;
if (GetAsyncKeyState(VK_F1) & 0x8000) {
if (GetAsyncKeyState('1') & 0x8000) {
mu3_opbtn |= MU3_IO_OPBTN_TEST;
}
if (GetAsyncKeyState(VK_F2) & 0x8000) {
if (GetAsyncKeyState('2') & 0x8000) {
mu3_opbtn |= MU3_IO_OPBTN_SERVICE;
}
@ -101,8 +101,8 @@ HRESULT mu3_io_poll(void)
mu3_lever_pos = lever;
xlever = mu3_lever_pos
+ xi.Gamepad.bLeftTrigger * 64
- xi.Gamepad.bRightTrigger * 64;
- xi.Gamepad.bLeftTrigger * 64
+ xi.Gamepad.bRightTrigger * 64;
if (xlever < INT16_MIN) {
xlever = INT16_MIN;