def simxGetUIEventButton(clientID, uiHandle, operationMode):
    '''
    Please have a look at the function description/documentation in the V-REP user manual
    '''

    uiEventButtonID = ct.c_int()
    auxValues = (ct.c_int*2)()
    ret = c_GetUIEventButton(clientID, uiHandle, ct.byref(uiEventButtonID), auxValues, operationMode)
    arr = []
    for i in range(2):
        arr.append(auxValues[i])
    return ret, uiEventButtonID.value, arr
def simxGetUIEventButton ( clientID , uiHandle , operationMode ) : uiEventButtonID = ct . c_int ( ) auxValues = ( ct . c_int * 2 ) ( ) ret = c_GetUIEventButton ( clientID , uiHandle , ct . byref ( uiEventButtonID ) , auxValues , operationMode ) arr = [ ] for i in range ( 2 ) : arr . append ( auxValues [ i ] ) return ret , uiEventButtonID . value , arr
Please have a look at the function description/documentation in the V-REP user manual