nyx: add option to use right joycon as mouse control

`jcforceright=1` in nyx.ini enables that feature.
Useful for users with broken touch screen and broken left joycon rail.
This commit is contained in:
CTCaer
2022-03-23 00:49:47 +02:00
parent af1ece903b
commit c04d423f4b
5 changed files with 61 additions and 15 deletions

View File

@@ -271,6 +271,8 @@ skip_main_cfg_parse:
n_cfg.ums_emmc_rw = atoi(kv->val) == 1;
else if (!strcmp("jcdisable", kv->key))
n_cfg.jc_disable = atoi(kv->val) == 1;
else if (!strcmp("jcforceright", kv->key))
n_cfg.jc_force_right = atoi(kv->val) == 1;
else if (!strcmp("bpmpclock", kv->key))
n_cfg.bpmp_clock = strtol(kv->val, NULL, 10);
}