In gfx2.ini, setting Merge_movement to >0 should help solve lag (issue 80)
for users who have a mouse with update frequency >100Hz git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@613 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
10
readini.c
10
readini.c
@@ -456,7 +456,6 @@ int Charger_INI(struct S_Config * Conf)
|
||||
goto Erreur_ERREUR_INI_CORROMPU;
|
||||
Conf->Curseur=Valeurs[0]-1;
|
||||
|
||||
|
||||
if ((Retour=Charger_INI_Reach_group(Fichier,Buffer,"[MENU]")))
|
||||
goto Erreur_Retour;
|
||||
|
||||
@@ -696,6 +695,15 @@ int Charger_INI(struct S_Config * Conf)
|
||||
if ((Valeurs[1]>=200))
|
||||
Mode_video[0].Hauteur = Valeurs[1];
|
||||
}
|
||||
|
||||
Conf->Mouse_Merge_movement=100;
|
||||
// Optionnel, paramètre pour grouper les mouvements souris (>98.0%)
|
||||
if (!Charger_INI_Get_values (Fichier,Buffer,"Merge_movement",1,Valeurs))
|
||||
{
|
||||
if ((Valeurs[0]<0) || (Valeurs[0]>1000))
|
||||
goto Erreur_ERREUR_INI_CORROMPU;
|
||||
Conf->Mouse_Merge_movement=Valeurs[0];
|
||||
}
|
||||
|
||||
fclose(Fichier);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user