Priest of the Order of the Butterfly
Posts: 577 from 2010/2/10
From: FRANCE
hi
I search to have interval of double click mouse of system/preferences with SDL2 (C).
I want implement this (SDL2 OS4 version) :
Code:
static Uint32
OS4_GetDoubleClickTimeInMillis(_THIS)
{
struct Preferences preferences;
Uint32 interval;
IIntuition->GetPrefs(&preferences, sizeof(preferences));
interval = preferences.DoubleClick.Seconds * 1000 +
preferences.DoubleClick.Microseconds / 1000;
dprintf("Doubleclick time %d msn", interval);
return interval;
}
If you have a little code for MorphOS to help me.
thanks you
IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
My MOS ports