mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 07:00:30 +02:00
Add support for "none" controller mode: unplug virtual joystick and allow alternative controllers
This commit is contained in:
1 parent
171702bef4
commit
c536f0087d
12 files changed
+212
-120
No files matched your search
@@ -259,8 +259,12 @@ void TestButtons() {
|
||||
|
||||
right = {};
|
||||
left.primary = true;
|
||||
Check(RemoteButtons(left, right) == kButtonPlus, "left X is +, and nothing presses -");
|
||||
left = {};
|
||||
left.menu = true;
|
||||
Check(RemoteButtons(left, right) == (kButtonMinus | kButtonPlus), "left X and menu are - and +");
|
||||
Check(RemoteButtons(left, right) == kButtonPlus, "left menu is + too");
|
||||
left.primary = true;
|
||||
Check(RemoteButtons(left, right) == kButtonPlus, "left X and menu together are one +");
|
||||
left = {};
|
||||
left.trigger = 0.7f;
|
||||
Check(RemoteButtons(left, right) == kButtonZ, "left trigger is Z");
|
||||
|
||||
Reference in new issue
Block a user