Chargement de Pyodide
sgt = Signifidget(canvas, 50, 50)
def clickCallback(): log("my click") sgt.addClickInput(clickCallback)
def doubleCallback(): log("my double click") sgt.addDoubleClickInput(doubleCallback)
def longPressCallback(): log("my long press is %s"%sgt.LongPressSM.dwellToCall) sgt.addLongPressInput(longPressCallback)