mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 00:56:40 -04:00
Wii: Fix mouse button order
This commit is contained in:
parent
de1a06d59f
commit
15a454c83c
@ -245,9 +245,9 @@ static void ProcessMouseInput(float delta) {
|
||||
mouse_event event;
|
||||
if (MOUSE_GetEvent(&event) == 0) return;
|
||||
|
||||
Input_SetNonRepeatable(CCMOUSE_L, event.button & 4);
|
||||
Input_SetNonRepeatable(CCMOUSE_R, event.button & 1);
|
||||
Input_SetNonRepeatable(CCMOUSE_M, event.button & 2);
|
||||
Input_SetNonRepeatable(CCMOUSE_L, event.button & 1);
|
||||
Input_SetNonRepeatable(CCMOUSE_R, event.button & 2);
|
||||
Input_SetNonRepeatable(CCMOUSE_M, event.button & 4);
|
||||
Mouse_ScrollVWheel(event.rz * 0.5f);
|
||||
|
||||
if (!vc_hooked) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user