nyx: Allow disabling of Joycon

Setting `jcdisable=1` in nyx.ini disables the usage of Joycon completely.

This also disables the BT pairing data dumping tool.
This commit is contained in:
CTCaer
2020-10-20 10:21:48 +03:00
parent 2f5b52223c
commit dae7be8ec4
7 changed files with 29 additions and 7 deletions

View File

@@ -270,6 +270,8 @@ void load_saved_configuration()
n_cfg.verification = atoi(kv->val);
else if (!strcmp("umsemmcrw", kv->key))
n_cfg.ums_emmc_rw = atoi(kv->val) == 1;
else if (!strcmp("jcdisable", kv->key))
n_cfg.jc_disable = atoi(kv->val) == 1;
}
break;