• Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 577 from 2010/2/10
    From: FRANCE

    I search to have interval of double click mouse of system/preferences with SDL2 (C).

    I want implement this (SDL2 OS4 version) :


    static Uint32
    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
  • »29.04.20 - 21:46
    Profile Visit Website