- Fixed joycon-to-joycon mapping
- thanks TheZBlock
This commit is contained in:
parent
2678c8775e
commit
77913a8562
1 changed files with 6 additions and 12 deletions
|
@ -563,10 +563,8 @@ namespace BetterJoyForCemu {
|
||||||
Simulate(Config.Value("capture"));
|
Simulate(Config.Value("capture"));
|
||||||
if (buttons_down[(int)Button.HOME])
|
if (buttons_down[(int)Button.HOME])
|
||||||
Simulate(Config.Value("home"));
|
Simulate(Config.Value("home"));
|
||||||
if (buttons[(int)Button.CAPTURE])
|
SimulateContinous((int)Button.CAPTURE, Config.Value("capture"));
|
||||||
SimulateContinous((int)Button.CAPTURE, Config.Value("capture"));
|
SimulateContinous((int)Button.HOME, Config.Value("home"));
|
||||||
if (buttons[(int)Button.HOME])
|
|
||||||
SimulateContinous((int)Button.HOME, Config.Value("home"));
|
|
||||||
|
|
||||||
if (isLeft) {
|
if (isLeft) {
|
||||||
if (buttons_down[(int)Button.SL])
|
if (buttons_down[(int)Button.SL])
|
||||||
|
@ -578,10 +576,8 @@ namespace BetterJoyForCemu {
|
||||||
if (buttons_up[(int)Button.SR])
|
if (buttons_up[(int)Button.SR])
|
||||||
Simulate(Config.Value("sr_l"), false, true);
|
Simulate(Config.Value("sr_l"), false, true);
|
||||||
|
|
||||||
if (buttons[(int)Button.SL])
|
SimulateContinous((int)Button.SL, Config.Value("sl_l"));
|
||||||
SimulateContinous((int)Button.SL, Config.Value("sl_l"));
|
SimulateContinous((int)Button.SR, Config.Value("sr_l"));
|
||||||
if (buttons[(int)Button.SR])
|
|
||||||
SimulateContinous((int)Button.SR, Config.Value("sr_l"));
|
|
||||||
} else {
|
} else {
|
||||||
if (buttons_down[(int)Button.SL])
|
if (buttons_down[(int)Button.SL])
|
||||||
Simulate(Config.Value("sl_r"), false, false);
|
Simulate(Config.Value("sl_r"), false, false);
|
||||||
|
@ -592,10 +588,8 @@ namespace BetterJoyForCemu {
|
||||||
if (buttons_up[(int)Button.SR])
|
if (buttons_up[(int)Button.SR])
|
||||||
Simulate(Config.Value("sr_r"), false, true);
|
Simulate(Config.Value("sr_r"), false, true);
|
||||||
|
|
||||||
if (buttons[(int)Button.SL])
|
SimulateContinous((int)Button.SL, Config.Value("sl_r"));
|
||||||
SimulateContinous((int)Button.SL, Config.Value("sl_r"));
|
SimulateContinous((int)Button.SR, Config.Value("sr_r"));
|
||||||
if (buttons[(int)Button.SR])
|
|
||||||
SimulateContinous((int)Button.SR, Config.Value("sr_r"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (extraGyroFeature == "joy") {
|
if (extraGyroFeature == "joy") {
|
||||||
|
|
Loading…
Add table
Reference in a new issue