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 committed 2020-10-20 10:21:48 +03:00
1 parent 2f5b52223c
commit dae7be8ec4
7 files changed
+29 -7

No files matched your search

+2
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;