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:
@@ -52,6 +52,7 @@ void set_nyx_default_configuration()
|
||||
n_cfg.verification = 1;
|
||||
n_cfg.ums_emmc_rw = 0;
|
||||
n_cfg.jc_disable = 0;
|
||||
n_cfg.jc_force_right = 0;
|
||||
n_cfg.bpmp_clock = 0;
|
||||
}
|
||||
|
||||
@@ -210,6 +211,9 @@ int create_nyx_config_entry(bool force_unmount)
|
||||
f_puts("\njcdisable=", &fp);
|
||||
itoa(n_cfg.jc_disable, lbuf, 10);
|
||||
f_puts(lbuf, &fp);
|
||||
f_puts("\njcforceright=", &fp);
|
||||
itoa(n_cfg.jc_force_right, lbuf, 10);
|
||||
f_puts(lbuf, &fp);
|
||||
f_puts("\nbpmpclock=", &fp);
|
||||
itoa(n_cfg.bpmp_clock, lbuf, 10);
|
||||
f_puts(lbuf, &fp);
|
||||
|
||||
Reference in New Issue
Block a user