Add "up stop"(Constant) to Mouse cursor speed up option
@@ -490,7 +490,9 @@ void updateInput(){
}
if(input_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R)) {
+ if(joymouseaxelratio != 1) {
joymouseaxel += 0.1 * joymouseaxelratio;
+ }
} else {
joymouseaxel += 0.1;
}
@@ -900,7 +902,7 @@ void retro_set_environment(retro_environment_t cb)
{ "np2kai_Seek_Vol" , "Volume Floppy Seek; 80|84|88|92|96|100|104|108|112|116|120|124|128|0|4|8|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76" },
{ "np2kai_BEEP_vol" , "Volume Beep; 3|0|1|2" },
{ "np2kai_joy2mouse" , "Joypad to Mouse Mapping; OFF|ON" },
- { "np2kai_j2msuratio" , "J2M Cursor Speed up Ratio; x10|x20|x1|x5" },
+ { "np2kai_j2msuratio" , "J2M Cursor Speed up Ratio; x10|x20|up stop|x5" },
{ "np2kai_joy2key" , "Joypad to Keyboard Mapping; OFF|Arrows|Keypad" },
{ NULL, NULL },
};
@@ -1181,7 +1183,7 @@ static void update_variables(void)
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
{
- if (strcmp(var.value, "x1") == 0)
+ if (strcmp(var.value, "up stop") == 0)
joymouseaxelratio = 1;
else if (strcmp(var.value, "x5") == 0)
joymouseaxelratio = 5;
